Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - CXTPReportRecordItemControl & Modal Dialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPReportRecordItemControl & Modal Dialog

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: CXTPReportRecordItemControl & Modal Dialog
    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

Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2009 at 11:29am

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;

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.