dombmark
asked on
How do I override arrow keys in CListCtrl?
I'm using VC++ 5.0 and am stumped again.
I have a DAOrecordview class linked to a dialog I constructed in the dialog editor. Inside this dialog is a
I have a DAOrecordview class linked to a dialog I constructed in the dialog editor. Inside this dialog is a
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What I ended up doing was to get a pointer to the mainframe and then using that mainfrm pointer to GetActiveView. I then did RUNTIME_CLASS processing to identify which view was currently active. Once I had the active view I implemented a series of if, else if statements each one for the specific view I wanted to process. This arrangement allowed me to do what I wanted to do.
Of particular help in this process was article ID 108587 from the Microsoft Knowledge Base (HOWTO: Get current CDocument or CView from anywhere)
Thanks for the help!