INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to skin my intf plug-in?  (Read 2498 times)

Pookus

  • Recent member
  • *
  • Posts: 19
How to skin my intf plug-in?
« on: May 21, 2005, 01:32:31 pm »

Can anyone tell me how to skin my interface plug-in?

The plug-in page displays fine, the internals are working, Init() and Terminate() are called etc. Only MC does not appear to skin my page. I know this can work, since I see that the AudioScrobbler plug-in is all neatly skinned. Can anyone point me in the right direction?

My MC version is 10.0.173.

TIA,

-Pook-
Logged

Qythyx

  • Galactic Citizen
  • ****
  • Posts: 390
Re: How to skin my intf plug-in?
« Reply #1 on: May 22, 2005, 10:08:20 pm »

I can't get my plugin to show any UI at all yet, so I can't verify this, but I believe there is some setting somewhere that is called something like "Apply Windows XP Styles". If you do that then it might help. Obviously this setting depends on you dev environment.
Logged

Pookus

  • Recent member
  • *
  • Posts: 19
Re: How to skin my intf plug-in?
« Reply #2 on: May 22, 2005, 11:20:22 pm »

Not sure what that setting is. There's nothing like it in my dev env -- I think I might be missing some basic call to EnableSkinning() perhaps. I didn't think I would *have* to call that function, but if (big if) I do have to call it, then when should I call it? I dunno, I'm a little lost on the skinning.
Logged

Qythyx

  • Galactic Citizen
  • ****
  • Posts: 390
Re: How to skin my intf plug-in?
« Reply #3 on: May 23, 2005, 08:58:55 pm »

I checked the docs and one of these might help:

Code: [Select]
void EnableSkinning(number bEnable)

Description: Enables and disabled Media Center skinning. Useful in case when MC could not skin plug-in window correctly.
Parameters:

bEnable: TRUE - enable skinning, FALSE - disable.

or

Code: [Select]
void SkinWindow(number nWindowHandle, boolean bSkin)

Description: Skins or removes skinning from the specified window.
Parameters:

nWindowHandle: handle to the specific window (convert HWND to long)
bSkin: TRUE - enables skinning of the specified window, FALSE - disables skinning for the window.
Logged

Pookus

  • Recent member
  • *
  • Posts: 19
Re: How to skin my intf plug-in?
« Reply #4 on: May 24, 2005, 08:38:16 pm »

Yeah I tried those to no avail, but then I'm not too sure *when* I should be calling those. I'll continue to prod at it, thanks.
Logged

Qythyx

  • Galactic Citizen
  • ****
  • Posts: 390
Re: How to skin my intf plug-in?
« Reply #5 on: May 24, 2005, 10:01:00 pm »

If you figure it out please explain what you did, I'm having the same problem now.
Logged

@l@n

  • Regular Member
  • World Citizen
  • ***
  • Posts: 146
  • bla bla bla, bla bla bla bla
Re: How to skin my intf plug-in?
« Reply #6 on: July 17, 2005, 04:11:06 pm »

Did anyone make any headway with this issue?

I'd sure like to skin aTagger.

Thanks...  @l@n
Logged
Download the aLyrics plug-in at http://aLyrics.auldridge.biz
Pages: [1]   Go Up