CXTPReportRecordItemButton & selection |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 12 January 2010 at 8:53am |
Hello,
How can i select a row, if i click on a CXTPReportRecordItemButton button ? Jimmy |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
XTP_NM_REPORTITEMCONTROL nm; ::ZeroMemory(&nm, sizeof(nm));nm.pItem = pClickArgs->pItem; nm.pRow = pClickArgs->pRow; nm.pColumn = pClickArgs->pColumn; nm.pt = pClickArgs->ptClient; nm.pItemControl = this;pClickArgs->pControl->SendNotifyMessage(XTP_NM_REPORT_ITEMBUTTONCLICK, (NMHDR*)&nm); |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Hi,
no simulate a button click. OnLButtonBown SelectRow... (now it is select, if you don't click on a item control.) i'll also select the row on click a item control. Jimmy |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
call ReportControl SetFocusedRow(...);
|
|
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 |