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 General Discussion » CExtSpinWnd Collapse All
Subject Author Date
Denis Konovalov Nov 22, 2007 - 8:40 AM

I have a class CMySpinEdit derived from CExtEdit, and class CMySpin, derived from CExtSpinWnd.
A object of CMySpin is member ob CMySpinEdit and i create it automatically.
But spin control looks like default windows CSpinCtrl (3D).

Why?

Technical Support Nov 23, 2007 - 5:45 AM

The CExtSpinWnd control is compatible with CExtEdit and so you can attach it to CExtEdit. In this case, the spin will be theme-consistent. Your classes should also be theme consistent if they are derived from these two Prof-UIS classes. Otherwise, they may contain something that does not allow the Prof-UIS classes to interact with each other correctly. Our guess is that some code in your spin class prevents the painting code in CExtSpinWnd to be executed.