<http://forum.pspad.com/read.php?f=2&i=12625&t=12597> 
----------------------------------------------------------------

Click on PSPad beta.link on Quick Launch, double click link on desktop,
double click on PSPad.exe in Explorer or other filemanager.
In wine emulator, I'm typing "wine PSPad.exe" and the same efect - if
of course "Only one instance" checked.
May I sugest sth :start:
        invoke FindWindow, ADDR TxtClassName, NULL
        .if eax != 0
                push eax
                invoke ShowWindow, eax, SW_RESTORE
                pop eax
                invoke SetForegroundWindow, eax
               invoke ExitProcess, FALSE
        .endif - that's my way to run only one instance - it's Masm32
assembler, but WinAPI Functions are the same (I see that you use Class
Name "TfPSPad")... Maybe it helps...

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to