General information
Category:
Coding, syntax & commands
That seems to make the window want to come up. I can see the reference on the taskbar is blinking, but it doesn't bring it up in front. I actually used the example substituting the correct caption, but still no go. Do I need anymore besides:
DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,"PrISM for Windows")
=SetForegroundWindow(hWnd)
>See API #12643 in the API section (set foregroundwindow)
>Is there any way to force an application to the front of the screen. We have two main executables that people run, and if they double click, or click twice on a button to run the second executable, the first one comes up front and the called executable is open but behind the calling executable. I've tried setting the ZOrder on the _Screen object as well as on the splash screen that comes up, but nothing seems to force it up. I've even got a timer on the splash screen so that it continually tries to come to the front and no dice. Didn't know if someone else had run into this before.
>
>And as always, any help would be much appreciated.
>
>John Rowlinson
>Microworks POS Solutions
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only