摘要:
VC2010在CMFCToolBar工具栏中加入组合框如何在CMFCToolBar工具栏中加入组合框等控件,且先看在线MSDN上怎么说的:To add a combo box button to a toolbar, follow these steps:1. Reserve a dummy resource ID for the button in the parent toolbar resource.2. Construct aCMFCToolBarComboBoxButton object.3. In the message handler that processes theAFX_ 阅读全文
posted @ 2013-04-02 00:40
MMLoveMeMM
阅读(753)
评论(3)
推荐(0)
摘要:
步骤:<1> : 在CMainFrame类中定义一个变量:保护类型.CProgressCtrl m_progress;<2> : 添加indicator指示器:ID_INDICATOR_PROG<3> : 添加WM_PAINT事件,添加代码如下void CMainFrame::OnPaint(){CPaintDC dc(this); // device context for painting// TODO: Add your message handler code here// Do not call CFrameWndEx::OnPaint() for 阅读全文
posted @ 2013-04-02 00:00
MMLoveMeMM
阅读(2077)
评论(0)
推荐(0)