[EMAIL PROTECTED] wrote:
I'm trying to create a window that will show up on the right side of my
screen and always be visible.
$MainWin = new Win32::GUI::Window(
-name => "MainWin",
-pos => [1240,0],
-size => [40,990],
-maxsize => [40,990],
-minsize => [40,990],
-pushexstyle => WS_EX_TOPMOST && WS_EX_TOOLWINDOW,
You probably mean
-pushstyle => WS_EX_TOPMOST | WS_EX_TOOLWINDOW,
although
-topmost => 1,
-toolwindow => 1,
is easier.
);
The problem I'm having is that when I maximize the window of any other
application it has part of it hidden by this window, usually the scroll
bar. Is there an option to set so that anytime I maximize another
window it will take up the entire screen minus this window?
I'm sure there is, but don't know how myself. Perhaps someone else can
shed some light?
Regards,
Rob.
--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/