Click here to Skip to main content
15,912,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IE messenger button and excute messenger Pin
Tcpip200513-Jun-06 15:04
Tcpip200513-Jun-06 15:04 
QuestionMFC and web pages Pin
_tasleem12-Jun-06 16:45
_tasleem12-Jun-06 16:45 
AnswerRe: MFC and web pages Pin
Ganesh_T12-Jun-06 19:00
Ganesh_T12-Jun-06 19:00 
AnswerRe: MFC and web pages Pin
Eytukan12-Jun-06 23:52
Eytukan12-Jun-06 23:52 
GeneralRe: MFC and web pages Pin
ThatsAlok13-Jun-06 0:15
ThatsAlok13-Jun-06 0:15 
GeneralRe: MFC and web pages Pin
Eytukan13-Jun-06 0:58
Eytukan13-Jun-06 0:58 
AnswerRe: MFC and web pages Pin
ThatsAlok13-Jun-06 0:13
ThatsAlok13-Jun-06 0:13 
QuestionColor selection Pin
sidkraft12-Jun-06 16:14
sidkraft12-Jun-06 16:14 
I am trying to initialize a "brush" in visual C++ and then call it back and changing the colors of RGB. My statments for initialization are:
CFrame::CFrame()
{
...
...
...
colorbar.CreateSolidBrush(RGB(a,b,c));
...
...
}
void CFrame::OnPaint()
{
CPaintDC dc(this);
dc.TextOut (5,40,"Red Color Is:");
//Output color frame
COLORREF(RGB(a,b,c));
a = x;
CRect rc(100,150,150,200);
dc.FillSolidRect(&rc,RGB(a,250,250));
}

No matter what I try, the colors only get defined
at initialize time and never change. Are there functions
in MFC that allow one to change the colors after
initialization and what are they? Please let me know at sid_kraft@msn.com. Thanks in advance, Sid Kraft






Sid
AnswerRe: Color selection Pin
Naveen12-Jun-06 17:39
Naveen12-Jun-06 17:39 
QuestionCString pointers Pin
elephantstar12-Jun-06 15:30
elephantstar12-Jun-06 15:30 
AnswerRe: CString pointers Pin
Michael Dunn12-Jun-06 15:35
sitebuilderMichael Dunn12-Jun-06 15:35 
GeneralRe: CString pointers Pin
elephantstar12-Jun-06 15:44
elephantstar12-Jun-06 15:44 
AnswerRe: CString pointers Pin
valikac12-Jun-06 16:06
valikac12-Jun-06 16:06 
AnswerRe: CString pointers Pin
Jun Du12-Jun-06 16:57
Jun Du12-Jun-06 16:57 
AnswerRe: CString pointers Pin
ThatsAlok13-Jun-06 0:01
ThatsAlok13-Jun-06 0:01 
QuestionFonts [modified] Pin
locoone12-Jun-06 14:09
locoone12-Jun-06 14:09 
AnswerRe: Fonts Pin
Mark F.12-Jun-06 15:01
Mark F.12-Jun-06 15:01 
AnswerRe: Fonts Pin
Laxman Auti12-Jun-06 19:24
Laxman Auti12-Jun-06 19:24 
AnswerRe: Fonts Pin
ThatsAlok12-Jun-06 23:32
ThatsAlok12-Jun-06 23:32 
Questionunable to include cesync.h header Pin
elautenticoperry12-Jun-06 10:09
elautenticoperry12-Jun-06 10:09 
QuestionWin32 API - Tab Control Unhandled Exception Error Pin
capricious_00112-Jun-06 8:57
capricious_00112-Jun-06 8:57 
AnswerRe: Win32 API - Tab Control Unhandled Exception Error Pin
led mike12-Jun-06 10:00
led mike12-Jun-06 10:00 
GeneralRe: Win32 API - Tab Control Unhandled Exception Error Pin
capricious_00112-Jun-06 10:42
capricious_00112-Jun-06 10:42 
GeneralRe: Win32 API - Tab Control Unhandled Exception Error Pin
David Crow12-Jun-06 11:04
David Crow12-Jun-06 11:04 
GeneralRe: Win32 API - Tab Control Unhandled Exception Error Pin
led mike12-Jun-06 11:18
led mike12-Jun-06 11:18 

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.