Location:
Search - viewb
Search list
Description: 在Framework中显示一个View。通过菜单或按钮切换成不同的view。假设有三种view: CViewA, CViewB,CViewC。用三个常数表示他们不显示时的control ID.
enum eView {ViewA, ViewB, ViewC}
在CMainFrame 加上下面一个函数就可以实现不同窗口的切换了。很易懂,唯一没有说的就是CCreateContext context,这是每次Create一个view时必须设定的。其实也就是m_pCurrentDoc这个指向当前document class的指针需要设定,其它的取默认值就可以了。
Platform: |
Size: 34705 |
Author: 孙伟 |
Hits:
Description: 可以查看windows ce 下的nk.bin文件。其他的请察看源码-can check the windows ce document nk.bin. Please see the other FOSS
Platform: |
Size: 2048 |
Author: abc |
Hits:
Description: 在Framework中显示一个View。通过菜单或按钮切换成不同的view。假设有三种view: CViewA, CViewB,CViewC。用三个常数表示他们不显示时的control ID.
enum eView {ViewA, ViewB, ViewC}
在CMainFrame 加上下面一个函数就可以实现不同窗口的切换了。很易懂,唯一没有说的就是CCreateContext context,这是每次Create一个view时必须设定的。其实也就是m_pCurrentDoc这个指向当前document class的指针需要设定,其它的取默认值就可以了。-Framework shown in a View. Through the menu or button to switch into a different view. Assuming there are three view: CViewA, CViewB, CViewC. Three constants that they do not show when the control ID.enum eView (ViewA, ViewB, ViewC) to add the following in CMainFrame can realize a function of switching a different window. Very easy to understand, the only did not say is CCreateContext context, it is per-Create a view must be set. In fact, that is, m_pCurrentDoc this point to the current document class needs to set the pointer, the other from the default value of it.
Platform: |
Size: 34816 |
Author: 孙伟 |
Hits: