Professional UI Solutions
Site Map   /  Register


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 General Discussion » Print Preview problem in ReportGrid ProfUIS Version 2.64? Collapse All
Subject Author Date
Nan dhini May 18, 2007 - 10:57 PM

i set Grid for Resizable Dialog,i want to set the Print and Printview option for that dialog.But i don’t know how to set.Please help me.

Thanks and Regards,

Nan dhini May 21, 2007 - 10:58 PM

PrintPreview have a magnify Option.Magnify is similiar to Zoom Option.Onclick of magnify,i’m getting this error.

Microsoft Visual C++ Debug Library
Debug Assertion Failed!

Program: F:\Bin_600\ReportGrid-ynd.exe
File: viewcore.cpp
Line: 252

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
Abort Retry Ignore

its ignored,its working fine.

Thanks and Regards,

Technical Support May 22, 2007 - 7:31 AM

We confirm this issue exists in v.2.64 when using a print-preview-able grid window in a modal dialog displayed over the main frame window. This issue is fixed in v.2.70.

Nan dhini May 20, 2007 - 9:50 PM

Ok thank u very much,its working fine.set the print and PrintPreview option for that resizable dialog.but onclick of maginify its giving error.its ignored its working fine.i don’t konow how to avoid that error. Is their any option for that.

Thanks and Regards,

Technical Support May 21, 2007 - 9:35 AM

Please provide us with more details about the error: a screenshot, the call stack, and anything other information that can help us find out what’s wrong. Thank you.

Technical Support May 19, 2007 - 10:10 AM

Please use the CExtPPVW < CExtGridWnd > template-based type instead of the CExtGridWnd class type. You won’t be able to print the grid otherwise. Besides, you should override the OnCmdMsg() virtual method in your dialog class:

BOOL CYourDialogClass::OnCmdMsg(UINT nID, INT nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo) 
      if( m_wndGrid.OnCmdMsg( nID, nCode, pExtra, pHandlerInfo) )
            return TRUE;
      return CBaseClass::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);