SDK v mywechsel.ini [Exe] entry

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :( :o :shock: :? :cool: :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: (wave) :ok: (nod)
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: SDK v mywechsel.ini [Exe] entry

Re: SDK v mywechsel.ini [Exe] entry

Post by 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.

SDK v mywechsel.ini [Exe] entry

Post by 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

Top