Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to apply a Hand cursor to a Picture box Pin
Mircea Puiu21-Oct-05 4:45
Mircea Puiu21-Oct-05 4:45 
QuestionHow to change the back colour of a Edit box ??? Pin
vikas amin20-Oct-05 20:36
vikas amin20-Oct-05 20:36 
AnswerRe: How to change the back colour of a Edit box ??? Pin
User 58385220-Oct-05 21:17
User 58385220-Oct-05 21:17 
GeneralRe: How to change the back colour of a Edit box ??? Pin
vikas amin20-Oct-05 21:25
vikas amin20-Oct-05 21:25 
GeneralRe: How to change the back colour of a Edit box ??? Pin
Mircea Puiu20-Oct-05 21:43
Mircea Puiu20-Oct-05 21:43 
GeneralRe: How to change the back colour of a Edit box ??? Pin
vikas amin21-Oct-05 1:00
vikas amin21-Oct-05 1:00 
GeneralRe: How to change the back colour of a Edit box ??? Pin
Eytukan21-Oct-05 0:19
Eytukan21-Oct-05 0:19 
AnswerRe: How to change the back colour of a Edit box ??? Pin
FarPointer21-Oct-05 0:39
FarPointer21-Oct-05 0:39 
well i guess this will do
<br />
CWnd *pWnd=GetDlgItem(IDC_EDIT1);<br />
pwnd->GetDC ()->SetBkColor (RGB(255,0,0))


Best is to use the WM_CTCOLOR of the dialog box since the third parameter you can check wether its for an editbox and do the necessary setting three with the help of the CDC,

Regards
FarPointer
AnswerRe: How to change the back colour of a Edit box ??? Pin
ThatsAlok21-Oct-05 1:17
ThatsAlok21-Oct-05 1:17 
GeneralRe: How to change the back colour of a Edit box ??? Pin
Eytukan21-Oct-05 1:37
Eytukan21-Oct-05 1:37 
GeneralRe: How to change the back colour of a Edit box ??? Pin
ThatsAlok21-Oct-05 1:45
ThatsAlok21-Oct-05 1:45 
GeneralRe: How to change the back colour of a Edit box ??? Pin
Eytukan21-Oct-05 2:06
Eytukan21-Oct-05 2:06 
QuestionUrgent : Problem with wifstream() Pin
Supriya Tonape20-Oct-05 19:07
Supriya Tonape20-Oct-05 19:07 
AnswerRe: Urgent : Problem with wifstream() Pin
SteveKing20-Oct-05 19:18
SteveKing20-Oct-05 19:18 
AnswerRe: Urgent : Problem with wifstream() Pin
toxcct20-Oct-05 21:23
toxcct20-Oct-05 21:23 
AnswerRe: Urgent : Problem with wifstream() Pin
sunit520-Oct-05 21:52
sunit520-Oct-05 21:52 
GeneralRe: Urgent : Problem with wifstream() Pin
Anonymous21-Oct-05 1:15
Anonymous21-Oct-05 1:15 
QuestionHow can I use CwaveIn to record the playing voice? Pin
extraf20-Oct-05 18:41
extraf20-Oct-05 18:41 
AnswerRe: How can I use CwaveIn to record the playing voice? Pin
extraf20-Oct-05 22:12
extraf20-Oct-05 22:12 
GeneralRe: How can I use CwaveIn to record the playing voice? Pin
ThatsAlok21-Oct-05 1:28
ThatsAlok21-Oct-05 1:28 
AnswerRe: How can I use CwaveIn to record the playing voice? Pin
ThatsAlok21-Oct-05 1:20
ThatsAlok21-Oct-05 1:20 
GeneralRe: How can I use CwaveIn to record the playing voice? Pin
extraf21-Oct-05 4:28
extraf21-Oct-05 4:28 
Questionfinding files inside folder Pin
FarPointer20-Oct-05 17:09
FarPointer20-Oct-05 17:09 
AnswerRe: finding files inside folder Pin
Blake V. Miller20-Oct-05 18:00
Blake V. Miller20-Oct-05 18:00 
GeneralRe: finding files inside folder Pin
sunit520-Oct-05 19:13
sunit520-Oct-05 19:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.