Print Page | Close Window

Edit control background + Vista

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=11556
Printed Date: 17 June 2024 at 8:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Edit control background + Vista
Posted By: palaksha
Subject: Edit control background + Vista
Date Posted: 24 July 2008 at 12:49am
Hi,
 
I have a plugin implementaion, developed for Acrobat 8.1.2
 professional/Windows Xp,  in that i have a dialog box which has an Edit control, some times i want to change the background of that edit control to highlight the contents of the edit box, it is working fine on windows Xp, but the same plug-in when i used on Vista system, not changing the background color,  this is code fragment
CDC *pDC;    COLORREF    m_RedColor;
 m_RedColor = RGB(0,255,255);
 DDX_Control(pDX, IDC_EDIT_Keyword, m_editKeyword );
 m_editKeyword.SetFocus();
 pDC->SetBkColor( m_RedColor );
But when i click on the edit box it is changing background on Vista,
why it is doing like, not changing as in windows XP system(means before clicking on edit box).
Any help would be highly appreciated.
 
thank you,
palaksha



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net