简体   繁体   English

在Visual Studio 2008中集成wxwidgets

[英]Integrating wxwidgets in visual studio 2008

I want to make window-base application in c++, I have listen about wxwidgets. 我想用C ++制作基于窗口的应用程序,我听说过wxwidgets。

Can any one tell me how can I use wxwidgets library in my application, any link or tutorial which give me direction. 谁能告诉我如何在我的应用程序中使用wxwidgets库,任何给我方向的链接或教程。

This is a gentle introduction to wxWidgets in a Microsoft environment. 是对Microsoft环境中wxWidgets的简要介绍。 Browse the other stackoverflow questions tagged with wxwidgets too. 也浏览其他用wxwidgets标记的stackoverflow问题。

The best way, in my opinion, to do this is to look at the samples located in your wxwidgets' "samples" directory, which has sample code for basically all of their widgets. 我认为,执行此操作的最佳方法是查看位于wxwidgets的“示例”目录中的示例,该目录具有基本上所有其小部件的示例代码。

In VS, make sure to change your linker subsystem target by going to project->properties->linker->System and changing subsystem to "Windows (/SUBSYSTEM:WINDOWS)" 在VS中,请确保通过转到project-> properties-> linker-> System并将子系统更改为“ Windows(/ SUBSYSTEM:WINDOWS)”来更改链接器子系统目标。

The rest is pretty standard. 其余的很标准。 Include the .h files for the widgets you plan to use. 包括您计划使用的小部件的.h文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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