I have an exGrid into a property page ( I am using Visual C++ ) and when I use OleCreatePropertyFrame method the property page is not opened. What I am doing wrong?
By default, your property page is derived from CDialogImpl class. The Activate method of the IPropertyPageImpl class calls CreateDialogParam method that’s not able to handle CONTROL tags in the resource file. In order to get a fix for that your property page object should derive from the CAxDialogImpl class instead CDialogImpl. The AtlAdviseSinkMap method should be called in OnInitDialog method, if you want to handle events using BEGIN_SINK_MAP, SINK_ENTRY and END_SINK_MAP macros.
Related Questions
- I have an exGrid into a property page ( I am using Visual C++ ) and when I use OleCreatePropertyFrame method the property page is not opened. What I am doing wrong?
- The trimmed view is selected under Display, but it doesn’t appear to be displaying the trimmed page. Am I doing something wrong?
- The videos on the Travstock page don download. Am I doing something wrong?