简体   繁体   中英

how to move from one form to another in MFC

我正在使用MFC应用程序控件设计设置向导...如何通过单击click.plz从一种形式移动到另一种形式

This is kind of an indirect answer to your question -- its been a few years since I've done MFC.

Get your hands on a book called "MFC Internals" by Scot Wingo, George Shepherd and Dean McCrory (Amazon: http://www.amazon.ca/MFC-Internals-Microsoft-Foundation-Architecture/dp/0201407213 ). Its kind of old (but so is MFC), but it does have the answers.

I thought that MFC had a built-in class or set of classes for handling wizards. All you have to do is create the various pages of the wizard and the main class handles the rest.

Anyway, get the book and go from there.

The MFC class kmontgom was thinking of is CPropertysheet .

To create a wizard-type dialog box, follow the same steps you would follow to create a standard property sheet, but call SetWizardMode before you call DoModal. To enable the wizard buttons, call SetWizardButtons, using flags to customize their function and appearance. To enable the Finish button, call SetFinishText after the user has taken action on the last page of the wizard.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM