|Project:||The Open Toolkit library|
In my application, I am using an userControl inherited from GLControl ( MyChartGL : GLControl ). by overriding the OnPaint() of this control I am drawing graphs.
I need a context menu in the chart window ( MyChartGL is filled in my form and hence i dont have any blanks space left). The issue is that even though the context menu is shown, as I am overriding the OnPaint(), the menu gets cleared. To make it sure, I kept a blank space above my 'MyChartGL ' control and tried. Menu's upper half which is outside the control are remains , but the menu's lower part which came inside the 'MyChartGL ' control got vanished. Can any one please advise me how to handle this issue?