SS_NOTIFY and mouse clicks
- Posted by "Andy Drummond" <andy at kestreltele.com> Nov 08, 2004
- 494 views
This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C4C597.DB8C11E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I am using static controls with the SS_NOTIFY style to draw myself some fancy special controls. It works fine but I get a w2HClick handler call for both the "click" and "unclick" events, and I can't find any way to differentiate one from the other. I am using a simple toggle which is not far off what I want but it is pretty easy to fool it. Can anyone tell me either how to respond only to "click" events or to tell if the mouse button is down or up? I have looked in the Win32Lib docs but can't find either .... Andy Drummond ------=_NextPart_000_0004_01C4C597.DB8C11E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2523" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I am using static controls with the SS_NOTIFY style to draw myself some fancy special controls.</FONT></DIV> <DIV><FONT face=Arial size=2>It works fine but I get a w2HClick handler call for both the "click" and "unclick" events, and I can't find any way to differentiate one from the other. I am using a simple toggle which is not far off what I want but it is pretty easy to fool it.</FONT></DIV> <DIV><FONT face=Arial size=2>Can anyone tell me either how to respond only to "click" events or to tell if the mouse button is down or up? I have looked in the Win32Lib docs but can't find either ....</FONT></DIV> <DIV><FONT face=Arial size=2>Andy Drummond</FONT></DIV> <DIV> </DIV></BODY></HTML> ------=_NextPart_000_0004_01C4C597.DB8C11E0--