CXTPReportRecordItemControl & Modal Dialog |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 21 December 2009 at 8:53am |
Hello,
I've a Button CXTPReportRecordItemControl. And i will open a Modal Dialog after click this ItemControl. Dialog is open, but does not receive some mouse actions. Because CXTPReportRecordItemControlHookWnd eats all. How can i solve this ? Jimmy |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Like this: void CReportItemControlsDlg::OnItemButtonClick(NMHDR * pNotifyStruct, LRESULT*) { XTP_NM_REPORTITEMCONTROL* pItemNotify = (XTP_NM_REPORTITEMCONTROL*) pNotifyStruct; if (!(pItemNotify->pRow && pItemNotify->pItem && pItemNotify->pItemControl)) return; ReleaseCapture(); CMyDlg dlg; if (dlg.DoModal() != IDOK) return; |
|
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 |