Print Preview Issue
From: Derek Evan (derek_at_tidalsoft.com)
Date: 05/13/04
- Next message: newscorrespondent_at_charter.net: "CWinApp::SetRegistryKey"
- Previous message: David Lowndes: "Re: Child Dialog window over CFormView"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 14:44:10 -0700
When previewing a multiple page document, the toolbar buttons are not
enabling/disabling correctly.
For example, if I choose Next to get to page 2, the Prev button does not get
enabled for me to go back to page 1. Similarly, if I Zoom In, the Zoom Out
button does not get enabled. It would appear that the ON_UPDATE_COMMAND_UI
message handlers are not being called when they should. Any ideas on how to
resolve this?
In the MFC source code for preview, I see that the following message map is
set up, but the handlers do not seem to get called when they should.
ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_NEXT, OnUpdateNextPage)
ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_PREV, OnUpdatePrevPage)
ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_ZOOMIN, OnUpdateZoomIn)
ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_ZOOMOUT, OnUpdateZoomOut)
- Next message: newscorrespondent_at_charter.net: "CWinApp::SetRegistryKey"
- Previous message: David Lowndes: "Re: Child Dialog window over CFormView"
- Messages sorted by: [ date ] [ thread ]