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

C / C++ / MFC

 
AnswerRe: How to use MFC classes in WinAPI app Pin
Diddy3-Jun-04 23:50
Diddy3-Jun-04 23:50 
GeneralRe: How to use MFC classes in WinAPI app Pin
lapenkov4-Jun-04 0:00
lapenkov4-Jun-04 0:00 
GeneralRe: How to use MFC classes in WinAPI app Pin
toxcct4-Jun-04 0:04
toxcct4-Jun-04 0:04 
GeneralRe: How to use MFC classes in WinAPI app Pin
Diddy4-Jun-04 0:05
Diddy4-Jun-04 0:05 
GeneralRe: How to use MFC classes in WinAPI app Pin
John M. Drescher4-Jun-04 5:45
John M. Drescher4-Jun-04 5:45 
GeneralRe: How to use MFC classes in WinAPI app Pin
Rodrigo Pinto Pereira de Souza4-Jun-04 7:21
Rodrigo Pinto Pereira de Souza4-Jun-04 7:21 
GeneralInvalidate() Pin
cruschy3-Jun-04 23:34
cruschy3-Jun-04 23:34 
GeneralRe: Invalidate() Pin
Diddy3-Jun-04 23:43
Diddy3-Jun-04 23:43 
Its more about your OnDraw method. I suspect what you are doing now is redrawing the entire view when OnDraw gets called. What you need to do is find out what area of the CDC passed in is invalid, and only repaint that area.

Look up CDC::GetClipBox which should get you started.

In this case, you would need to call GetClipBox and only repaint what lies within this box.

Also lookup InvalidateRect.
GeneralRe: Invalidate() Pin
Johan Rosengren4-Jun-04 3:32
Johan Rosengren4-Jun-04 3:32 
GeneralRe: Invalidate() Pin
basementman4-Jun-04 6:07
basementman4-Jun-04 6:07 
GeneralRe: Invalidate() Pin
Blake Miller4-Jun-04 14:20
Blake Miller4-Jun-04 14:20 
Generalbluetooth includes [edit] ON WINDOWS !!! [/edit] Pin
toxcct3-Jun-04 23:06
toxcct3-Jun-04 23:06 
GeneralRe: bluetooth includes Pin
jmkhael3-Jun-04 23:10
jmkhael3-Jun-04 23:10 
GeneralRe: bluetooth includes Pin
toxcct3-Jun-04 23:12
toxcct3-Jun-04 23:12 
GeneralRe: bluetooth includes Pin
toxcct3-Jun-04 23:15
toxcct3-Jun-04 23:15 
GeneralRe: bluetooth includes Pin
jmkhael3-Jun-04 23:21
jmkhael3-Jun-04 23:21 
GeneralRe: bluetooth includes Pin
toxcct3-Jun-04 23:23
toxcct3-Jun-04 23:23 
GeneralRe: bluetooth includes Pin
jmkhael3-Jun-04 23:31
jmkhael3-Jun-04 23:31 
GeneralRe: bluetooth includes Pin
toxcct3-Jun-04 23:33
toxcct3-Jun-04 23:33 
GeneralRe: bluetooth includes Pin
jmkhael3-Jun-04 23:35
jmkhael3-Jun-04 23:35 
GeneralRe: bluetooth includes Pin
toxcct3-Jun-04 23:38
toxcct3-Jun-04 23:38 
GeneralRe: bluetooth includes Pin
jmkhael3-Jun-04 23:45
jmkhael3-Jun-04 23:45 
GeneralRe: bluetooth includes Pin
toxcct3-Jun-04 23:47
toxcct3-Jun-04 23:47 
GeneralRe: bluetooth includes Pin
jmkhael3-Jun-04 23:55
jmkhael3-Jun-04 23:55 
GeneralRe: bluetooth includes Pin
toxcct4-Jun-04 0:00
toxcct4-Jun-04 0: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.