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

C / C++ / MFC

 
QuestionIn MFC, when opening a file or creating a file, is WM_PAINT generated? Pin
rainclear4-Dec-13 10:12
professionalrainclear4-Dec-13 10:12 
AnswerRe: In MFC, when opening a file or creating a file, is WM_PAINT generated? Pin
Richard Andrew x644-Dec-13 16:02
professionalRichard Andrew x644-Dec-13 16:02 
My best guess is that the framework is drawing the view because a new document has just been loaded into it.

What is it you are trying to achieve?

Probably the only thing you can change is how the message is handled, not that the message is received.

Override the CView's OnWndMsg function to alter how any message is handled.



The difficult we do right away...
...the impossible takes slightly longer.

AnswerRe: In MFC, when opening a file or creating a file, is WM_PAINT generated? Pin
Richard MacCutchan4-Dec-13 22:07
mveRichard MacCutchan4-Dec-13 22:07 
GeneralRe: In MFC, when opening a file or creating a file, is WM_PAINT generated? Pin
rainclear5-Dec-13 4:09
professionalrainclear5-Dec-13 4:09 
AnswerRe: In MFC, when opening a file or creating a file, is WM_PAINT generated? Pin
rainclear5-Dec-13 5:20
professionalrainclear5-Dec-13 5:20 
AnswerRe: In MFC, when opening a file or creating a file, is WM_PAINT generated? Pin
xspace_time9-Dec-13 14:42
xspace_time9-Dec-13 14:42 
QuestionEfficient and Faster way to do 2x2 binning of a matrix Pin
Kiran Satish4-Dec-13 7:11
Kiran Satish4-Dec-13 7:11 
AnswerRe: Efficient and Faster way to do 2x2 binning of a matrix Pin
jschell4-Dec-13 11:24
jschell4-Dec-13 11:24 
Questionc++ upd brodcast client Pin
arishri3-Dec-13 2:57
arishri3-Dec-13 2:57 
QuestionRe: c++ upd brodcast client Pin
jeron13-Dec-13 3:34
jeron13-Dec-13 3:34 
AnswerRe: c++ upd brodcast client Pin
arishri3-Dec-13 3:40
arishri3-Dec-13 3:40 
GeneralRe: c++ upd brodcast client Pin
jeron13-Dec-13 4:01
jeron13-Dec-13 4:01 
GeneralRe: c++ upd brodcast client Pin
arishri3-Dec-13 4:11
arishri3-Dec-13 4:11 
GeneralRe: c++ upd brodcast client Pin
jeron13-Dec-13 4:21
jeron13-Dec-13 4:21 
GeneralRe: c++ upd brodcast client Pin
arishri3-Dec-13 4:13
arishri3-Dec-13 4:13 
GeneralRe: c++ upd brodcast client Pin
jeron13-Dec-13 4:29
jeron13-Dec-13 4:29 
AnswerRe: c++ upd brodcast client Pin
Member 104421753-Dec-13 21:25
professionalMember 104421753-Dec-13 21:25 
Questionpointer to pointer Pin
messages2-Dec-13 7:13
messages2-Dec-13 7:13 
AnswerRe: pointer to pointer Pin
Joe Woodbury2-Dec-13 8:56
professionalJoe Woodbury2-Dec-13 8:56 
Question[SOLVED] Capture CAM using Media Foundation Pin
Django_Untaken2-Dec-13 5:27
Django_Untaken2-Dec-13 5:27 
QuestionHow to add the number to the shortcut in the desktop of the application. Pin
yu-jian2-Dec-13 3:32
yu-jian2-Dec-13 3:32 
QuestionRe: How to add the number to the shortcut in the desktop of the application. Pin
Richard MacCutchan2-Dec-13 5:14
mveRichard MacCutchan2-Dec-13 5:14 
QuestionRe: How to add the number to the shortcut in the desktop of the application. Pin
jeron12-Dec-13 5:40
jeron12-Dec-13 5:40 
AnswerRe: How to add the number to the shortcut in the desktop of the application. Pin
yu-jian2-Dec-13 5:55
yu-jian2-Dec-13 5:55 
QuestionRe: How to add the number to the shortcut in the desktop of the application. Pin
jeron12-Dec-13 6:06
jeron12-Dec-13 6:06 

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.