Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Junghoon Ahn
|
Sep 5, 2003 - 8:16 PM
|
I want to catch the WM_LBUTTONUP message of custom contorl..
In detail..
My custom control is Option COptionTree.(http://www.codeproject.com/treectrl/coptiontree.asp)
It has the COptionTreeItemColor which is the subitem of COptionTree.
So, i want to catch the WM_LBUTTONUP mouse taking place on the COptionTreeItemColor.
But your CExtResizableDialog class can not catch the any mouse message..
Can you help me.. ??
I link my project file in www.ahnjunghoon.com..
How can i do??
and My e-mail address is emycall@ahnjunghoon.com..
|
|
Sergiy Lavrynenko
|
Sep 18, 2003 - 11:40 AM
|
Hi,
Sorry for the delay with this answer.
There are no confilicts between CExtResizableDialog and any custom-drawn controls. To handle the mouse message in question, you should use your own class derived from the third-party tree control and implement handler(s) for the WM_LBUTTONDOWN and/or WM_LBUTTONUP windows message(s). First, please analyze where user clicked the mouse button (i.e. hit-testing). Then you should perform your specific actions and/or call the parent’s message handler method.
Best regards, Sergiy.
|
|