Link to home
Start Free TrialLog in
Avatar of paulnorth
paulnorth

asked on

MSFlexGrid from C++

I am using MSFlexGrid from Visual C++ 5.0.  It is in a child window NOT a dialog.  I have most of it working but I cannot figure out how to get notified of a mouse click.  The OCX overides OnLButtonDown and the others so my overide is ignored (been down that road).  I see in the VB doc that there are a number of events that you can be notified of but I don't see how to do it in C++.  The MSFlexGrid class that was inserted by Visual Studio does not contain any overidables. There is no doc for this and many other controls for C++.  I have been figuring out how to use it by trial and error and reading the VB doc which is of only limited use.  Help!  Does anyone know how to do this?  Is there any doc I don't know about?
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hakeem042997
hakeem042997

Simple. Handle the OnClickMsFlexGrid event. From classwizard trap
the event and write a handler it.
Avatar of paulnorth

ASKER

Sorry, hakeem. You can only do that if the control is in a dialog.