Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Context menu in a embedded class?
Context menu in a embedded class? [message #19528] Thu, 11 December 2008 19:23 Go to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Hi,
I have this code:

Class x:
tabdlg.dbgrid1.AddColumn("ID");
tabdlg.dbgrid1.AddColumn("Date");
tabdlg.dbgrid1.AddColumn("Value");
tabdlg.dbgrid1.AddColumn("Paid");
tabdlg.dbgrid1.ColumnWidths("0 50 50 200");
tabdlg.dbgrid1.WhenLeftDouble = THISBACK(OnAnuidDBClick);

tabdlg is a member of the class x. It is also defined in the .h of the class x like this:

class CTablDlg : public WithPaidLayout<TopWindow> {
typedef CTablDlg CLASSNAME;

public:
CTablDlg();
};

Is it possible to trap the context menu event of this dbgrid as I trap the left dbclick? How?

Thanks

Alex
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: win32 multiscreen / multimonitor problem fix
Next Topic: Printing with times new roman font?
Goto Forum:
  


Current Time: Thu May 16 14:50:09 CEST 2024

Total time taken to generate the page: 0.01713 seconds