in reply to Re^4: Win32::GUI: how to find BrowseForFolder()'s handle?
in thread Win32::GUI: how to find BrowseForFolder()'s handle?
First some notes SSCCE (its like noise )
The code piece was just a code snippet, to illustrate the problem.
But you see, it did not illustrate the problem.
Even if I went and made it compile, it still did not show the problem.
You have to show how it doesn't work , just saying it doesn't work for getting solutions :)
Obviously in the OP it was not intended as a complete program. (See new code example below).
Hmm, if it was obvious, why insist the code compiles fine?
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-addexstyle => WS_EX_TOPMOST,
: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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Win32::GUI: how to find BrowseForFolder()'s handle?
by HelenCr (Monk) on Sep 22, 2012 at 11:52 UTC | |
by Anonymous Monk on Sep 22, 2012 at 23:33 UTC |