
Xtreme Toolkit界面库
文章平均质量分 71
sendy888
这个作者很懒,什么都没留下…
展开
-
Theme样式类中的各个参数含义
XPCOLOR_TOOLBAR_GRIPPER, XPCOLOR_SEPARATOR, //分割条颜色 XPCOLOR_DISABLED, XPCOLOR_MENUBAR_FACE, //菜单展开后背景色(不包括菜单项前图标部分) XPCOLOR_MENUBAR_BORDER,//菜单项展开后最外围的边框颜色 XPCOLOR_HIGHLIGHT, //菜单或者工具条鼠标选中时原创 2007-07-25 13:21:00 · 1445 阅读 · 0 评论 -
How to Create an Application that has Office Style
step 1:#include step 2:change your base class to be CXTPMDIFrameWnd for MDI applications or CXTPFrameWnd for SDI applications: class CMainFrame : public CXTPFrameWnd{ ...};step 3:If you plan t原创 2007-07-25 15:25:00 · 1336 阅读 · 0 评论 -
Xtreme Toolkit 常用代码
m_myStatic_MenuIcon.Create(_T(""), WS_CHILD|WS_VISIBLE|SS_BITMAP|SS_CENTERIMAGE, CRect(5,5,24,24), pMenuBar,0x1234);m_myStatic_MenuIcon.SetBitmap(::LoadBitmap(AfxGetApp()->m_hInstance,(LPCTSTR)IDB_BI原创 2007-07-28 08:18:00 · 2254 阅读 · 0 评论 -
Xtreme Toolkit创建控件和ReBar
CXTDateTimeCtrl m_monthCal; int CMainFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl) { m_monthCal.Create(WS_TABSTOP | WS_CHILD | WS_VISIBLE | WS_BORDER原创 2007-08-03 22:19:00 · 1420 阅读 · 0 评论 -
托盘程序TrayIcon
CXTTrayIcon m_TrayIcon;在OnCreate()函数里,创建 if (!m_TrayIcon.Create( _T("Power Tools for MFC!"), // Toolktip text this, // Parent window IDR_MAINFRAME, // Icon原创 2007-08-09 10:44:00 · 2795 阅读 · 1 评论 -
浏览对话框的实现
方法1:使用Xtreme Toolkit界面库中的CXTBrowseDialog 控件 if (UpdateData(TRUE)) { CXTBrowseDialog dlg; dlg.SetTitle(_T("Select Your Directory")); if (!m_strDirectory.IsEmpty()) { TCHAR path[_MAX_PATH]; ST原创 2007-08-09 09:34:00 · 942 阅读 · 0 评论