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

C / C++ / MFC

 
AnswerRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
Michael Schubert22-Jul-09 21:05
Michael Schubert22-Jul-09 21:05 
GeneralRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
#realJSOP22-Jul-09 23:26
mve#realJSOP22-Jul-09 23:26 
GeneralRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
_Maxxx_23-Jul-09 0:17
professional_Maxxx_23-Jul-09 0:17 
AnswerRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
_Maxxx_23-Jul-09 0:11
professional_Maxxx_23-Jul-09 0:11 
QuestionSchedule events in C Pin
Member 70409922-Jul-09 11:00
Member 70409922-Jul-09 11:00 
AnswerRe: Schedule events in C Pin
malaugh22-Jul-09 16:10
malaugh22-Jul-09 16:10 
GeneralRe: Schedule events in C Pin
Member 70409930-Jul-09 10:36
Member 70409930-Jul-09 10:36 
QuestionHow to enable the Prev Page button in PrintPreview dialog? Pin
gshen22-Jul-09 9:11
gshen22-Jul-09 9:11 
I created an MFC application and added Printing and Print Preview capability to a CMyFormView derived from CFormView. The 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 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 corrent within OnPrint() method when the program is in print preview. Anybody knows how to enable Prev Page button in Print Preview dialog?


Thanks

Sheng

Questioncreating a text menu from an ini file in C Pin
alleyes22-Jul-09 8:40
professionalalleyes22-Jul-09 8:40 
AnswerRe: creating a text menu from an ini file in C Pin
Adam Maras22-Jul-09 8:50
Adam Maras22-Jul-09 8:50 
GeneralRe: creating a text menu from an ini file in C Pin
alleyes22-Jul-09 9:05
professionalalleyes22-Jul-09 9:05 
QuestionRe: creating a text menu from an ini file in C Pin
Maximilien22-Jul-09 9:35
Maximilien22-Jul-09 9:35 
AnswerRe: creating a text menu from an ini file in C Pin
alleyes22-Jul-09 10:18
professionalalleyes22-Jul-09 10:18 
AnswerRe: creating a text menu from an ini file in C Pin
Jeremy Falcon22-Jul-09 12:37
professionalJeremy Falcon22-Jul-09 12:37 
Questionwhat is the equivalent command for adLogin.Recordset(0) which is in VB in VC++...Pls help Pin
kokilag22-Jul-09 8:19
kokilag22-Jul-09 8:19 
Question[mfc] start/stop other process Pin
rahuljin22-Jul-09 6:24
rahuljin22-Jul-09 6:24 
AnswerRe: [mfc] start/stop other process Pin
Rajesh R Subramanian22-Jul-09 6:55
professionalRajesh R Subramanian22-Jul-09 6:55 
GeneralRe: [mfc] start/stop other process Pin
rahuljin22-Jul-09 7:23
rahuljin22-Jul-09 7:23 
GeneralRe: [mfc] start/stop other process Pin
Rajesh R Subramanian23-Jul-09 7:50
professionalRajesh R Subramanian23-Jul-09 7:50 
GeneralRe: [mfc] start/stop other process Pin
rahuljin23-Jul-09 9:22
rahuljin23-Jul-09 9:22 
GeneralRe: [mfc] start/stop other process Pin
rahuljin22-Jul-09 10:05
rahuljin22-Jul-09 10:05 
GeneralRe: [mfc] start/stop other process Pin
killabyte22-Jul-09 15:18
killabyte22-Jul-09 15:18 
QuestionHow to set CTabCtrl background colour? Pin
risa0922-Jul-09 4:57
risa0922-Jul-09 4:57 
AnswerRe: How to set CTabCtrl background colour? Pin
omjee26-Nov-09 22:20
omjee26-Nov-09 22:20 
QuestionUser control problem Data bind Pin
beesan22-Jul-09 1:36
beesan22-Jul-09 1:36 

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.