开发者

How do you add a new form to an existing c++ project?

I want to add a new form which loads at startup on a开发者_如何学编程n existing command line c++ project , how do i go about this ?


right click on project->add->New Item->select UI under Visual c++

You have to compile your app as CLR, to use win forms. Then from your exe's startup code, instantiate this form's object and then use objDlg->ShowDialog(). Its pretty much same

And clr option may not be compatible with MTd and few others(?)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜