Link error.
Which lib do I have to use?
Thanks in advance
Otto
Link error.
Which lib do I have to use?
Thanks in advance
Otto
DLL32 FUNCTION SETFOREGROUNDWINDOW( hWnd AS LONG ) AS BOOL;
PASCAL FROM "SetForegroundWindow" LIB "user32.dll"Thank you.
ShowWindow(hWnd,9)
setFocus(hWnd)
SETFOREGRO(hWnd)
This works fine but not with VISTA.
If the WINDOW is MINIMIZED ShowWindow(hWnd,9) does not work.
Regards
Otto
It seems a bug in Windows Vista. It is Microsoft responsibility to correctly implement their Windows API. ![]()
EMG
Thank you Enrico,
sure you are right - but no one would to believe us.
Regards
Otto
Otto,
If you provide a reduced and self contained PRG sample, then we will be able to quickly compile it and test it and offer you a solution for it. Thanks,
Here we are: