Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - CMainFrame
Search - CMainFrame - List
状态栏的应用(CMainFrame类的应用)-状态栏对象归属于主框架对象-status bar application (CMainFrame kind of application) - status bar object belongs to the main frame object
Date : 2008-10-13 Size : 44.33kb User : 刘东

本程序是利用WTL的 CSplitterWindow 和 CHorSplitterWindow 把 CMainFrame 分隔而成。-this procedure is the use WTL CSplitterWindow and put CMainFrame CHorSplitterWindow partitioned.
Date : 2008-10-13 Size : 37.05kb User : 王明

本程序是利用WTL的 CSplitterWindow 和 CHorSplitterWindow 把 CMainFrame 分隔而成。-this procedure is the use WTL CSplitterWindow and put CMainFrame CHorSplitterWindow partitioned.
Date : 2025-12-24 Size : 37kb User : 王明

CToolBar 扩展类 CToolBarEx。程序中的工具条是在CMainFrame中生成的,采用的类是CToolBar,使用起来很复杂。为此,对CToolBar的常用功能进行封装,生成了它的一个继承类CToolBarEx,大大简化了操作。-CToolBar category to expand CToolBarEx. Process tool is in the CMainFrame generated, using the category is CToolBar, very complicated to use. For this reason, the commonly used functions CToolBar package generated one of its type to inherit CToolBarEx, greatly simplifies the operation.
Date : 2025-12-24 Size : 42kb User : zzh

怎么才能使主界面一启动就隐藏窗口 对话框 可以在对话框中重载虚函数DefWindowProc[]。 LRESULT CMyDlg::DefWindowProc[UINT message, WPARAM wParam, LPARAM lParam] { if[message==133] ShowWindow[SW_HIDE] return CDialog::DefWindowProc[message, wParam, lParam] } 框架 BOOL CMainFrame::PreCreateWindow[CREATESTRUCT& cs] { cs.style=WS_POPUO //使得主界面不可见 cs.dwExStyle |= WS_EX_TOOLWINDOW //不显示任务按钮 if[ !CFrameWnd::PreCreateWindow[cs] ] return FALSE return TRUE } -How to make one start on the main interface window of the dialog box can be hidden in the dialog box overloaded virtual function DefWindowProc []. LRESULT CMyDlg:: DefWindowProc [UINT message, WPARAM wParam, LPARAM lParam] [if [message == 133] ShowWindow [SW_HIDE] return CDialog:: DefWindowProc [message, wParam, lParam] ] framework BOOL CMainFrame:: PreCreateWindow [CREATESTRUCT & cs] [cs.style = WS_POPUO // enable the main interface is not visible cs.dwExStyle | = WS_EX_TOOLWINDOW // mission button is not displayed if [! CFrameWnd:: PreCreateWindow [cs]] return FALSE return TRUE ]
Date : 2025-12-24 Size : 36kb User : piit_9
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.