Moving QCD & detecting skin change [Archive] - Quintessential Forum

PDA

View Full Version : Moving QCD & detecting skin change


Tokelil
02-08-2004, 10:23 PM
I was wondering if it is somehow possible to move QCD+all extentions from a plug-in? (I can move the main window, but playlist etc. isn't moved)

I was also wondering if there is a good way to sense when a skin is changed? Maybe a message is sent or a combination of messages that I could look at through subclassing?

Tokelil
06-17-2004, 12:53 AM
Just started working on this old plug-in again where I kind of need to move the player from the plug-in. I found out how to move all extentions with MoveWindow, but that didn't help much since QCD is moved back on redraw. :-/

Anyone has ideas on maybe a combination of messages to send?

plover
06-17-2004, 03:51 AM
I don't know anything about moving the player, but I do know something about detecting skin changes.

For vis plugins, the plugin gets shut down and re-started when the skin is changed. If this is also true for the type of plugin you are working on, then you can just detect the current skin when the plugin is initialized.

Vis plugins cannot subclass the player process without causing a crash, but some other plugin types can subclass the player just fine (I don't know which ones though). If your plugin can subclass the player then you can set it up to catch message 0x8008, which is the internal message code QCD uses to indicate a skin change.

If neither of these works, I suggest bugging Paul... http://beta.quinnware.com/forum/images/emots/grin.gif

Tokelil
06-17-2004, 10:35 AM
I think I figured out how to sense the skin change through subclassing back when I wrote the first post. (Got stuck on the plug-in back in february so cant really remember) Thanks for the help anyway.