View previous topic :: View next topic |
Author |
Message |
PaulMather
Joined: 19 Sep 2017 Posts: 10 Location: Nottingham
|
Posted: Thu Jun 07, 2018 5:24 pm Post subject: BringWindowToTop |
|
|
My program contains the following line:
OK=BringWindowToTop(main_window_handle)
Slink says BringWindowToTop is missing.
It didn't seem to have any effect on the runtime behaviour of the program, but I do recollect seeing some correspondence about the routine, perhaps in this forum (yes, I've done several searches without finding anything. I guess that my program is not trying to execute this statement because the user has chosen a series of options that do not require BringWindowToTop but I won't always be so lucky. Is there any other way of bringing a window to the top of the pile?
Thanks for reading this
Paul Mather |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Thu Jun 07, 2018 8:19 pm Post subject: |
|
|
BringWindowToTop is declared, for example, via INCLUDE <WIN32API.INS>. You could alternatively use WINDOW.INS or one of the equivalent modules. |
|
Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2402 Location: Yateley, Hants, UK
|
Posted: Thu Jun 07, 2018 10:49 pm Post subject: |
|
|
Just a reminder that %ww[topmost] keeps the window on top, as distinct from bringing a window to the top, if that's any help.
Eddie |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Mon Jun 11, 2018 5:48 am Post subject: |
|
|
I am guessing that the call was just commented out.
p.s. Edited comment - it's British summer time so not quite so early as it seems. |
|
Back to top |
|
 |
|