1. Win32Lib - SetForeground/SetFocus
- Posted by Terry Constant <constant at FLASH.NET> Jun 15, 1998
- 481 views
I am using one of David's example programs for making a list as the basis for a small application. I use Macro Express, a keyboard hotkey/macro/scripting program, to launch various programs. Now for the problem. When I launch the list program from StartMenu.Run, the programs is in the foreground and has focus. The same if I double click in file manager. However, when I launch it using a hotkey, specifically Ctrl-F12 right now, the window and list are behind all other windows and the window and list do not have the focus. I cannot find in Win32Lib a procedure for explicitly putting the newly created and opened window in the foreground when it is first opened. Am I overlooking something? -- Terry Constant mailto:constant at flash.net