Silverfrost Forums

Welcome to our forums

BringWindowToTop

7 Jun 2018 4:24 #22203

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

7 Jun 2018 7:19 #22204

BringWindowToTop is declared, for example, via INCLUDE <WIN32API.INS>. You could alternatively use WINDOW.INS or one of the equivalent modules.

7 Jun 2018 9:49 #22205

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

11 Jun 2018 4:48 #22209

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.

Please login to reply.