I forgot to attach the code. (I always seem to do that :-)

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: Brian Millham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 01, 2006 7:04 PM
To: '[EMAIL PROTECTED]'
Subject: Hiding/showing the title bar on a window

Hi all,
I'm playing with creating a normal window that only shows the titlebar when
the mouse is over the window. (The code is based on hover code that Rob sent
yesterday)

The titlebar seems to be removed logically, but not on the screen.  If you
move the mouse over the window, and then back out, the titlebar buttons
(minimize, maximize and close) no longer work.  If you resize the window,
the titlebar disappears.  It does not appear when the mouse is over the
window.

I've tried using InvalidateRect(1) to force a redraw of the window, but this
doesn't work.

Any ideas, or am I trying to take a simple approach to a more complicated
problem.

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] 

---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0605-4, 02/01/2006
Tested on: 2/1/2006 7:04:09 PM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0605-4, 02/01/2006
Tested on: 2/1/2006 7:34:55 PM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



  

Attachment: hover.pl
Description: Binary data

Reply via email to