SDK v mywechsel.ini [Exe] entry

Plugin development, plugin requests, support for third party plugins, ...
CircleDock
Plugin Developer
Posts: 77
Joined: 13.06.2010 11:52:02
Contact:

SDK v mywechsel.ini [Exe] entry

Postby CircleDock » 13.10.2010 08:16:41

I'm having a problem getting my plug-in's window to remain visible when the current Desktop has switched and the following is a summary of my findings:

Using the API
DEX_COPYWINDOW - if I use this after the switch has taken place (which I believe I must), my window is not copied.

DEX_MOVEWINDOW - if I use this before the switch has taken place (which I believe is correct), the switch does not happen

Using "mywechsel.ini" - [Exe] Section
myexe.exe=sticky - this works!

myexe.exe=move - this works but only for the very first switch

myexe.exe=copy - this does not work




It seems that the only way I can get my plug-in's Window to remain visible after a switch is to use the "=sticky" option but I would much prefer to handle this via the API as there may well be times I don't want my Window to be copied.

Help!!




Mark

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: SDK v mywechsel.ini [Exe] entry

Postby Patrick » 15.10.2010 19:02:16

The API equivalent of mywechsel.ini is DEX_SETSWITCHINGEXCEPTION, which works on a per window basis. Call SendNotifyMessage(DexpotMainMenu, DEX_SETSWITCHINGEXCEPTION, YourWindowHandle, DEX_EXCEPTION_STICKY) once after your window is created.


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 3 guests