From: Johan L. <jp...@bo...> - 2001-05-04 17:05:37
|
Dave wrote: >I'm trying to get a window to not display in the taskbar, and I'm unable >to do so without negative side effects. (i.e. the window not properly >redrawing, or the window becoming a toolbar-esque window.) Anyone know how >I could get around this? I've been using, of course, SetWindowLong with >the appropriate constants. This was discussed some time ago on the list. What we figured out then was that creating a window with a -parent => $winParent will make the new window a child window. It will stay on top of the parent window and it will not be displayed in the task bar. I'm not sure how to do it without having a window already, but maybe it's possible to make it a child of e.g. the desktop hwind or something else. Just a thought. BTW, how did you go about for getting a toolbar-esque window? Because that's something I'm doing right now :) My current solution is to create a window like this: $hOption{-style} = 0x00C00000 | #WS_CAPTION 0x80000000 | #WS_POPUP 0x00800000 | #WS_BORDER 0; Win32::GUI::Window->new(%hOption); /J -- Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua jp...@bo... |