Welcome![Sign In][Sign Up]
Location:
Search - LuaCombineVc

Search list

[OS programBoostTest

Description: 编写过MFC程序的朋友都知道,通过资源编辑器编辑菜单项,设定菜单项ID,然后MFC内部通过该ID来映射菜单命令处理函数和菜单界面更新函数。我设想撇开MFC的资源编辑,在MFC程序中通过xml文件来进行界面配置,然后利用字符串来映射消息处理函数。借助boost库,我实现了这一设想。具体就是在xml文件指定一个字符串,然后通过这个字符串就能找到它的命令消息处理函数和界面更新命令消息处理函数。-MFC write-off procedures friends all know, through the resource editor to edit the menu item, set the menu item ID, and MFC-house by the ID to map menu and menu command handling function update function. I imagine MFC resource editor aside, the MFC program carried out by the interface configuration xml file, and then use the string to map the message processing function. Using boost libraries, I realized that vision. Specific xml file is to specify a string, then the string can find its command message processing functions and interface update command message processing function.
Platform: | Size: 11309056 | Author: 朱小明 | Hits:

[OS programLuaCombineVc

Description: Lua语言以其卓越的可扩展性、简单、高效率和与平台无关性在游戏领域得到广泛应用。今天花了一些时间学习VC和Lua如何混合开发,编写了一个小例程,和大家分享一下这方面的经验。-Lua language for its excellent scalability, simple, efficient and platform-independent nature of the field has been widely used in the game. Spent some time today learning how to mix VC and Lua Development, wrote a small routine, and we share this experience.
Platform: | Size: 3317760 | Author: 朱小明 | Hits:

CodeBus www.codebus.net