Alex Lee wrote:
Dear all:
Have a couple of questions, and was wondering if someone can help me out.
1) Don't know if I am phrasing this correctly, but is there a way to
create a window that stays open all the time, regardless of what is
happening? For example I would like to create a windows that locks
itself on the side of the screen, it stays open regardless of what I do,
example, open explorer, launch another application.
I think you are talking about a 'Application Toolbar' - a window kind of
like the windows taskbar, that docks to one side of the desktop, and
allows other windows to only appear in the remaining space? If so,
then it's not immediately straightforward - there is some work underway
at the moment to produce a class that will do this.
2) Is there a way to disable the ability of the user to change to size
of the window?
Try this combination of options on your window constructor (untested):
my $window = Win32::GUI::Window->new(
...
-resizable => 0,
-maximizebox => 0,
-controlbox => 0,
...
);
Regards,
Rob.
--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/