Joe wrote:
Is there a way to hide the title bar and/or frame of a window?  I want to get
rid of the bar with the icon, name, and close buttons, and if possible get rid
of the frame around the entire window.

If you use The GUI Loft you can easily do this by setting the Window property DialogBox to "Borderless" (it uses the class described below).


If not, you can use the class Win32::GUI::BorderlessWindow when you create your Window (it uses the technique described below). It's available in The GUI Loft source distro, in the PPM\AdHoc\lib\Win32\GUI directory.

Download here:
http://www.bahnhof.se/~johanl/perl/Loft/


Or, if you're more of a copy-paste kind of guy, set the style to

-style => 0x80000000,           #WS_POPUP

when you create your Win32::GUI::Window object.


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "The GNU Image-Finding Tool - GNU Project - F..."
http://www.gnu.org/software/gift/gift.html



Reply via email to