Click here to Skip to main content
14,978,720 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLine numbers Pin
Stirfie31-May-05 1:54
MemberStirfie31-May-05 1:54 
GeneralRe: Line numbers Pin
Ravi Bhavnani31-May-05 2:08
professionalRavi Bhavnani31-May-05 2:08 
GeneralRe: Line numbers Pin
Alexander M.,31-May-05 2:45
MemberAlexander M.,31-May-05 2:45 
QuestionHow to download secured web page ? Pin
Yariv31-May-05 0:47
MemberYariv31-May-05 0:47 
AnswerRe: How to download secured web page ? Pin
Ravi Bhavnani31-May-05 2:04
professionalRavi Bhavnani31-May-05 2:04 
GeneralChange color of controls of a dialog Pin
Ward31-May-05 0:39
MemberWard31-May-05 0:39 
GeneralRe: Change color of controls of a dialog Pin
ThatsAlok31-May-05 1:25
MemberThatsAlok31-May-05 1:25 
GeneralRe: Change color of controls of a dialog Pin
Ward31-May-05 3:46
MemberWard31-May-05 3:46 
That helped me.
Thanks!

My code is now the following:

case WM_CTLCOLORSTATIC:
hBrushButton = CreateSolidBrush(RGB(255,102,15));
SetTextColor((HDC) wParam, RGB(255,255,255));
SetBkColor((HDC) wParam, RGB(255,102,15));
return (int)hBrushButton;

This results is a nice orange label with white text.Smile | :)

Greetz,
Ward

See more from me at http://users.belgacom.net/wardvantichelen
GeneralRe: Change color of controls of a dialog Pin
Cedric Moonen31-May-05 3:56
MemberCedric Moonen31-May-05 3:56 
GeneralRe: Change color of controls of a dialog Pin
Ward31-May-05 4:14
MemberWard31-May-05 4:14 
GeneralRe: Change color of controls of a dialog Pin
ThatsAlok31-May-05 19:21
MemberThatsAlok31-May-05 19:21 
GeneralSoap Toolkit 3.0 Redistributable Pin
SAKURAVN30-May-05 23:54
MemberSAKURAVN30-May-05 23:54 
GeneralNeed help to use the Sort Iist Control with XP-Style! Pin
bosfan30-May-05 23:47
Memberbosfan30-May-05 23:47 
GeneralRe: Need help to use the Sort Iist Control with XP-Style! Pin
Jack Puppy31-May-05 3:54
MemberJack Puppy31-May-05 3:54 
GeneralRe: Need help to use the Sort Iist Control with XP-Style! Pin
Anonymous1-Jun-05 1:22
MemberAnonymous1-Jun-05 1:22 
GeneralRe: Need help to use the Sort Iist Control with XP-Style! Pin
bosfan1-Jun-05 2:23
Memberbosfan1-Jun-05 2:23 
GeneralCListBox with titles Pin
Vaclav30-May-05 23:20
MemberVaclav30-May-05 23:20 
GeneralRe: CListBox with titles Pin
S Douglas31-May-05 1:04
professionalS Douglas31-May-05 1:04 
GeneralRe: CListBox with titles Pin
David Crow31-May-05 3:38
MemberDavid Crow31-May-05 3:38 
QuestionShell functions and versions ? Pin
Ramsus30-May-05 23:07
MemberRamsus30-May-05 23:07 
AnswerRe: Shell functions and versions ? Pin
David Crow31-May-05 3:41
MemberDavid Crow31-May-05 3:41 
GeneralMultithreaded horror.. Pin
Bob Stanneveld30-May-05 22:04
MemberBob Stanneveld30-May-05 22:04 
GeneralProblem solved.. Pin
Bob Stanneveld31-May-05 2:38
MemberBob Stanneveld31-May-05 2:38 
GeneralVisual C++ Pin
Member 150607130-May-05 21:40
MemberMember 150607130-May-05 21:40 
GeneralRe: Visual C++ Pin
Cedric Moonen30-May-05 21:50
MemberCedric Moonen30-May-05 21:50 

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.