![]() |
RowLClick or RowClick, double click |
Post Reply ![]() |
Author | |
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() Posted: 12 July 2015 at 7:13am |
Why there is no RowLClick or RowClick Event? When I try to use a simple left mouse click Event, then I have to use the MouseUp Event. But this Event will also fired, if a user doubble click a row!
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
Romonaga ![]() Newbie ![]() Joined: 16 July 2015 Location: Chicago Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
I was able to trap mouse clicks using these NOTIFY messagaes.
ON_NOTIFY(NM_DBLCLK, IDC_DOMGRID, OnReportLDblClick) ON_NOTIFY(NM_RCLICK, IDC_DOMGRID, OnReportRightClick) ON_NOTIFY(NM_CLICK, IDC_DOMGRID, OnReportLeftClick) ON_NOTIFY(XTP_NM_REPORT_LBUTTONDOWN, IDC_DOMGRID, OnReportLButtonDown) Example of how to get the ROW and COLUMN int row = 0; int col = 0; XTP_NM_REPORTRECORDITEM *pItemNotify = reinterpret_cast<XTP_NM_REPORTRECORDITEM*>(pNotifyStruct); if(pItemNotify->pRow != NULL && pItemNotify->pColumn != NULL) { row = pItemNotify->pRow->GetIndex(); col = pItemNotify->pColumn->GetIndex(); if(col == ytDOMLimit || col == ytDOMStop) { } } |
|
![]() |
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 |