|
-
November 4th, 2000, 11:42 AM
#1
CListControl
Hi,
I've inherited CMyListCtrl from, CListCtrl amd I'm tiring to process
notification message from header control that it was clicked.
I’ve subclassed CListControl with CMyListCtrl in dialog, but I never got into this notification message. Property noheadersort do not checked.
What am I doing wrong.
Any help really appreciated.
BEGIN_MESSAGE_MAP(CMyListCtrl , CListCtrl)
//{{AFX_MSG_MAP(CMyListCtrl )
ON_NOTIFY_REFLECT(HDN_ITEMCLICK, OnItemclick)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
void CSortListCtrl::OnItemclick(NMHDR* pNMHDR, LRESULT* pResult)
{
HD_NOTIFY *phdn = (HD_NOTIFY *) pNMHDR;
.............
*pResult = 0;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|