Click here to Skip to main content
15,886,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Counting items in a file with a C++ program Pin
Rozis24-Jul-09 13:15
Rozis24-Jul-09 13:15 
AnswerRe: Counting items in a file with a C++ program Pin
Joe Woodbury24-Jul-09 14:40
professionalJoe Woodbury24-Jul-09 14:40 
AnswerRe: Counting items in a file with a C++ program Pin
«_Superman_»24-Jul-09 17:37
professional«_Superman_»24-Jul-09 17:37 
QuestionC++ library to send mail via SMTP in HP UNIX Pin
ray_matt24-Jul-09 9:52
ray_matt24-Jul-09 9:52 
AnswerRe: C++ library to send mail via SMTP in HP UNIX Pin
Rozis24-Jul-09 13:19
Rozis24-Jul-09 13:19 
GeneralRe: C++ library to send mail via SMTP in HP UNIX Pin
ray_matt25-Jul-09 6:09
ray_matt25-Jul-09 6:09 
GeneralRe: C++ library to send mail via SMTP in HP UNIX [modified] Pin
ray_matt27-Jul-09 6:02
ray_matt27-Jul-09 6:02 
QuestionHow to enable "Prev Page" button in Print Preview dialog using MFC? Pin
gshen24-Jul-09 9:30
gshen24-Jul-09 9:30 
I created an MFC application and added Printing and Print Preview capability to a CMyFormView derived from CFormView. The problem is that the "Prev Page" and "Zoom Out" buttons on the Print Preview toolbar are always disabled whether the second, third or last page is displayed. The "Next Page" button are always enabled and work correctly.

For the Prev Page button, I set CPrintInfo::SetMaxPage() and CPrintInfo::SetMinPage(). However, this doesnt work to enable the Prev Page button. In debug mode, I could see that CPrintInfo::m_nCurPage value was correct within OnPrint() method when the program is in print preview. Anybody knows how to enable Prev Page button in Print Preview dialog?


Thanks

Sheng

QuestionBest alternative to GDI/GDI+ for simple 2D games Pin
Adassus24-Jul-09 9:16
Adassus24-Jul-09 9:16 
AnswerRe: Best alternative to GDI/GDI+ for simple 2D games Pin
Randor 24-Jul-09 9:27
professional Randor 24-Jul-09 9:27 
AnswerRe: Best alternative to GDI/GDI+ for simple 2D games Pin
Moak25-Jul-09 3:34
Moak25-Jul-09 3:34 
QuestionHow to calculate checksum Pin
resolvequestion24-Jul-09 9:05
resolvequestion24-Jul-09 9:05 
AnswerRe: How to calculate checksum Pin
Emilio Garavaglia24-Jul-09 9:27
Emilio Garavaglia24-Jul-09 9:27 
AnswerRe: How to calculate checksum Pin
«_Superman_»24-Jul-09 17:47
professional«_Superman_»24-Jul-09 17:47 
QuestionSupport asked for virtualising a program in Vista using TokenVirtualizationEnabled using SetTokenInformation Pin
Kees195824-Jul-09 8:57
Kees195824-Jul-09 8:57 
QuestionDSA algorithm Pin
sarroya24-Jul-09 7:38
sarroya24-Jul-09 7:38 
QuestionHow to store array in vector in C++ Pin
resolvequestion24-Jul-09 7:30
resolvequestion24-Jul-09 7:30 
AnswerRe: How to pass array inside Vector in C++ Pin
transoft24-Jul-09 7:57
transoft24-Jul-09 7:57 
AnswerRe: How to store array in vector in C++ Pin
«_Superman_»24-Jul-09 17:59
professional«_Superman_»24-Jul-09 17:59 
QuestionTab control implementation in MFC document / view application. [modified] Pin
Vaclav_24-Jul-09 5:55
Vaclav_24-Jul-09 5:55 
Questionsafely returning classes from functions... when and when not to construct ! Pin
paolosh24-Jul-09 5:04
paolosh24-Jul-09 5:04 
AnswerRe: safely returning classes from functions... when and when not to construct ! Pin
josda100024-Jul-09 8:21
josda100024-Jul-09 8:21 
GeneralRe: safely returning classes from functions... when and when not to construct ! Pin
paolosh24-Jul-09 23:48
paolosh24-Jul-09 23:48 
QuestionBeginner: How to access elements in a Variant array of Variants (8204) Pin
BeerFizz24-Jul-09 4:19
BeerFizz24-Jul-09 4:19 
QuestionReturning large objects from a function without unnecessarily invoking the constructor ! Pin
paolosh24-Jul-09 3:31
paolosh24-Jul-09 3:31 

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.