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
SDK v mywechsel.ini [Exe] entry
-
- Plugin Developer
- Posts: 77
- Joined: 13.06.2010 11:52:02
- Contact:
Re: SDK v mywechsel.ini [Exe] entry
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.
Who is online
Users browsing this forum: No registered users and 11 guests