![]() |
report control in dialog |
Post Reply
|
| Author | |
kangcorn
Newbie
Joined: 02 December 2005 Location: Korea, South Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: report control in dialogPosted: 08 December 2005 at 10:10pm |
|
I have 1 report control in dialog. I do not receive message from report control. (click, double click message....) XXXDlg.h file message map declare. protected: afx_msg void OnReportItemClick(NMHDR *pNotifyStruct, LRESULT *result);
XXXDlg.cpp file BEGIN_MESSAGE_MAP(CEventLogDlg, CBkColorDlg) ON_NOTIFY(NM_CLICK, XTP_ID_REPORT_CONTROL, OnReportItemClick) END_MESSAGE_MAP() void CEventLogDlg::OnReportItemClick(NMHDR *pNotifyStruct, LRESULT * /*result*/) // todo: ... } Why not receive the message from report control?
2. size gripper problem. I changed background color of dialog in WM_ERASEBKGND and WM_CTLCOLOR. What should I do? thanks.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 December 2005 at 12:07am |
|
1. May be you subclassed it from static control that has no "Notify" style?
2. I think WM_CTLCOLOR not supported for it :( |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |