文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Fusion App Basic Mechnism (updating)

Fusion App Basic Mechnism (updating)

时间:2010-10-27  来源:能巴

1. Firstly, there is a application project in C++ which contains the real MFC FusionApp inherited finally from CWinApp and it give birth to the final app Fusion.exe. As a MFC app does, when running Fusion.exe, the global FusionApp object will be created firstly, but it actually itself does nothing but: create a C# application object which actually does the app startup work.

2. About message handling, as the app is a MFC app, so every message / event happened on the App UI will firstly be a MFC message. But internally, by C++/CLI, all need-to-handle messages will be redirected to the internal dotNet based event manager and trigger dotNet event instead, and trigger dotNet event handlers registered to finally react to the UI messages. Isn't it cool?

相关阅读 更多 +
排行榜 更多 +
暗区地铁逃生

暗区地铁逃生

飞行射击 下载
怪兽战争模拟器

怪兽战争模拟器

飞行射击 下载
骑马狩猎模拟器

骑马狩猎模拟器

飞行射击 下载