Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQuestion on OCX Pin
prgrmr29-Jul-04 15:29
prgrmr29-Jul-04 15:29 
QuestionCPropertySheet - how to abort OnOK? Pin
Max Santos29-Jul-04 14:36
Max Santos29-Jul-04 14:36 
AnswerRe: CPropertySheet - how to abort OnOK? Pin
Ryan Binns29-Jul-04 18:24
Ryan Binns29-Jul-04 18:24 
Generaladding shared_ptr to CListCtrl::SetItemData Pin
Shielsy1029-Jul-04 14:19
Shielsy1029-Jul-04 14:19 
GeneralRe: adding shared_ptr to CListCtrl::SetItemData Pin
palbano29-Jul-04 18:07
palbano29-Jul-04 18:07 
GeneralRe: adding shared_ptr to CListCtrl::SetItemData Pin
Shielsy1029-Jul-04 23:36
Shielsy1029-Jul-04 23:36 
Generalcopying a complete partition Pin
X204029-Jul-04 14:18
X204029-Jul-04 14:18 
GeneralPrint Preview buttons are not being enabled Pin
Shielsy1029-Jul-04 14:18
Shielsy1029-Jul-04 14:18 
Hello,

I have created an MFC application and have added Printing and Print Preview capability. The only problem i have is that the "Prev Page" and "Zoom Out" buttons on the Print Preview toolbar are always disabled. The "Two Pages" button and "Next Page" are enabled and work correctly.

For the Prev page button, I am setting the CPrintInfo::SetMaxPage() and CPrintInfo::SetMinPage() and CPrintInfo::m_nCurPage values in OnPreparePrinting() but this doesnt seem to make a difference. Also, shouldnt the Zoom Out button be enabled once ive clicked Zoom In???

Is their anything else that i can try which will enable these button?

Thanks

Andy

GeneralWizard question..Please Help Pin
ben229-Jul-04 13:48
ben229-Jul-04 13:48 
QuestionHow to auto configure the 802.11 wireless lan adaptor Pin
Member 119359929-Jul-04 13:29
Member 119359929-Jul-04 13:29 
GeneralCompiling a single cpp file Pin
tentons29-Jul-04 13:02
tentons29-Jul-04 13:02 
GeneralRe: Compiling a single cpp file Pin
Nemanja Trifunovic29-Jul-04 13:51
Nemanja Trifunovic29-Jul-04 13:51 
GeneralRe: Compiling a single cpp file Pin
vmaltsev30-Jul-04 3:48
vmaltsev30-Jul-04 3:48 
QuestionHow to make a button like MSN sign in button Pin
Dody_DK29-Jul-04 11:20
Dody_DK29-Jul-04 11:20 
AnswerRe: How to make a button like MSN sign in button Pin
Ravi Bhavnani29-Jul-04 12:39
professionalRavi Bhavnani29-Jul-04 12:39 
GeneralControls in Visual C++ 6.0 Pin
femcoder29-Jul-04 10:12
femcoder29-Jul-04 10:12 
GeneralRe: Controls in Visual C++ 6.0 Pin
Jaime Stuardo29-Jul-04 10:23
Jaime Stuardo29-Jul-04 10:23 
GeneralRe: Controls in Visual C++ 6.0 Pin
femcoder29-Jul-04 10:31
femcoder29-Jul-04 10:31 
GeneralCant insert breakpoints Pin
Wheatbread29-Jul-04 9:38
Wheatbread29-Jul-04 9:38 
GeneralRe: Cant insert breakpoints Pin
wb29-Jul-04 10:50
wb29-Jul-04 10:50 
GeneralRe: Cant insert breakpoints Pin
Wheatbread29-Jul-04 10:53
Wheatbread29-Jul-04 10:53 
GeneralRe: Cant insert breakpoints Pin
wb29-Jul-04 10:58
wb29-Jul-04 10:58 
GeneralRe: Cant insert breakpoints Pin
Jaime Stuardo29-Jul-04 10:58
Jaime Stuardo29-Jul-04 10:58 
GeneralRe: Cant insert breakpoints Pin
Wheatbread30-Jul-04 4:51
Wheatbread30-Jul-04 4:51 
GeneralRe: Cant insert breakpoints Pin
Jaime Stuardo30-Jul-04 8:34
Jaime Stuardo30-Jul-04 8:34 

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.