Disabled static text color |
Post Reply |
Author | |
bsil
Groupie Joined: 08 March 2010 Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 17 August 2010 at 7:43am |
Hi
I want to set the text color for disabled static text,
Please guide which property need to be modified
|
|
Product: Xtreme SkinFramework
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0, Visual C++ 6.0, VB.NET 2.0 |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Hello,
in the windows static control is a bug. if you disable the static text, WM_PAINT is not call. the static control would paint it directly. my solution for this, is to add in the WM_ENABLEWINDOW message OnEnableWindow(BOOL bEnable) { if (bEnable == FALSE) { LockWindowsUpdate(GetSafeHwnd()); __super::OnEnableWindows(bEnable); UnlockWindowsUpdate(GetSafeHwnd()); Invalidate(TRUE); } } Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Did you try change GrayText property from Sysmetrics ? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |