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

C / C++ / MFC

 
GeneralRe: Help plz Pin
Christian Graus21-May-01 11:36
protectorChristian Graus21-May-01 11:36 
GeneralOnNewDocument fails with three-way splitter! Pin
Ingemar Andre21-May-01 7:00
Ingemar Andre21-May-01 7:00 
GeneralRe: OnNewDocument fails with three-way splitter! Pin
Tomasz Sowinski21-May-01 7:11
Tomasz Sowinski21-May-01 7:11 
GeneralRe: OnNewDocument fails with three-way splitter! Pin
Ingemar Andre22-May-01 1:23
Ingemar Andre22-May-01 1:23 
GeneralRe: OnNewDocument fails with three-way splitter! Pin
Tomasz Sowinski22-May-01 1:42
Tomasz Sowinski22-May-01 1:42 
GeneralRe: OnNewDocument fails with three-way splitter! Pin
Ingemar Andre22-May-01 22:57
Ingemar Andre22-May-01 22:57 
GeneralSDI Splitter. how to print/prev one view Pin
Chris Losinger21-May-01 6:14
professionalChris Losinger21-May-01 6:14 
GeneralRe: SDI Splitter. how to print/prev one view Pin
Tomasz Sowinski21-May-01 6:32
Tomasz Sowinski21-May-01 6:32 
Disclaimer: I'm in the middle of very long compile - can't really test this, so treat the solution with care Smile | :)

On a frame window level, override the OnCmdMsg virtual function. Implementation should check for ID_PRINT* messages and forward them directly to 'printing' view by calling its OnCmdMsg. Otherwise, call CFrameWnd::OnCmdMsg.

You can't play with OnCmdMsg on document level - this will cause recursion, stack overflow and crash.

Hope this helps Smile | :)

Tomasz Sowinski -- http://www.shooltz.com.pl
GeneralAdditional Toolbar in WinCE Pin
21-May-01 5:50
suss21-May-01 5:50 
GeneralRe: Additional Toolbar in WinCE Pin
Anders Molin21-May-01 6:44
professionalAnders Molin21-May-01 6:44 
QuestionFixed Size Formview ??? Pin
2sky21-May-01 5:40
2sky21-May-01 5:40 
AnswerRe: Fixed Size Formview ??? Pin
Igor Sukhov21-May-01 8:00
Igor Sukhov21-May-01 8:00 
GeneralRe: Fixed Size Formview ??? Pin
2sky21-May-01 10:37
2sky21-May-01 10:37 
GeneralRe: Fixed Size Formview ??? Pin
Igor Sukhov21-May-01 10:52
Igor Sukhov21-May-01 10:52 
GeneralRe: Fixed Size Formview ??? Pin
2sky21-May-01 11:15
2sky21-May-01 11:15 
GeneralColours Pin
21-May-01 5:38
suss21-May-01 5:38 
GeneralRe: Colours Pin
Igor Sukhov21-May-01 7:52
Igor Sukhov21-May-01 7:52 
GeneralHEEELP!!!! Pin
21-May-01 4:51
suss21-May-01 4:51 
GeneralRe: HEEELP!!!! Pin
Tomasz Sowinski21-May-01 5:06
Tomasz Sowinski21-May-01 5:06 
GeneralRe: HEEELP!!!! Pin
Tomasz Sowinski21-May-01 5:14
Tomasz Sowinski21-May-01 5:14 
GeneralChanging Version Number of ActiveX Ctlr Pin
Bartek21-May-01 3:29
Bartek21-May-01 3:29 
GeneralRe: Changing Version Number of ActiveX Ctlr Pin
2sky21-May-01 6:18
2sky21-May-01 6:18 
GeneralDatabase Pin
Richard Hudson21-May-01 2:40
Richard Hudson21-May-01 2:40 
GeneralRe: Database Pin
Tomasz Sowinski21-May-01 4:12
Tomasz Sowinski21-May-01 4:12 
GeneralUsing DAO and ADO in ATL Service Pin
yamini21-May-01 2:29
yamini21-May-01 2:29 

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.