Capturing ON_WM_CONTEXTMENU |
Post Reply |
Author | |
andrewg
Groupie Joined: 24 September 2007 Status: Offline Points: 41 |
Post Options
Thanks(0)
Posted: 05 February 2008 at 12:57pm |
Is there an easy way of capturin the ON_WM_CONTEXTMENU() in the report view? I figure the easiest way would be to derive our own custom ReportControl then set it using the SetReportCtrl() method. Just curious if there was an easier way.
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hello;
The report control sends a WM_NOTIFY with a notification code of NM_RCLICK to the parent of the control. You can catch this and display your own context menu. For a sample see Samples\ReportControl\ReportSample
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |