go ahead... be a heretic | |
PerlMonks |
Re^5: Win32::GUI: how to find BrowseForFolder()'s handle?by Anonymous Monk |
on Sep 22, 2012 at 08:00 UTC ( [id://995074]=note: print w/replies, xml ) | Need Help?? |
First some notes SSCCE (its like noise ) Here is a complete (compileable and running) code example. Thanks. I see what you're talking about now. You can fix this by removing from $window/Main Window :D That may or may not be what you want, but its a fix ;D 2. How does one find the desktop windows handles? If we could find BrowseForFolder()'s handle, we could raise it to the foreground (how?) If you wonder how it works, UTSL http://cpansearch.perl.org/src/ROBERTMAY/Win32-GUI-1.06/GUI.xs Would you look at that # -owner => WINDOW Yup, specifying -owner => $Window, does the trick (it works), no WS_EX_TOPMOST required
In Section
Seekers of Perl Wisdom
|
|