Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtWSGripper not conforming with MFC Collapse All
Subject Author Date
Offer Har Jan 4, 2007 - 10:25 AM

Dear Support,

I am trying to run over all controls in a dialog, but i would like to leave the CExtWSGripper untouched.
I tried using IsKindOf(RUNTIME_CLASS(CExtWSGripper)), without success.

I looked into the declaration of this class, and it is missing a DECLARE_DYNCREATE macro, and that’s why i cannot get the run-time class type of it.

From the MSDN help:

"RUNTIME_CLASS returns a pointer to a CRuntimeClass structure for the class specified by class_name. Only CObject-derived classes declared with DECLARE_DYNAMIC, DECLARE_DYNCREATE, or DECLARE_SERIAL will return pointers to a CRuntimeClass structure."

Please fix this problem ASAP.

Thanks,
Ron.

Technical Support Jan 5, 2007 - 7:06 AM

Than you for your suggestion. We added the DECLARE_DYNCREATE and IMPLEMENT_DYNCREATE macro for the CExtWSGripper class. Please note you can also determine the type of a control by its class name. For the CExtWSGripper the class name is ProfUIS-SizeGripper.