Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Edit control background + Vista
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Edit control background + Vista

 Post Reply Post Reply
Author
Message
palaksha View Drop Down
Newbie
Newbie


Joined: 24 July 2008
Location: India
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote palaksha Quote  Post ReplyReply Direct Link To This Post Topic: Edit control background + Vista
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.