Click here to Skip to main content
16,006,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Refresh part of the screen. Pin
Brian Shifrin1-May-03 11:39
Brian Shifrin1-May-03 11:39 
GeneralPolygon holes Pin
shao_lo1-May-03 6:19
shao_lo1-May-03 6:19 
GeneralRe: Polygon holes Pin
Phil Hamer1-May-03 14:27
Phil Hamer1-May-03 14:27 
GeneralRe: Polygon holes Pin
John R. Shaw2-May-03 22:04
John R. Shaw2-May-03 22:04 
Questiondelete or unlink? Pin
Dominik Reichl1-May-03 5:41
Dominik Reichl1-May-03 5:41 
AnswerRe: delete or unlink? Pin
David Crow1-May-03 5:45
David Crow1-May-03 5:45 
AnswerRe: delete or unlink? Pin
markkuk1-May-03 12:40
markkuk1-May-03 12:40 
GeneralRedrawing windows that don't have focus Pin
Darren Steadman1-May-03 5:29
Darren Steadman1-May-03 5:29 
I've been working on a little app for use with wireless keyboards that don't have num/cap/scroll lock lights. It's just a small app that always sits on top and tells you if any of those locks are on.

I've implemented a global hook ok for the keyboard and the application can recieve messages from the hook when it has and hasn't got focus. The problem I'm having is I want it to update 3 little icons in CStatic controls on the app that represent cap/num/scroll lock. This works fine when the app has focus but when it loses focus it no longer repaints the icons. The app is still getting the messages because It can display a messagebox for me but it's just not updating the icons.

I've looked though the MSDN I've used loads of functions to force the redraw but nothing seems to work. I've probably just missed the easyest one that works so any sujecstions will be great.

Thanks

Darren
GeneralRe: Redrawing windows that don't have focus Pin
valikac1-May-03 7:28
valikac1-May-03 7:28 
GeneralRe: Redrawing windows that don't have focus Pin
J. Dunlap1-May-03 8:46
J. Dunlap1-May-03 8:46 
GeneralI have a editbox in my toolbar and want change background color Pin
whofmans1-May-03 5:04
whofmans1-May-03 5:04 
GeneralRe: I have a editbox in my toolbar and want change background color Pin
David Crow1-May-03 5:57
David Crow1-May-03 5:57 
GeneralRe: I have a editbox in my toolbar and want change background color Pin
whofmans1-May-03 21:03
whofmans1-May-03 21:03 
GeneralRe: I have a editbox in my toolbar and want change background color Pin
David Crow2-May-03 4:15
David Crow2-May-03 4:15 
QuestionCString Bug??? Pin
levay1-May-03 4:52
levay1-May-03 4:52 
AnswerRe: CString Bug??? Pin
David Crow1-May-03 5:07
David Crow1-May-03 5:07 
GeneralRe: CString Bug??? Pin
levay1-May-03 5:15
levay1-May-03 5:15 
GeneralRe: CString Bug??? Pin
David Crow1-May-03 5:39
David Crow1-May-03 5:39 
GeneralRe: CString Bug??? Pin
levay1-May-03 5:49
levay1-May-03 5:49 
GeneralRe: CString Bug??? Pin
levay1-May-03 6:10
levay1-May-03 6:10 
AnswerRe: CString Bug??? Pin
Nitron1-May-03 5:38
Nitron1-May-03 5:38 
GeneralRe: CString Bug??? Pin
levay1-May-03 5:52
levay1-May-03 5:52 
GeneralRe: CString Bug??? Pin
Nitron1-May-03 5:54
Nitron1-May-03 5:54 
GeneralRe: CString Bug??? Pin
David Crow1-May-03 7:45
David Crow1-May-03 7:45 
GeneralRe: CString Bug??? Pin
levay1-May-03 9:00
levay1-May-03 9:00 

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.