Click here to Skip to main content
15,914,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: my c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud8-Sep-08 11:59
ybenaabud8-Sep-08 11:59 
QuestionRe: my c++ application cannot allocate more than 400MB with new[] Pin
David Crow8-Sep-08 15:42
David Crow8-Sep-08 15:42 
AnswerRe: my c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud9-Sep-08 11:03
ybenaabud9-Sep-08 11:03 
GeneralRe: my c++ application cannot allocate more than 400MB with new[] Pin
David Crow9-Sep-08 17:58
David Crow9-Sep-08 17:58 
NewsCHttpConnection OpenRequest SendRequest [modified] Pin
dehseth6-Sep-08 4:43
dehseth6-Sep-08 4:43 
QuestionHow can repaint a view? Pin
Le@rner6-Sep-08 1:56
Le@rner6-Sep-08 1:56 
AnswerRe: How can repaint a view? Pin
bob169726-Sep-08 5:46
bob169726-Sep-08 5:46 
AnswerRe: How can repaint a view? Pin
bob169726-Sep-08 5:58
bob169726-Sep-08 5:58 
Also, If you want to explicitly force a redraw of your client area like when you change the text that will get output on the next draw, you can call CWnd::Invalidate() to invalidate the entire client area or CWnd::InvalidateRect() if only a portion needs to be redrawn.

Note that this only invalidates it. The OnDraw() method will not get called until the message loop processes the next draw request. Normally this is soon enough not to notice any delay. However, if you need it to force an immediate refresh, you can call CWnd::UpdateWindow() to redraw the invalidated rectangle or CWnd::RedrawWindow() whose actions depend on the flags passed in.

NOTE: CWnd::UpdateWindow and CWnd::RedrawWindow are not normally used unless you have special needs. Most drawing code should simply allow the message loop to call your OnDraw() when it can to prevent delays in processing other messages.
AnswerRe: How can repaint a view? Pin
Cedric Moonen6-Sep-08 7:40
Cedric Moonen6-Sep-08 7:40 
QuestionUpdateData giving run time error Pin
Dhiraj kumar Saini6-Sep-08 0:31
Dhiraj kumar Saini6-Sep-08 0:31 
AnswerRe: UpdateData giving run time error Pin
Gary R. Wheeler6-Sep-08 1:24
Gary R. Wheeler6-Sep-08 1:24 
GeneralRe: UpdateData giving run time error Pin
Dhiraj kumar Saini6-Sep-08 1:33
Dhiraj kumar Saini6-Sep-08 1:33 
GeneralRe: UpdateData giving run time error Pin
Gary R. Wheeler6-Sep-08 2:11
Gary R. Wheeler6-Sep-08 2:11 
GeneralRe: UpdateData giving run time error Pin
Dhiraj kumar Saini6-Sep-08 3:00
Dhiraj kumar Saini6-Sep-08 3:00 
GeneralRe: UpdateData giving run time error Pin
David Crow8-Sep-08 4:16
David Crow8-Sep-08 4:16 
AnswerRe: UpdateData giving run time error Pin
Cedric Moonen6-Sep-08 1:27
Cedric Moonen6-Sep-08 1:27 
QuestionFailed to Create Empty Document [modified] Pin
Sachindra Kumar Shukla5-Sep-08 23:24
Sachindra Kumar Shukla5-Sep-08 23:24 
QuestionCopying a file Pin
programming.student5-Sep-08 21:47
programming.student5-Sep-08 21:47 
AnswerRe: Copying a file Pin
Cedric Moonen5-Sep-08 22:12
Cedric Moonen5-Sep-08 22:12 
AnswerRe: Copying a file Pin
Perspx5-Sep-08 22:45
Perspx5-Sep-08 22:45 
QuestionThreads Problem Pin
Dhiraj kumar Saini5-Sep-08 19:23
Dhiraj kumar Saini5-Sep-08 19:23 
AnswerRe: Threads Problem Pin
Cedric Moonen5-Sep-08 22:09
Cedric Moonen5-Sep-08 22:09 
QuestionCPrintDialog::GetPrinterDC question Pin
followait5-Sep-08 17:28
followait5-Sep-08 17:28 
AnswerRe: CPrintDialog::GetPrinterDC question Pin
Rane5-Sep-08 19:01
Rane5-Sep-08 19:01 
QuestionCalling functions in an executable or accessing its global variables from a DLL Pin
Ben Burnett5-Sep-08 12:09
Ben Burnett5-Sep-08 12:09 

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.