2 Apr 2006 22:30
Re: WM_MOUSEMOVE in subclassed control
So close, the mouse wheel is working now. But I find
COMMAND_CODE_HANDLER(STN_CLICKED, STNClicked)
is only caught in the parent window (which I think makes sense
becasue doesn't the child send it?)
So maybe I'm looking for the wrong message. Is there a better one to
catch a clicked message in the child control?
Thanks again
David
--- In wtl@..., "Nenad Stefanovic" <nenads <at> ...> wrote:
>
> Hi David,
>
> Mouse wheel messages go to the control that has the focus - maybe
your
> static control doesn't have the focus?
>
> STN_CLICKED notification comes with WM_COMMAND, not WM_NOTIFY, so
you
> need to use COMMAND_CODE_HANDLER.
>
> Cheers,
> Nenad
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> To unsubscribe from this group, send an email to:
wtl-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
RSS Feed