viswanathat
asked on
Custom control in a Dll dialog.
I have a custom control (MFCGridCtrl) working well in a dialog of Appwizard exe.
If i add the same in a dialog of Extention dll, and calling the dialog from the exe, the dialog is not launching.
Even if you add simply a custom control to a dll dialog, without adding any code, the dialog is not launching from the exe.
How to get the custom control work for a dialog.?
the style and all are correct.
Regards..
Viswanath AT.
If i add the same in a dialog of Extention dll, and calling the dialog from the exe, the dialog is not launching.
Even if you add simply a custom control to a dll dialog, without adding any code, the dialog is not launching from the exe.
How to get the custom control work for a dialog.?
the style and all are correct.
Regards..
Viswanath AT.
Try to use call AFX_MANAGE_STATE(AfxGetSta ticModuleS tate()); from your dialog dll MFC related methods. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_afx_manage_state.asp for more info.
acccept
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.