Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 8:23
User 988511-Feb-03 8:23 
GeneralRe: I subclassed a CStatic... Pin
palbano11-Feb-03 8:34
palbano11-Feb-03 8:34 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 8:41
User 988511-Feb-03 8:41 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 9:09
User 988511-Feb-03 9:09 
GeneralRe: I subclassed a CStatic... Pin
palbano11-Feb-03 10:33
palbano11-Feb-03 10:33 
GeneralRe: I subclassed a CStatic... Pin
Oliver Anhuth11-Feb-03 23:33
Oliver Anhuth11-Feb-03 23:33 
GeneralListBox Question (non-MFC) Pin
Paddy11-Feb-03 8:01
Paddy11-Feb-03 8:01 
GeneralRe: ListBox Question (non-MFC) Pin
Dominik Reichl11-Feb-03 8:17
Dominik Reichl11-Feb-03 8:17 
Get the handle to the device context of the listbox (HDC) and use the Win32 function SetBkColor to set the color you want.

For more, see function SetBkColor in MSDN.

If you would like to use the same color as in your main window, you first have to get the standard color of your window, which is usually done by a call to GetSysColor.

Hope this helps,
-Dominik
GeneralRe: ListBox Question (non-MFC) Pin
palbano11-Feb-03 8:23
palbano11-Feb-03 8:23 
GeneralRe: ListBox Question (non-MFC) Pin
Paddy11-Feb-03 9:47
Paddy11-Feb-03 9:47 
GeneralRe: ListBox Question (non-MFC) Pin
Paddy11-Feb-03 9:36
Paddy11-Feb-03 9:36 
GeneralDebug Tracing into MFC classes Pin
Daniel Kamisnki11-Feb-03 7:20
Daniel Kamisnki11-Feb-03 7:20 
GeneralRe: Debug Tracing into MFC classes Pin
palbano11-Feb-03 7:30
palbano11-Feb-03 7:30 
GeneralRe: Debug Tracing into MFC classes Pin
Daniel Kamisnki11-Feb-03 13:05
Daniel Kamisnki11-Feb-03 13:05 
GeneralRe: Debug Tracing into MFC classes Pin
Kant11-Feb-03 15:52
Kant11-Feb-03 15:52 
GeneralRe: Debug Tracing into MFC classes Pin
Daniel Kamisnki12-Feb-03 4:47
Daniel Kamisnki12-Feb-03 4:47 
GeneralRe: Debug Tracing into MFC classes Pin
gengyu24-Dec-09 21:37
gengyu24-Dec-09 21:37 
GeneralEditing VML with MSHTML and WebBrowser Control Pin
gradiov11-Feb-03 7:16
gradiov11-Feb-03 7:16 
GeneralRe: Editing VML with MSHTML and WebBrowser Control Pin
Stephane Rodriguez.11-Feb-03 10:37
Stephane Rodriguez.11-Feb-03 10:37 
GeneralRe: Editing VML with MSHTML and WebBrowser Control Pin
gradiov11-Feb-03 10:56
gradiov11-Feb-03 10:56 
GeneralRe: Editing VML with MSHTML and WebBrowser Control Pin
Stephane Rodriguez.11-Feb-03 18:44
Stephane Rodriguez.11-Feb-03 18:44 
GeneralRe: Editing VML with MSHTML and WebBrowser Control Pin
gradiov12-Feb-03 5:39
gradiov12-Feb-03 5:39 
Questionrenaming a directory? Pin
will138311-Feb-03 7:04
will138311-Feb-03 7:04 
AnswerRe: renaming a directory? Pin
pete mcquain11-Feb-03 7:18
pete mcquain11-Feb-03 7:18 
AnswerRe: renaming a directory? Pin
gradiov11-Feb-03 7:32
gradiov11-Feb-03 7:32 

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.