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 » CExtLabel do not work... Collapse All
Subject Author Date
Sujang Lee Dec 24, 2005 - 5:28 AM

http://myhome.naver.com/lsujang/example.gif


 


....


 CExtLabel m_SName;


....


 DDX_Control(pDX, IDC_S_NAME, m_SName);


.....


 


I apply CExtLabel to Static Text Control.


 


But It is Flickering and Text is not restroed when Window is overapping on that.


 


Other Controls(CExtEdit, CExtGroupBox, CExtCheckBox, CExtButton) are good work. But Only CExtLabel is not work. Help me.

Technical Support Dec 24, 2005 - 10:44 AM

It seems you forgot to specify the WS_CLIPCHILDREN style in the properties of the dialog template resource which contains the flickering label.

Sujang Lee Dec 24, 2005 - 11:11 AM

No.. I set the Clip Children Property.


 


But still Label text is effaced..


 


Plz. Check my project


 


http://myhome.naver.com/lsujang/GigaBox.zip


 


Dialog ID : IDD_M_FIND


Class : CMFindDlg


 

Technical Support Dec 24, 2005 - 12:36 PM

We have fixed the problem with unpainted labels in your project. We simply edited the dialog resources and left the source code intact. Please download the fixed version of your project. The problem was caused by an invalid TAB order of the dialog controls. The tab order of the elements inside the group box area should be less than the tab order of the group box itself.