Posted: Tue Jan 29, 2008 1:03 pm
That doesnt seem to work for me. The window stays in the back. And as you mentioned, the ForceFore() solution also doesnt work. Any other solutions?rsts wrote:Ok - several months back in an semi-major code update, forcefore stopped working the way I needed it to.
Here's the routine I ended up using as a replacement, after quite a bit of trial and error. It may be somewhat unique to my circumstance that this works where forcefore didn't. I'm not trying to fault forcefore at all. It worked fine for me before I made the changes.
cheersCode: Select all
ShowWindow_(WindowID(#window_0),#SW_SHOWNORMAL| #SW_RESTORE) SetWindowPos_(Handle, #HWND_TOPMOST, 0,0,0,0, #SWP_SHOWWINDOW |#SWP_NOMOVE | #SWP_NOSIZE) Sleep_(250) SetWindowPos_(Handle,-2,0,0,0,0,#SWP_NOSIZE|#SWP_NOMOVE)