Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to paint from a memory DC to another memory DC Pin
includeh108-Apr-06 19:02
includeh108-Apr-06 19:02 
GeneralRe: How to paint from a memory DC to another memory DC Pin
Axonn Echysttas8-Apr-06 22:05
Axonn Echysttas8-Apr-06 22:05 
AnswerRe: How to paint from a memory DC to another memory DC Pin
Iain Clarke, Warrior Programmer8-Apr-06 12:59
Iain Clarke, Warrior Programmer8-Apr-06 12:59 
QuestionClient Area not repainted after restore from minimization (still not solved) Pin
naal118-Apr-06 6:44
naal118-Apr-06 6:44 
AnswerRe: Client Area not repainted after restore from minimization Pin
includeh108-Apr-06 7:08
includeh108-Apr-06 7:08 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 7:15
naal118-Apr-06 7:15 
GeneralRe: Client Area not repainted after restore from minimization Pin
includeh108-Apr-06 7:24
includeh108-Apr-06 7:24 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 7:36
naal118-Apr-06 7:36 
hi again

yes, the bitmap is drawn. the prob is, when i first minimize the window and then bring it back to the screen (via clicking on it in the taskbar) the client area (the bitmap) is not redrawn, the area is white. Its only drawn again when i move the mouse over the window or when I move another window in front of it (so i guess when WM_PAINT is called).

I used GetModuleHandle(NULL) because actually the window creation is in another method (which is called from winmain). But still, I tried your suggestion and it doesnt solve my problem. Any other tips? Thanks a lot
GeneralRe: Client Area not repainted after restore from minimization Pin
includeh108-Apr-06 7:45
includeh108-Apr-06 7:45 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 9:17
naal118-Apr-06 9:17 
AnswerRe: Client Area not repainted after restore from minimization Pin
Hamid_RT8-Apr-06 7:40
Hamid_RT8-Apr-06 7:40 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 9:08
naal118-Apr-06 9:08 
GeneralRe: Client Area not repainted after restore from minimization Pin
Hamid_RT8-Apr-06 9:22
Hamid_RT8-Apr-06 9:22 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 9:38
naal118-Apr-06 9:38 
AnswerRe: Client Area not repainted after restore from minimization Pin
Waldermort8-Apr-06 8:14
Waldermort8-Apr-06 8:14 
GeneralRe: Client Area not repainted after restore from minimization Pin
naal118-Apr-06 9:16
naal118-Apr-06 9:16 
AnswerRe: Client Area not repainted after restore from minimization (still not solved) Pin
Iain Clarke, Warrior Programmer8-Apr-06 13:03
Iain Clarke, Warrior Programmer8-Apr-06 13:03 
GeneralRe: Client Area not repainted after restore from minimization (still not solved) Pin
naal118-Apr-06 21:45
naal118-Apr-06 21:45 
AnswerRe: Client Area not repainted after restore from minimization (still not solved) Pin
naal1113-Apr-06 6:13
naal1113-Apr-06 6:13 
QuestionBitmap transfer over socket Pin
Identity Undisclosed8-Apr-06 6:20
Identity Undisclosed8-Apr-06 6:20 
AnswerRe: Bitmap transfer over socket Pin
includeh108-Apr-06 6:55
includeh108-Apr-06 6:55 
AnswerRe: Bitmap transfer over socket Pin
El Corazon8-Apr-06 8:37
El Corazon8-Apr-06 8:37 
QuestionWindows Hook for global monitoring Pin
Virtek8-Apr-06 5:34
Virtek8-Apr-06 5:34 
QuestionLink Error in VS6 Pin
Waldermort8-Apr-06 4:30
Waldermort8-Apr-06 4:30 
AnswerRe: Link Error in VS6 Pin
Hamid_RT8-Apr-06 6:00
Hamid_RT8-Apr-06 6: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.