Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I read the CprintDialogEX Class in http://msdn.microsoft.com/en-us/library/3f1ccd1t(v=vs.71).aspx
I followed what it just said..I create a class(CPrinterDlg) and derive CPrintDialogEx. On another Class where CPrinterDlg is included I write this
CPrinterDlg l_PrintDlg(PD_PAGENUMS | PD_ALLPAGES | PD_SELECTION, NULL) ;
and call the DoModal function. The Print Dialog Showed but the Pages and Selection Radio Button are still disabled.
I tried using the m_pdex to set the flag(PD_PAGENUMS | PD_ALLPAGES | PD_SELECTION) but the Print Dialog Doesn't Show.

WHat should I do to Enable atleast the Pages radio button?
Please help me..
P.S. I'm using PrintDialogEx because PrintDialog doesn't permit printing range like "1,3,5,8", it's limited to something like "1 to 10".
Posted

1 solution

Take a look here... I'm sure that this article[^] from Roger Allen[^] will help you to achieve what you want.

HTH & Good luck... :thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900