Click here to Skip to main content
15,916,379 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I get an application's .exe name Pin
Blake Miller25-Jan-05 7:13
Blake Miller25-Jan-05 7:13 
GeneralTrayIcon problems....¤Ì.¤Ì Pin
hahyojin24-Jun-01 15:30
hahyojin24-Jun-01 15:30 
GeneralON_UPDATE_COMMAND_UI does not work in Dialog Pin
24-Jun-01 12:04
suss24-Jun-01 12:04 
GeneralRe: ON_UPDATE_COMMAND_UI does not work in Dialog Pin
Christian Graus24-Jun-01 13:52
protectorChristian Graus24-Jun-01 13:52 
GeneralRe: ON_UPDATE_COMMAND_UI does not work in Dialog Pin
Brendan Tregear24-Jun-01 13:58
Brendan Tregear24-Jun-01 13:58 
GeneralHelp with getting a HMENU for the Right-Click Context Menu Pin
JavaTony24-Jun-01 11:49
JavaTony24-Jun-01 11:49 
GeneralHelp with capturing Full-screen DOS to a bitmap file Pin
JavaTony24-Jun-01 11:33
JavaTony24-Jun-01 11:33 
GeneralHelp with using InvalidateRect API function to update only part of the screen Pin
JavaTony24-Jun-01 11:16
JavaTony24-Jun-01 11:16 
Hi,
I am doing an entire screen capture INCLUDING THE MOUSE CURSOR. For GDI function calls, the mouse cursor is automatically hidden. Therefore, I have to get a handle of the current mouse cursor and use DrawIcon to draw it onto the screen. After the screen capture, I have to invalidate the area where the mouse cursor is drawn so the drawn mouse cursor won't stay on the screen.

I am using InvalidateRect(NULL, NULL, TRUE) to redraw all the windows, but this results in a very serious screen flickering while capturing the screen. I cannot figure out how to invalidate only the area where the mouse cursor is drawn. Could you give me some pointers, tips, or samples how to achieve this with InvalidateRect function?

Thank you very much for your help.
GeneralRe: Help with using InvalidateRect API function to update only part of the screen Pin
Tim Deveaux24-Jun-01 13:08
Tim Deveaux24-Jun-01 13:08 
GeneralScrollbars Pin
24-Jun-01 10:19
suss24-Jun-01 10:19 
Generali what to implement the zoom in CScrollview. Pin
24-Jun-01 9:03
suss24-Jun-01 9:03 
QuestionCEdit Newlines? Pin
Gregg Carlstrom24-Jun-01 6:06
Gregg Carlstrom24-Jun-01 6:06 
AnswerRe: CEdit Newlines? Pin
Michael Dunn24-Jun-01 7:04
sitebuilderMichael Dunn24-Jun-01 7:04 
GeneralRe: CEdit Newlines? Pin
Gregg Carlstrom24-Jun-01 7:10
Gregg Carlstrom24-Jun-01 7:10 
GeneralMy program won't run in other computer !!! Pin
Hadi Rezaee24-Jun-01 5:54
Hadi Rezaee24-Jun-01 5:54 
GeneralRe: My program won't run in other computer !!! Pin
Hadi Rezaee25-Jun-01 9:31
Hadi Rezaee25-Jun-01 9:31 
GeneralRCDATA Breaks on Win 98 Pin
Neville Franks24-Jun-01 5:28
Neville Franks24-Jun-01 5:28 
GeneralRe: RCDATA Breaks on Win 98 Pin
Neville Franks24-Jun-01 5:39
Neville Franks24-Jun-01 5:39 
GeneralData buffer!!! Pin
24-Jun-01 5:03
suss24-Jun-01 5:03 
GeneralRe: Data buffer!!! Pin
User 988524-Jun-01 14:47
User 988524-Jun-01 14:47 
GeneralRe: Data buffer!!! Pin
25-Jun-01 6:28
suss25-Jun-01 6:28 
Generalchange cursor type Pin
haozl24-Jun-01 4:09
haozl24-Jun-01 4:09 
GeneralRe: change cursor type Pin
Michael Dunn24-Jun-01 7:06
sitebuilderMichael Dunn24-Jun-01 7:06 
GeneralRe: change cursor type Pin
24-Jun-01 15:00
suss24-Jun-01 15:00 
General(Win32 Error 11) Pin
Neville Franks24-Jun-01 3:50
Neville Franks24-Jun-01 3: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.