I did read the MDSN, I just didn't realize that was meant by the "System
Menu".  Now I know :-)

I was trying to make it too difficult.  What I needed was to do SysMenu(0)
to remove the menu.  I was used to being able to do this in VB by setting
the Visible property to true or false.

I've attached the updated code.

Brian Millham
This message traveled at least 44,000 miles to reach you!
Creator of the DW6000 Monitor
http://www.millham.net/dw6000
[EMAIL PROTECTED] 

-----Original Message-----
From: Glenn Linderman [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 04, 2006 8:02 PM
To: Brian Millham
Cc: 'Jeremy White'; [EMAIL PROTECTED];
perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [win32gui] [perl-win32-gui-users] Hiding/showing the title bar
on a window

So you've just learned by experimentation rather than reading MSDN that 
"WS_SYS_MENU" is _not_ the application menu, but rather the system menu 
found by clicking the icon in the upper left corner of most windows... 
or by the keystroke Alt-Space...

On approximately 2/4/2006 4:37 PM, came the following characters from 
the keyboard of Brian Millham:

> I agree that it would be a great idea to have a sample code repository, or
> include them in the examples.
> 
> Now, another problem.  I'm working on enhancing this idea to include
having
> a menu bar that also disappears/appears along with the title bar.
> 
>>From what I can find, using -popstyle => (WS_CAPTION | WS_SYSMENU) should
> remove both from the window.  However, the menu is left behind.  I tried
> just removing the menu using -popstyle => WS_SYSMENU and the menu stays,
but
> the Icon in the title bar disappears.  This looks to be a bug to me.
> 
> I've attached the latest version with the attempt to remove both the menu
> and the titlebar.
> 
> 
> Brian Millham
> This message traveled at least 44,000 miles to reach you!
> Creator of the DW6000 Monitor
> http://www.millham.net/dw6000
> [EMAIL PROTECTED] 
> 
> -----Original Message-----
> From: Jeremy White [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 03, 2006 4:02 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: perl-win32-gui-users@lists.sourceforge.net
> Subject: RE: [win32gui] [perl-win32-gui-users] Hiding/showing the title
bar
> on a window
> 
> Nice examples - is there a plan to have a repository of some sort, so that

> these examples could be stored? Perhaps they should be included in the 
> examples?
> 
> Just wondering:)
> 
> Cheers,
> 
> jez.
> ---
> avast! Antivirus: Inbound message clean.
> Virus Database (VPS): 0605-4, 02/01/2006
> Tested on: 2/3/2006 4:08:14 AM
> avast! is copyright (c) 2000-2003 ALWIL Software.
> http://www.avast.com
> 
> 
> 
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 0606-0, 02/04/2006
> Tested on: 2/4/2006 7:37:25 PM
> avast! is copyright (c) 2000-2003 ALWIL Software.
> http://www.avast.com
> 
> 
> 
>   

-- 
Glenn -- http://nevcal.com/
===========================
Having identified a vast realm of ignorance, Wolfram is saying that much
of this realm lies forever outside the light cone of human knowledge.
                           -- Michael Swaine, Dr Dobbs Journal, Sept 2002
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0606-0, 02/04/2006
Tested on: 2/4/2006 10:31:32 PM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



  

Attachment: hover.pl
Description: Binary data

Reply via email to