Can't WinActivate hBrowse window
Keywords: WinActivate hBrowse
Question:
I have created a simple script to display my company's web site in a reception area and disallow access to any other site. This uses hBrowse from the HTML dialog extender and works fine. I also need to automatically return to the home page after a period of inactivity. I use a small compiled WinBatch program to do this after renaming it to a .scr file and installing it as my screen saver. Again, no problem.Unfortunately, if the application is minimised by a user, I can't restore it to a normal state by means of WinShow. The partial window name seems to be matching the parent WIL window (which has the same name) and not the hBrowse window.
How can I do anything with the hBrowse window or can I prevent it from being minimised in the first place?
Also, I note that IntControl(47,...) doesn't seem to work with the HTML dialog extender windows.
Answer:
You could try...WinTitle("Browserwinname","other name") WinActivate("Browserwinname")This will rename one of the two windows, then the normal windows commands should work.
Article ID: W14180Filename: Cant WinActivate hBrowse Window.txt