rahul
2011-05-09 09:42:43 UTC
I have CWnd derived class which works as container
This Container has some items (which works as button, items are not
CWnd derived, it just paints itself on container, it keeps pointer to
container).
On WM_LBUTTONDOWN on item, item send WM_COMMAND to container.
Problem is : When I get WM_LBUTTONDOWN on part of container which work
as
item, I Send WM_COMMAND, but than I don't get WM_LBUTTONUP message.
(Even in PretranslateMsg() WM_LBUTTONUP doesn't comes).Why??
This Container has some items (which works as button, items are not
CWnd derived, it just paints itself on container, it keeps pointer to
container).
On WM_LBUTTONDOWN on item, item send WM_COMMAND to container.
Problem is : When I get WM_LBUTTONDOWN on part of container which work
as
item, I Send WM_COMMAND, but than I don't get WM_LBUTTONUP message.
(Even in PretranslateMsg() WM_LBUTTONUP doesn't comes).Why??