Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Print Preview Collapse All
Subject Author Date
Massimo Germi Jun 7, 2007 - 2:27 AM

Hi to all,
How can I setup print preview mode when CExtGridWnd is a child control of a CView based window?
Here is my situation:
- MDI apps without document / view architecture;
- CWnd based view;
- CExtGridWnd is a child control of parent window and was created with Create method.

I would like to have a button to set/unset print preview in CExtGridWnd control.

Tx

Technical Support Jun 7, 2007 - 11:27 AM

You can achieve this by applying the CExtPPVW template:

CExtPPVW < CExtGridWnd >
You can see how it is used in the SimpleGrids sample, in which grid windows are pages of the tab page container. The Prof-UIS_Controls (the Grid tab) may also be helpful.