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

C / C++ / MFC

 
GeneralWindows 95/98 to Windows 2000/XP Pin
28-May-02 19:11
suss28-May-02 19:11 
GeneralRe: Windows 95/98 to Windows 2000/XP Pin
Nish Nishant28-May-02 20:09
sitebuilderNish Nishant28-May-02 20:09 
GeneralRe: Windows 95/98 to Windows 2000/XP Pin
tiaozi28-May-02 22:34
tiaozi28-May-02 22:34 
GeneralRe: Windows 95/98 to Windows 2000/XP Pin
Ed Gadziemski30-May-02 12:02
professionalEd Gadziemski30-May-02 12:02 
GeneralWinXp error bubbles Pin
28-May-02 18:28
suss28-May-02 18:28 
GeneralRe: WinXp error bubbles Pin
Shog928-May-02 18:43
sitebuilderShog928-May-02 18:43 
GeneralUpdating Static Control Color Real-Time :: MFC Pin
valikac28-May-02 17:36
valikac28-May-02 17:36 
GeneralRe: Updating Static Control Color Real-Time :: MFC Pin
Paul M Watt28-May-02 18:13
mentorPaul M Watt28-May-02 18:13 
Have you tried invalidating the control in order to force a repaint. Better yet you could force a repaint of your entire dialog window with this:

RedrawWindow(hDlg, NULL, NULL, RDW_ERASE | RDW_INVALIDATE | RDW_ERASENOW | RDW_REDRAWNOW | RDW_ALLCHILDREN);

This will force your window and all of its children to redraw, which should generate WM_CTLCOLOR messages for each of the controls.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Updating Static Control Color Real-Time :: MFC Pin
valikac28-May-02 18:33
valikac28-May-02 18:33 
GeneralLinking a Win16 DLL to create a (Resource Only) FON file. Pin
gjr28-May-02 17:11
gjr28-May-02 17:11 
Questionhow get a directory path, like cfiledialog class Pin
fogmen28-May-02 16:58
fogmen28-May-02 16:58 
AnswerRe: how get a directory path, like cfiledialog class Pin
Nish Nishant28-May-02 17:24
sitebuilderNish Nishant28-May-02 17:24 
Generaldetermine if the URL is valid Pin
cmhome28-May-02 16:59
cmhome28-May-02 16:59 
GeneralRe: determine if the URL is valid Pin
Paul M Watt28-May-02 18:15
mentorPaul M Watt28-May-02 18:15 
GeneralHacking into a DLL Pin
28-May-02 16:53
suss28-May-02 16:53 
GeneralRe: Hacking into a DLL Pin
Le centriste28-May-02 16:51
Le centriste28-May-02 16:51 
GeneralRe: Hacking into a DLL Pin
Rama Krishna Vavilala28-May-02 17:01
Rama Krishna Vavilala28-May-02 17:01 
GeneralRe: Hacking into a DLL Pin
Roger Broomfield28-May-02 21:38
Roger Broomfield28-May-02 21:38 
GeneralRe: Hacking into a DLL Pin
Mike Nordell28-May-02 21:45
Mike Nordell28-May-02 21:45 
GeneralRe: Hacking into a DLL Pin
Alexandru Savescu28-May-02 23:45
Alexandru Savescu28-May-02 23:45 
Generalatoi Pin
28-May-02 16:45
suss28-May-02 16:45 
GeneralRe: atoi Pin
Chris Hafey28-May-02 16:45
Chris Hafey28-May-02 16:45 
GeneralRe: atoi Pin
28-May-02 17:05
suss28-May-02 17:05 
GeneralRe: atoi Pin
29-May-02 6:33
suss29-May-02 6:33 
GeneralNetwork Neighborhood Icon Pin
kasturirawat28-May-02 15:38
kasturirawat28-May-02 15:38 

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.