Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: graphic.h in Visual c++ Pin
ThatsAlok17-Mar-06 21:14
ThatsAlok17-Mar-06 21:14 
QuestionHelp with set SQL cursor to SQL_SCROLLABLE Pin
nhuythanh16-Mar-06 16:03
nhuythanh16-Mar-06 16:03 
AnswerRe: Help with set SQL cursor to SQL_SCROLLABLE Pin
Gerald Schwab16-Mar-06 17:28
Gerald Schwab16-Mar-06 17:28 
QuestionText color in an Edit Control Pin
Joy Anne16-Mar-06 15:39
Joy Anne16-Mar-06 15:39 
AnswerRe: Text color in an Edit Control Pin
Stephen Hewitt16-Mar-06 15:52
Stephen Hewitt16-Mar-06 15:52 
AnswerRe: Text color in an Edit Control Pin
snowheavy16-Mar-06 15:58
snowheavy16-Mar-06 15:58 
GeneralRe: Text color in an Edit Control Pin
Naveen16-Mar-06 16:03
Naveen16-Mar-06 16:03 
AnswerRe: Text color in an Edit Control Pin
John R. Shaw16-Mar-06 16:25
John R. Shaw16-Mar-06 16:25 
Using Visual C++ (6.0) MFC, there is more than one way. If you search for "CEdit background", you will find 17 possible answers (see "Change the Background Color of an MFC Edit Control" ID: Q117778).

At the current time I am studying VB.Net (no choice) and in that you just call "sender.BackColor = color" ("sender" is an object derived control), which probably applies to C# as well (through the framework).

You could derive a class from a CEdit control and override the "OnEraseBkgnd" method, but there should be a better way.

That is the best I can do at the moment.

INTP
Every thing is relative...
AnswerRe: Text color in an Edit Control Pin
Hamid_RT16-Mar-06 17:02
Hamid_RT16-Mar-06 17:02 
QuestionPlace to save Wnd position Pin
Richard Andrew x6416-Mar-06 14:03
professionalRichard Andrew x6416-Mar-06 14:03 
AnswerRe: Place to save Wnd position Pin
bob1697216-Mar-06 15:41
bob1697216-Mar-06 15:41 
GeneralRe: Place to save Wnd position Pin
Richard Andrew x6416-Mar-06 16:07
professionalRichard Andrew x6416-Mar-06 16:07 
QuestionTurn Off monitor?????? Pin
AhmedOsamaMoh16-Mar-06 13:36
AhmedOsamaMoh16-Mar-06 13:36 
AnswerRe: Turn Off monitor?????? Pin
Chris Gao16-Mar-06 15:29
Chris Gao16-Mar-06 15:29 
AnswerRe: Turn Off monitor?????? Pin
Xing Chen16-Mar-06 16:01
Xing Chen16-Mar-06 16:01 
QuestionHow to generate a new icon at runtime for MFC tree control Pin
lastgen16-Mar-06 13:15
lastgen16-Mar-06 13:15 
AnswerRe: How to generate a new icon at runtime for MFC tree control Pin
Stephen Hewitt16-Mar-06 13:30
Stephen Hewitt16-Mar-06 13:30 
AnswerRe: How to generate a new icon at runtime for MFC tree control Pin
Hamid_RT16-Mar-06 17:56
Hamid_RT16-Mar-06 17:56 
AnswerRe: How to generate a new icon at runtime for MFC tree control Pin
Hamid_RT16-Mar-06 19:38
Hamid_RT16-Mar-06 19:38 
Questionexport function in DLL Pin
yongwpi16-Mar-06 11:39
yongwpi16-Mar-06 11:39 
AnswerRe: export function in DLL Pin
Richard Andrew x6416-Mar-06 14:24
professionalRichard Andrew x6416-Mar-06 14:24 
GeneralRe: export function in DLL Pin
yongwpi16-Mar-06 14:27
yongwpi16-Mar-06 14:27 
QuestionMultiple Displays problem- how to get the absolute coordinates Pin
Checker200316-Mar-06 9:59
Checker200316-Mar-06 9:59 
AnswerRe: Multiple Displays problem- how to get the absolute coordinates Pin
Michael Dunn16-Mar-06 11:02
sitebuilderMichael Dunn16-Mar-06 11:02 
GeneralRe: Multiple Displays problem- how to get the absolute coordinates Pin
Checker200316-Mar-06 20:36
Checker200316-Mar-06 20:36 

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.