Hi, I have my application minimized on the tray bar. When the user presses a combination of keys the application maximizes.
I want the window to appear on the top of the desktop, over any other application running (for example Explorer, Word, etc).
Before I maximize the application I wrote:
SetForegroundWindow(Application.Handle);
sometimes it works but other times the application appears behind the other applications
Any suggestions?
Thanks
I want the window to appear on the top of the desktop, over any other application running (for example Explorer, Word, etc).
Before I maximize the application I wrote:
SetForegroundWindow(Application.Handle);
sometimes it works but other times the application appears behind the other applications
Any suggestions?
Thanks