Re: Another Window 7
- Posted by AndyDrummond May 13, 2011
- 1431 views
In Win32Lib there is a procedure moveZOrder(win, HWND_TOPMOST). This can be used to set that a window win is shown - well, topmost. I use it with no bothers. I don't know if you use Win32Lib or, if not, whether you can crop the relevant bit of code. Best advice I can offer, Don. I copied this from the Win32Lib docs:
[proc] moveZOrder ( integer id, atom ztype) Move id to up or down the of Z order of windows. Category: Attributes ztype can be one of HWND_TOP, HWND_BOTTOM, HWND_TOPMOST or HWND_NOTOPMOST, or another control id. In the latter case, id will appear in front of ztype. Example: -- change the order of this window. moveZOrder( msgWindow, HWND_TOPMOST) -- move id in front of id2 moveZOrder( id, id2)