请问如何给Dialog based工程添加Toolbar?

demo001 2004-04-11 10:00:15
在下通过Classwizard建立一个Dialog based程序
添加了Toolbar资源,并且在对话框类的::OnCreate(LPCREATESTRUCT lpCreateStruct)中添加if (CDialog::OnCreate(lpCreateStruct) == -1)
return -1;
m_ToolBar.Create(this,WS_CHILD|WS_VISIBLE|CBRS_TOP,AFX_IDW_TOOLBAR);
m_ToolBar.LoadToolBar(IDR_DRAWTOOLBAR);
return 0;

结果并不能创建Toolbar

而如果是一个SDI工程,在CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)中添加相同的语句,就可以建立Toolbar了

请教各位,这是为什么呢?如何给Dialog based工程添加Toolbar呢?小生谢过!
...全文
470 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
badguy2002 2004-04-11
  • 打赏
  • 举报
回复
因为vc中默认不支持对话框中拥有工具栏,所以你那样做是不行的,需要自己做,就按照上面说的方法
_foo 2004-04-11
  • 打赏
  • 举报
回复
Q:如何在对话框中加入工具条

在 OnInitDialog 中加入下面代码: BOOL CYourDlg::OnInitDialog()
{
CDialog::OnInitDialog();

// Create the toolbar. To understand the meaning of the styles used, you
// can take a look at the MSDN for the Create function of the CToolBar class.

ToolBar.Create(this, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_TOOLTIPS |CBRS_FLYBY | CBRS_BORDER_BOTTOM);

// I have assumed that you have named your toolbar''s resource as IDR_TOOLBAR1.
// If you have given it a different name, change the line below to accomodate
// that by changing the parameter for the LoadToolBar function.

ToolBar.LoadToolBar(IDR_TOOLBAR1);

CRect rcClientStart;
CRect rcClientNow;
GetClientRect(rcClientStart);


// To reposition and resize the control bar

RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST,0, reposQuery, rcClientNow);
CPoint ptOffset(rcClientNow.left - rcClientStart.left,rcClientNow.top-rcClientStart.top);

CRect rcChild;
CWnd* pwndChild = GetWindow(GW_CHILD);

while (pwndChild)
{
pwndChild->GetWindowRect(rcChild);
ScreenToClient(rcChild);
rcChild.OffsetRect(ptOffset);
pwndChild->MoveWindow(rcChild, FALSE);
pwndChild = pwndChild->GetNextWindow();
}
CRect rcWindow;
GetWindowRect(rcWindow);
rcWindow.right += rcClientStart.Width() - rcClientNow.Width();
rcWindow.bottom += rcClientStart.Height() - rcClientNow.Height();
MoveWindow(rcWindow, FALSE);

// And position the control bars
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);

return TRUE; // return TRUE unless you set the focus to a control
}

badguy2002 2004-04-11
  • 打赏
  • 举报
回复
url:http://cpc.3322.net/technology/index.html
在对话框中加入工具栏
苏水荣

  工具栏(ToolBar)是一种非常方便的控件,能大大增加用户操作的效率,但是基于对话框的程序,却不能像使用编辑框(Edit Box)和列表框(List Box)一样,方便地增加工具栏控件。本文将介绍一种在对话框中加入工具栏的方法。


  一、 技术要点分析


  所有的Windows控件(包括工具栏、编辑框等)都派生自CWnd类,这就意味着,我们可以用窗口类的Create()函数把它们“创建”并显示到另一个窗口(例如对话框)上。把工具栏加入到对话框中正是使用了这样的一种方法。

  通常,我们使用CToolBarCtrl类(派生自CWnd类)来创建并管理工具栏控件。使用这个类创建一条工具栏的一般步骤如下:

  1.派生一个CToolBarCtrl的对象;

  2.调用CToolBarCtrl::Create函数创建工具栏对象;

  3.调用CToolBarCtrl::AddBitmap()和CToolBarCtrl::AddString()为工具栏对象加入位图和提示信息;

  4.派生一个TBUTTON数组对象进行工具栏中各按钮的具体设置;

  5.修改主窗口的OnNotify()函数,以显示工具栏上的提示信息。

  以上步骤在下面的范例代码中会有具体体现。


  二、 范例程序的建立与主要代码分析


  利用Visual C++ 的向导生成一个基于对话框的程序,命名为ToolBarInDial。修改主对话框样式如图1。绘出一条工具栏的位图并建立一选单,设置几个子选单项,然后建立一组工具栏的提示信息串(String Table),一旦鼠标在工具栏某项上停留,就会显示提示信息。下面给出程序中的主要代码。

  在主对话框CToolBarInDialDlg的类定义中有如下的变量说明:

  CToolBarCtrl ToolBar;

  int ButtonCount;

  int ButtonBitmap;

  BOOL DoFlag;

  TBUTTON m_Button[5];

  //设置工具栏上具体信息的变量数组

  //主对话框的初始化函数

  BOOL CToolBarInDialDlg::OnInitDialog()

  {

  RECT rect;

  //设置工具栏的显示范围

  rect.top=0; rect.left=0; rect.right=48; rect.bottom=16;

  ToolBar.Create(WS_CHILD|WS_VISIBLE|CCS_TOP|TBSTYLE_TOOLTIPS|CCS_ADJUSTABLE,rect,this,0);

  //建立工具栏并设置工具栏的样式

  ButtonBitmap=ToolBar.AddBitmap(5,IDB_PLAY); //加入工具栏的位图

  ButtonString=ToolBar.AddString(IDS_FIRST);//加入工具栏的提示信息

  //以下代码开始设置各具体的按钮

  m_Buttons[ButtonCount].iBitmap=

  ButtonBitmap+ButtonCount; //ButtonCount初值为0

  m_Buttons[ButtonCount].idCommand=ID_PLAY; //工具栏与选单上某子项对应

  m_Buttons[ButtonCount].fsState=TBSTATE_ENABLED;

  //设置工具栏按钮为可选

  m_Buttons[ButtonCount].fsStyle=TBSTYLE_BUTTON;

  //设置工具栏按钮为普通按钮

  m_Buttons[ButtonCount].dwData=0;

  m_Buttons[ButtonCount].iString=IDS_LAST;

   ++ButtonCount;

  //类似地设置第二个按钮

  m_Buttons[ButtonCount].iBitmap=ButtonBitmap+ButtonCount;

  m_Buttons[ButtonCount].idCommand=ID_STOP;

  m_Buttons[ButtonCount].fsState=TBSTATE_ENABLED;

  m_Buttons[ButtonCount].fsStyle=TBSTYLE_BUTTON;

  m_Buttons[ButtonCount].dwData=0;

  m_Buttons[ButtonCount].iString=IDS_NEXT;

  ++ButtonCount;

  ……//省略设置剩下的按钮的代码

   ToolBar.AddButtons(ButtonCount,m_Buttons);

  //为工具栏加入按钮并显示在对话框中

   return TRUE;

  }

  //当鼠标在工具栏上停留时,调用这个函数来显示提示信息

  BOOL CToolBarInDialDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULTpResult)

  {

  TOOLTIPTEXTtt;

  tt=(TOOLTIPTEXT)lParam;

  CString Tip;

  switch(tt->hdr.code)

  {

  case TTN_NEEDTEXT:

  //该信息表明要求显示工具栏上的提示

  switch(tt->hdr.idFrom)

  {

  case ID_PLAY:


  图1

  Tip.LoadString(IDS_FIRST); //设置对应于工具栏上ID_PLAY的按钮的提示信息

  break;

  case ID_STOP:

  Tip.LoadString(IDS_NEXT);

  //IDS_FIRST,IDS_NEXT等为一系列CString串

  break;

  ……//类似地设置剩下按钮的提示信息

  }

   strcpy(tt->szText,(LPCSTR)Tip);

   //显示提示信息

  break;

  }

  return CDialog::OnNotify(wParam, lParam, pResult);

  }

  //该演示程序的工具栏能由用户定制,随时增加或删除工具栏中的某一项

  void CToolBarInDialDlg::OnApply()

  {

   switch(DoFlag) //用户选择了增加或删除工具栏中的“退出”按钮

  {

  case TRUE: //增加工具栏上的“退出”按钮

  m_Buttons[ButtonCount].iBitmap=ButtonBitmap+ButtonCount;

  m_Buttons[ButtonCount].idCommand=ID_QUIT;

  m_Buttons[ButtonCount].fsState=TBSTATE_ENABLED;

  m_Buttons[ButtonCount].fsStyle=TBSTYLE_BUTTON;

  m_Buttons[ButtonCount].dwData=0;

  m_Buttons[ButtonCount].iString=IDS_FIRST;

  ToolBar.InsertButton(ButtonCount,&&m_Buttons[ButtonCount]);

  //根据m_Buttons的信息在工具栏的尾部加上一个按钮

  break;

  case FALSE:

  if(ToolBar.GetButtonCount()==4) //删除工具栏上某一特定位置的按钮

  {

  ToolBar.DeleteButton(3);

  //删除工具栏上某一按钮

  }

  break;

  }

  }

  void CToolBarInDialDlg::OnPlay() //响应函数举例

  {

  ……

  //对应选单项的响应函数

  }

  以上程序在中/英文Windows 98、VC++ 6.0环境下编译通过,运行正常。图2为运行中的有工具栏的对话框程序。


  图2

Title: Software Application Development: A Visual C++, MFC, and STL Tutorial Author: Bud Fox Ph.D., Tan May Ling M.Sc., Zhang Wenzu Ph.D. Length: 1216 pages Edition: 1 Language: English Publisher: Chapman and Hall/CRC Publication Date: 2012-08-08 ISBN-10: 1466511001 ISBN-13: 9781466511002 Software Application Development: A Visual C++, MFC, and STL Tutorial (Chapman & Hall/CRC Computer and Information Science Series) Software Application Development: A Visual C++, MFC, and STL Tutorial provides a detailed account of the software development process using Visual C++, MFC, and STL. It covers everything from the design to the implementation of all software modules, resulting in a demonstration application prototype which may be used to efficiently represent mathematical equations, perform interactive and intuitive model-building, and conduct control engineering experiments. All computer code is included, allowing developers to extend and reuse the software modules for their own project work. The book’s tutorial-like approach empowers students and practitioners with the knowledge and skills required to perform disciplined, quality, real-world software engineering. Table of Contents Chapter 1 - Object-Oriented Analysis and Design Chapter 2 - Initial Graphical User Interface Chapter 3 - Constructing Blocks Chapter 4 - Constructing Block Ports Chapter 5 - Constructing Connections Chapter 6 - Moving Blocks and Connections Chapter 7 - Automatic Block Placement Chapter 8 - Connection-Based Bend Points Chapter 9 - Block Dialog Windows Chapter 10 - Conversion of String Input to Double Data Chapter 11 - Moving Multiple Items Chapter 12 - Addition of a Tree View Control Chapter 13 - Review of Menu and Toolbar-Based Functionality: Part I Chapter 14 - Context Menu Extension Chapter 15 - Setting Port Properties Chapter 16 - Key-Based Item Movement Chapter 17 - Reversing Block Direction Chapter 18 - Model Validation Chapter 19 - Non-Feedback-Based Signal Propagation Chapter 20 - Graph Drawing Chapter 21 - Block Operations Chapter 22 - Preparation for Feedback-Based Signal Propagation Chapter 23 - Feedback-Based Signal Propagation Chapter 24 - Placing an Edit Box on a Toolbar Chapter 25 - Serialization Chapter 26 - Review of Menu and Toolbar-Based Functionality: Part II Chapter 27 - Printing and Print Preview Chapter 28 - Implementing a Scroll View Chapter 29 - Edit Menu Chapter 30 - Annotations Chapter 31 - Tools Menu Chapter 32 - Help Menu Chapter 33 - Finalizing the Project Chapter 34 - Conclusion Appendix A: ControlEng: Win32 Console Application Appendix B: Constructing Connections: An Exploration Appendix C: NodeArcConnectivity: Win32 Console Application Appendix D: Debugging: An Introduction Appendix E: MatrixInversion: Win32 Console Application Appendix F: Using DiagramEng
1,01.zipMFC Extension LibraryMFC扩展界面库, 使用Visual C++ 6.0(15KB)2,02.zipVisual Studio style UIVisual Studio风格的界面效果(15KB)3,03.zipInternet Explorer 4 style UIIE4.0风格的界面效果(29KB)4,04.zipOutlook Style UIOutlook风格的界面效果(16KB)5,05.zipDynamic child window repositioning动态改变对话框的大小, 对话框中的控件相应改变(15KB)6,06.zipEnhanced list control增强的List控件(43KB)7,07.zipCDialog using animated control在CDialog中使用动画(12KB)8,08.zipOpen Dialog with Bitmap Preview位图预览的打开文件对话框(43KB)9,09.zipStandard file open dialog with preview标准位图预览的打开文件对话框(24KB)10,10.zipBitmap Dialog Class位图对话框类(13KB)11,11.zipClass for Browsing shell namespace with your own dialog显示目录的树型结构, 可用于目录的选择(31KB)12,12.zipUsing ON_UPDATE_COMMAND_UI with dialogs在对话框中使用ON_UPDATE_COMMAND_UI(13KB)13,13.zipUsing ON_UPDATE_COMMAND_UI with dialogs (2)使用ON_UPDATE_COMMAND_UI(11KB)14,14.zipModeless child dialog in a Main Dialog with corrected tab order非模式对话框在主对话框中的TAB顺序(21KB)15,15.zipCostumizing CFileDialog定制的CFileDialog(22KB)16,16.zipAttaching Elements to Borders一个可以在对话框中改变按纽位置、大小的容器(26KB)17,17.zipScrolling credits dialog滚动信用对话框(12KB)18,18.zipColor Dialog with Persistent Custom Colors对话框继承了上一次的颜色风格(12KB)19,19.zipA Base Dialog Class for Modal/Modeless Dialog with Custom Background Color自定义背景的对话框(13KB)20,20.zipParse IP addresses解析IP地址(12KB)21,21.zipParse phone fields解析电话区域(11KB)22,22.zipChanging the default file open/save dialogs in an MFC doc/view application初始化对话框和支持动态数据交换(DDX)(15KB)23,23.zipDialog with Splash Screen Example Code...Splash对话框的例子(18KB)24,24.zipClass to select directory选择目录的类(13KB)25,25.zipClass to select directory (Enhancements)增强的选择目录的类(12KB)26,26.zipDirectory Picker Dialog目录采集对话框(42KB)27,27.zipSimple way to change dialog's background and text colors改变对话框背景颜色和文字颜色的简单途径(11KB)28,28.zipA Simple Dialog Layout Manager一个简单的对话框设计管理器(19KB)29,29.zipUsing Buttons on a Dialog Bar with CCmdUI通过CCmdUI在对话框条中使用按纽(19KB)30,30.zipDisplay help for dialog controls on the status bar在状态条中显示对话框中控件的帮助信息(12KB)31,31.zipDragging a dialog by clicking anywhere on it点击任何地方拖动对话框(11KB)32,32.zipSplash screen with text on it that uses its own thread通过自己的线程在Splash对话框中显示文字(136KB)33,33.zipCreating an expanding dialog创建一个可扩展的对话框(15KB)34,34.zipExpanding/Contracting Dialog Box扩展/缩小对话框(24KB)35,35.zipCFileDialog class that only displays folders让CFileDialog只显示目录(很有用)(2KB)36,36.zipFolder Browsing Dialog目录浏览对话框(3KB)37,37.zipFont dialog with custom text preview & color字体对话框中增加字体和颜色的预览(12KB)38,38.zipEmbedding an HTML Help window into a dialog嵌入一个超文本(HTML)的帮助窗口到对话框中(22KB)39,39.zipDialog which can be used as MDI child window使用MDI子窗口的对话框(13KB)40,40.zipConvert modal dialogs to modeless将模式对话框转换成非模式对话框(12KB)41,41.zipNetscape 4.x Preferences Dialog类似Netscape 4.x参数选择的对话框(7KB)42,42.zipHandling OnUpdate() processing for menu itemsOnUpdate()处理菜单项(5KB)43,43.zipOptions Tree Dialog树状的配置对话框(25KB)44,44.zipCustomizing the font dialog定制的字体对话框(4KB)45,45.zipSizable dialogs at its easiest轻松改变对话框的大小(5KB)46,46.zipA Snap Size Dialog Class一个捕获对话框大小的类(5KB)47,47.zipCSplitterWnd in a Dialog based Application一个基于对话框的应用(6KB)48,48.zipSplash Screen with 256 color support支持256色的Splash对话框(7KB)49,49.zipSubselection Dialog 子项选择的对话框(5KB)50,50.zipSwitching dialog boxes in a dialog-based application在基于对话框应用中切换对话框(5KB)51,51.zipBetter Tip of the Day dialog典型的Did you konw...对话框(26KB)52,52.zipToolbars and Statusbars on Dialogs在对话框中增加工具条和状态条(7KB)53,53.zipTooltips in modal dialog boxes在模式对话框中实现工具提示(6KB)54,54.zipTooltips for dialog controls实现对话框控件的工具提示(4KB)55,55.zipTransparent Dialog透明的对话框(5KB)56,56.zipViewing Dialog Template Resources at Runtime运行时看对话框模板资源(5KB)57,57.zipAlternative Wizard Dialog一个Wizard对话框, 在安装程序中也有用(5KB)58,58.zipAVLTree实现AVL(Addison-Velski and Landis)树结构(5KB)59,59.zipTemplate class to manipulate bits of undefined type一个操作未知类型的模板库(5KB)60,60.zipBlowfish EncryptionBlowfish加密算法加密(4KB)61,61.zipBlowfish encryption classBlowfish加密类(5KB)62,62.zipExpression Evaluation数学公式识别类(5KB)63,63.zipA Y2.038K-Safe Replacement for CTimeCTime的替换类(5KB)64,64.zipIterating through List Containers关于List容器的话题(5KB)65,65.zipLexical Analyser词汇分析(8KB)66,66.zipLocales and Facets in Visual C++VC++的许多细节话题(10KB)67,67.zipA Generalized Parsing Class for MFC一个普通的MFC解析类(5KB)68,69.zipCreating Singleton Objects using Visual C++使用VC++创建一个单独的对象(9KB)69,69.zipSmart Pointers and other Pointer classes指针类(5KB)70,70.zipSortable CObArray class对CObArray类排序(5KB)71,71.zipSortable CObList class对CObList类排序(6KB)72,72.zipExtension to the STL find_if and for_each扩充STL库(5KB)73,73.zipChange from child window to popup window (and back) 将一个子窗口改成弹出式窗口(5KB)74,74.zipRestoring Window Position With Multiple Monitors在多层监视器中恢复窗口的位置(5KB)75,75.zipTransparent Window透明的窗口(6KB)76,CenterMDIWnd_demo.zipCenter CMDIChildWnds in the client area of the main frame window(151KB)77,TabbedMDI.zipA variation on the MDI that indicates the open child windows in a tab control. (400KB)78,AdvancedPrev.zipA simple class that helps provide faster Print Preview within MFC Doc/View applications(38KB)79,mditab.zipA dockable bar containing a tabbed list of open windows(91KB)80,CloseUnusedDocs_src.zipClosing unused MDI documents with 1 line of code(2KB)81,graphfx_demo.zipA Doc/View framework for displaying graphical data(192KB)82,WindowsManager.zipImplementing "Windows..." dialog(39KB)83,MultiMRUList_src.zipThis article describes how to maintain the separate MRU list for each document type that is needed in some applications(26KB)84,MultiTop.zipAllows an application to have multiple top-level windows. (22KB)85,PersistFrames.zipA collection of classes that allows MFC SDI and MDI applications to remember the positions and sizes of their main frame and child frame windows. (71KB)86,step0.zipA series of articles that resulted from experimenting with adding Drag and Drop features to my existing application. (16KB)87,undo.zipEasily add Undo/Redo to your CDocument/CView Based Applciation(2KB)88,PropertyView.zipA "Property Sheet"-like view class for MFC (108KB)89,DocViewWTL.zipA library that provides the easiest way to get loosely coupled components. (156KB)90,Dialog2.zipA step by step tutorial showing how to create your first windows program using MFC(112KB)91,MyMDIApp.zipA brief step-by-step tutorial that demonstrates creating an SDI and MDI based applications using the MFC Doc/View architecture.(54KB)92,sditutorial_demo.zipA brief step-by-step tutorial that demonstrates creating an SDI based application that does not use the MFC Doc/View architecture.(15KB)93,QuickWin.zipRedirect stdin, stdout and stderr into a window(125KB)94,GradientTitleBar.zipThis article shows you how to give your Win95/NT4 modeless dialogs a Win98/W2K like gradient title bar.(42KB)95,MsgBoxDemo.zipThe system Message Box that is closed atuomatically after some time(21KB)96,step1.zipSimple step by step article explaining how to create a modeless dialog box as child window.(21KB)97,step2.zipSimple step by step article explaining how to create a modeless dialog box as sibling of the app's main window.(22KB)98,ResizableDialog.zipA CDialog derived class to implement resizable dialogs with MFC (98KB)99,CenterAnywhere_demo.zipThis is a good replacement for CWnd::CenterWindow() that works. (43KB)100,CardDialog.zipA auto-sizing dialog used to store and display smaller child dialogs(22KB)101,scrolling_credits.zipA Scrolling Credits Dialog(209KB)102,snapdialog.zipDialog class that implement a snap-to-screen-border feature like Winamp(16KB)103,messagebox.zipA class which encapsulates MessageBoxIndirect.(18KB)104,rfldlg.zipThis article demonstrates how to add a recent file list to a dialog based application(25KB)105,dialogspl_demo.zipSplash screens are not only for Doc/View based applications(142KB)106,CClockCtrl_src.zipA Freeware MFC class to display an analog clock.(17KB)107,ChildDlg.zipChild Dialog (Sub Forms)(29KB)108,CIconDialog_src.zipA Freeware MFC dialog class to select an icon.(12KB)109,CPushPinFrame_src.zipA Freeware MFC PushPin property page dialog class.(19KB)110,showhide.zipA neat way to show/hide groups of related controls(13KB)111,ResizeCtrl.zipA resize control to implement resizable dialogs with MFC(38KB)112,DDXFile_src.zipA Freeware DDX routine for selecting a filename.(29KB)113,DynWindow_src.zipDescribes a method to implement resizable child windows.(108KB)114,DynamicDialog.zipCreate dialogs dynamically, and easily, without the need for a dialog resource script.(40KB)115,DlgExpand.zipThis article shows gives you the ability to make your dialogs expand or contract, depending on how much information the user wishes to view(15KB)116,TipDemo.zipImproved Tip-of-the-Day Dialog(149KB)117,layoutmgr.zipA framework to provide automatic layout control for dialogs and forms(101KB)118,MainWndPlacement.zipSave/restore the main window size at application exit/startup with a single function call in MDI, SDI and dialog based applications.(29KB)119,sizer_demo.zipAn article on extendable layout management classes(27KB)120,Splasher_src.zipAn improved splash screen component for MFC.(62KB)121,StackDialog.zipCreating a stacked dialog such as Netscape's 'Preferences' dialog(22KB)122,bitmappreviewdialog_src.zipThis article describes a completely object oriented standard file open dialog with preview.(12KB)123,subselect_dialog.zipSubselection Dialog(123KB)124,TabDialog.zipA docking dialog that auto-expands when the mouse passes over it(35KB)125,TcxMsgBox.zipTCX Message Box (derived from CWnd)(35KB)126,ToolTips.zipA demonstration of how to show tooltips in modal dialog bozes(23KB)127,UpdateModalDlg_demo.zipHow to update a modal dialog contents using a callback function(17KB)128,WinampWnd_demo.zipAn article discussing a Plugin for Nullsoft Winamp which looks and behaves like the Winamp UI.(43KB)129,Skins.zipA mini library to build Bitmap based skinnable apps.(174KB)130,FaderWnd_demo.zipAn MFC class to fade any window with only one line of code.(28KB)131,Win2kFileDlg.zipEver wanted to use the new Office 2000 file dialogs on Win 95/98/NT/Me, including the file previewing? Well now you can.(76KB)132,win2000fd.zipHow to show the new Common File Dialog in MFC Apps in Windows 2000(36KB)133,Wizard2000.zipCreate Windows 2000 style Wizards with white backgrounds(109KB)134,FileExportDialog.zipAdding filters to the Open File dialog(24KB)135,customize_dialog.zipCustomizing the Windows Common File Open Dialog(15KB)136,SelectFolder.zipThe windows 'Select Folder' dialog with some extra functionality(41KB)137,animate_dlg.zipAnimated Icon on Titlebar of a Dialog based Application(34KB)138,BmpDlg.zipBitmap Dialog Class(52KB)139,namespace.zipClass for Browsing shell namespace with your own dialog(78KB)140,OnUpdate_demo.zipHandling OnUpdate() processing for menu items(10KB)141,DialogUpdates.zipUsing ON_UPDATE_COMMAND_UI with all controls in a Dialog(18KB)142,override.zipCustomizing the font dialog(4KB)143,cmdlg.zipCostumizing CFileDialog(31KB)144,custom_open.zipCustom Open File or Save as Dialog(25KB)145,ColorFormView.zipCFormView Class with Custom Background Color(33KB)146,Banner.zipAnimated Background Banner(88KB)147,MDIClient.zipA Custom MDI Client Class(42KB)148,html_help_view.zipHTML Help In CView Window(5KB)149,MDIPreview_demo.zipPrint Preview in MDI Frame(20KB)150,zoom_scale.zipAdd Zoom and Scale Capabilities to CScrollView(338KB)151,autopan.zipAuto-Panning Windows(44KB)152,autopan2.zipMicrosoft Internet Explorer like Intellimouse AutoScroll(42KB)153,intellipan.zipIntellimouse panning (improved Auto-Panning Windows)(5KB)154,intellipan2.zipIntellimouse panning 2 (A universal Auto-Panning solution)(12KB)155,bigscroll.zipBreaking the CScrollView 32768 size limitation with CBigScrollView(90KB)156,variable_splitter.zipVariable splitter views(58KB)157,TabbedViews_src.zipTabbed Views(78KB)158,animate_icon_src.zipAnimated Icon on Titlebar of a window(48KB)159,msdi1632.zipMultiSingle (MSDI) Document interface(77KB)160,msdidao.zipMultiSingle (MSDI) Document interface with DAO doc(508KB)161,ScreenSwitch_demo.zipMultiple Views Using SDI(26KB)162,multiview.zipMultiple views for a single document (MDI) 3(86KB)163,WinMenu_demo.zipHome made MDI windows list in Window menu(21KB)164,SdiMulti.zipSDI Interface with Multi-Views and Multi-Splitters(88KB)165,DocViewInDll_demo.zipSeparating the views of an MDI application into different DLLs(60KB)166,MultiFrame_demo.zipMultiple frame windows in SDI application(76KB)167,mrcext.zipResizable Docking Window(862KB)168,sizing.zipSizing TabControlBar(46KB)169,devstudio.zipAnother DevStudio-alike DialogBar(43KB)170,docking.zipResizable Docking Window 2(98KB)171,simple_splitter.zipGeneral Purpose Splitter Class(43KB)172,cxysplitter.zipA pair of splitter classes used in dialogbox(21KB)173,dynamic_splitter.zipSplitter Window - "True" dynamic splitter window(52KB)174,outlook_style.zipOutook Style Splitter Bar(59KB)175,minsplit.zipMinimum size splitter(36KB)176,scrbsplt.zipRemoving and reapplying splitter windows on-the-fly in Scribble with a custom splitter window class(157KB)177,switchviews_in_splitter.zipSwitching views in splitter panes (SDI)(44KB)178,rulers_src.zipImplementing Rulers inside of Splitter Panes(5KB)179,dynamic1.zipDifferent Views In Dynamic Splitter(202KB)180,dialogstartupanimation.zipThis sample shows you how to create dialog startup animation like that of Window 98'menu(18KB)181,yqeditgridcontrol.zipa grid control that enable keyboard input. That is to say, you can write data in it. (31KB)182,switchmdiviews.zipThis sample shows you how to switch from one view to the other in a MDI splitter window application(31KB) 183,yqmdireplaceview.zipThis sample shows you how to replace different views in a MDI splitter window application(36KB) 184,switchview.zipThis sample shows you how to switch from one MDI window to another by using the "Ctrl Tab" key.(29KB) 185,filterreturnkey.zipThis sample shows you how to trap, filter the ENTER and ESCAPE key of a dialog box (17KB)186,filterkey.zipThis sample shows you how to filter a certain key and mask that key(18KB)187,editenter.zipThis sample shows you how to use RETURN key to switch among edit controls of a dialog box(18KB)188,dialoghook.zipThis sample shows you how to set keyboard hook function of a dialog box to trap RETURN ,ESCAPE key.(17KB) 189,contexthelp.zipThis sample shows you how to create context sensitive help of a control of a dialog box(26KB) 190,traparrokey.zipThis sample describes how to trap arrow keys in an control of a dialog box (18KB)191,yqadvancedbtn.zipOwner draw hot button support both bitmap and icon, with flat, gripper property. (108KB)192,drawlistbo.zipOwner draw CTabCtrl with flat gripper property (40KB)193,startupanimation.zipCreate Window startup animation, including several kind of animation style, very interesting(23KB) 194,flatlistbox.zipusing a unique way to implement flat attribute( other than those published on the codegurn), as well as hot ,gripper attribute.(21KB) 195,yqhoteditctrl.zipCreate edit control with Hot , flat, gripper. separator attributes (21KB)196,3dmdishadow.zipCreate 3D shadow of a MDI frame windows(32KB) 197,3dsdishadow.zipCreate 3D shadow of a SDI frame windows(29KB)198,getfile.zipA DDX routine for MFC to retrieve filenames(29KB)199,splasher.zipAn improved splash screen component for MFC(62KB)200,pushpin.zipA pushpin button MFC class(12KB)201,getfolder.zipA DDX routine for MFC to retrieve folders(30KB)202,ntray.zipAn MFC class to manipulate tray icons(17KB)203,hlinkctrl.zipAn MFC class to support hyperlinks on windows and dialogs(16KB)204,icondialog.zipAn icon selection dialog class for MFC(12KB)205,pushpinframe.zipAn MFC class to provide property dialogs ala Developer Studio(16KB)206,mappin.zipAn MFC class to implement map pins(286KB)207,iconcombobox.zip2 MFC classes to implement icon selection combo boxes(19KB)208,menuex_demo.zipImplementing an Ownerdrawn menu (35KB)209,bcmenu261.zipCool Owner Drawn Menus with BitmapsVersion 2.61(70KB)210,dynmenu.zipSome handy functions for adding and deleting submenus and menuitems in runtime (16KB)211,gradientmenu.zipCreate Popup menus in MFC with a gradient and text on the left side (89KB)212,menuicon_demo.zipGive your apps a unique look by adding a logo to your menu(48KB)213,bcgbappwizard.zipBCGControlBar library version 4.6(2121KB)214,mpcstatusbar.zipAn enhanced CStatusBar to easily and dynamically add/remove controls on a status bar (48KB)215,textonlystatusbar.zipAn easy to use and implement Text Only Status Bar with Tool tip text extracted from the status bar panes. (39KB)216,progressbar.zipShowing progress bar in a status bar pane(33KB)217,sizecbar_src.zipDevStudio-like docking window (64KB)218,sizing_tabct1_demo.zipCreates a dockable and resizable control bar. (46KB)219,dockview.zipA fairly simple way to incoporate views into sizing control bars(69KB)220,spin_slide_toolbar.zipHow to create toolbars with spinners and/or sliders(48KB)221,tearoffrebars_prj.zipThis article Implements the functionality similar to the Office 2000 toolbars(26KB)222,flatbar.zipA flat toolbar implementation that does not require the updated common controls library from Internet Explorer. (197KB)223,toolbar_droparrow_demo.zipDemonstrates how to use the new toolbar styles to add dropdown arrows to toolbar buttons (28KB)224,dynamictb.zipA simple tutorial that shows how to dynamically replace toolbars at runtime (35KB)225,toolbar_docking_demo.zipDemonstrates how to dock toolbars side-by-side (29KB)226,tapetoolbar.zipA spectacular variation on toolbars (35KB)227,chevions.zipAn introduction to using the cool new toolbar chevrons (18KB)228,toolgroupmanager.zipA reusable template class for managing multiple toolbars, only one of which is displayed at a time(30KB)229,toolbar_hotbuttons_demo.zipDemonstrates how to add rollover buttons to your toolbar(30KB)230,toolbar.zipWTL Tool Bar Drop-Down Extension(64KB)231,win95asm.zipIntroduction to Menus(113KB)232,outbar.zipCGfxOutBarCtrl, an Outlook98 bar-like control(163KB)233,tabstatus.zipAdvanced UI - MDI list in the status bar (and a custom Window List dialog)(62KB)234,gfxlist.zipList Control - Enhanced list control(1544KB)235,maillook.zipInternet Mail Look(42KB)236,cdxcdynamic.zipDynamic child window repositioning for dialogs, property sheets, form views and any other CWnd derived classes. (227KB)237,voicecmd.zipVoice Command Enabling Your Software (27KB)238,cj60lib.zipMFC Extension Library - CJ60 Version 6.07(1100KB)239,infobar.zipInformation Bar (62KB)240,switcher.zipA Switcher Control (like the Windows Task Bar) (40KB)
Komodo IDE v10.0.1.89237 (C) ActiveState Release Description: ~~~~~~~~~~~~~~~~~~~ What's New in Komodo IDE 10.0 - New User Interface: The entire user interface has been given a big facelift. This facelift isn't just about making Komodo more attractive and enjoyable to use; a ton of user experience work has gone into the facelift. On the technical end, these changes make Komodo far more maintainable and far less prone to interface related bugs. Possibly the biggest feature, though, is that you can define your own colors. Every color scheme now also extends to the user interface, so you can tweak and style not just how your code looks, but also how Komodo looks. Or not뻟t's entirely up to you, of course. For those who prefer not to have their user interface change too much we've also introduced some preferences which let you essentially use the "classic" approach to UI in many places. These changes do mean that skins and iconsets for Komodo 8 and 9 will no longer work. - The Dynamic Toolbar: The dynamic toolbar is a new UI element in Komodo 10 which holds toolbar buttons that provide contextual actions to your files and project. They show and hide based on what you're doing and provide information and actions based on how your files and projects are configured. For example the version control dynamic button will show you how many files have changed and allow you to quickly open eg. file or project history, or the commit dialog. The dynamic toolbar is very developer friendly, so you can easily create your own buttons or download ones that were contributed by other developers. - First Start Wizard: When you first start Komodo (or when you update between major versions) Komodo will now show you a short and simple first start wizard that lets you customize Komodo to your likings. Tabs or spaces? The bias is all yours. - New Default Keybindings: Our old defaults (which are still available as "Legacy" keybindings) were an accumulation of 10+ years of changes. Needless to say they became messy and illogical. With Komodo 10 we dumped them entirely and started from scratch. A rule of thumb here was that if something didn't make sense then it didn't deserve a default binding, the user can define these themselves. We also reviewed other editors complete default keybinding sets to find commonalities in the industry. The new bindings are based on logic and sensible defaults that programmers have become accustomed to. - Other Editor Keybindings: We are introducing keybindings for other editors and IDE's to facilitate developers transitioning to Komodo. These can be accessed from your Keybinding preferences or via the First Start wizard. - Chrome Remote Debugging: Debug your code in Chrome, from Komodo! No more context switching or locating the same code you've been working on again in the Chrome dev tools. You can write code, place breakpoints and debug all right from inside Komodo. - Debugging for Ruby 2.1 And Beyond: Due to the library that Komodo was depending on for Ruby debugging no longer working in Ruby version 2.1 and beyond we have not been able to properly support those versions for a while now. With Komodo 10 that changes, we've been hard at work at Ruby 2.1+ support and are confident in introducing it with Komodo 10. This also includes Ruby 2.1+ REPL support. - Gulp, Grunt, NPM task runner Integration: Komodo now integrates with Gulp, Grunt and NPM tasks. The integration allows you to run commands for those task runners in your shell scope (inside Commando), it also adds a button to your dynamic toolbar (new in Komodo 10) which lets you quickly run commands via those task runners. This button is only visible when your project uses one of these tools. So for example, if you have a Gulp task called "Concatenate" you can just hit the Gulp button and hit "Concatenate". - PhoneGap & Cordova Integration: Quickly access PhoneGap and Cordova via your "dynamic toolbar", as well as interact with them via the Commando shell scope. Komodo automatically detects your configuration and provides contextual actions. - Symbol Browser: The section scope (inside Commando) now allows you to browse symbols across your entire project. So you can easily jump to classes, functions, properties, or other symbols no matter where they are in your project. - Improved Node.js and PHP CodeIntel: JavaScript and PHP CodeIntel has had significant improvements, NodeJS modules and PSR4 classes are fully supported as well as various new features of each language. - Support For React, Ember, Angular, TypeScript, ES6: We've put a lot of focus on individual frameworks in Komodo 10, a trend you can expect to continue. With this iteration we focused on some of the most popular JS frameworks and derivatives. - Performance Improvements: Komodo 10 has received significant performance improvements. File opening, closing, saving, typing, .. you name it. Additionally we've fixed a long standing memory leak which caused users to have to restart Komodo every few days, that should no longer be the case. - Other Mentionables - Improved source code control UI and UX - New SCC Commit Dialog - New SCC Widget - Improved unit testing UI and UX - Improved color picker UI and UX
**PrimeUI 一套JavaScript Widget控件** PrimeUI是一个来自PrimeFaces的项目。 PrimeFaces是一个轻量级的、支持JSF 2.0的开源组件套件,具有100多个丰富的JSF组件,极大地提高了JSF Web应用程序的开发效率。 PrimeFaces是一个用于提高JSF Web应用程序开发效率的开源类库。主要由三个模块组成: UI Components模块:提供拥有Rich Web用户体验的各种JSF组件,PrimeFaces提供的组件能够处理JavaScript Rendering在服务器端的集成问题。其中包括HtmlEditor、ImageCropper、Dialog、AutoComplete、 Flash based Chart等。并支持通过Ajax更新页面。 Optimus模块:提供简化JSF开发的解决方案。Optimus提供基于Google Guice IOC容器的注释来代替XML配置。Optimus还支持利用JPA实现数据持久化;将DataTable的内容导出成Excel与PDF。支持安全扩展。 FacesTrace模块:提供跟踪JSF Web应用程序的各种工具:JSF LifeCycle可视化查看器;性能跟踪器;Log4J适配器;FacesMessage监听器;组件树可视化查看器。 PrimeUI是一套JavaScript Widget控件,可用于创建UI。PrimeUI是把原PrimeFaces的组件进行解耦,提取出来的JS控件可以用于PHP、ASP、 Wicket、GWT等等的开发。PrimeUI使用JSON数据,并使用jQuery UI的WidgetFactory API提供Widget控件,作为jQuery插件。其代码开源,采用Apache许可证。 PrimeUI最终发布的控件列表包括: - InputText - InputTextarea - SelectOneMenu - RadioButton - Checkbox - CheckboxMenu - Rating - Spinner - AutoComplete - TabView - AccordionPanel - DataTable - DataList - DataGrid - Paginator - Tree - TreeTable - MindMap - Button - ToggleButtons - Menu - Menubar - TieredMenu - ContextMenu - SlideMenu - Breadcrumb - Growl - Fieldset - Panel - Toolbar - Dialog - OverlayPanel - ProgressBar - Inplace - Tooltip - Carousel - TagCloud - PickList - OrderList
1,01.zip
Toolbar - Custom status messages and tooltips
用户状态信息与工具提示(3KB)
2,02.zip
Remove system menu from floating toolbar
从浮动工具条中去除系统菜单(2KB)
3,03.zip
Remove close button from floating toolbar
从浮动工具条中去掉关闭按钮(2KB)
4,customizable1.zip
Customizable toolbar
可自定义的工具条(25KB)
5,detoolbar.zip
Adding a drop arrow to a toolbar button
带下拉框的工具条(28KB)
6,detoolbare.zip
Using Hot Toolbar Buttons
类似IE4的工具条(30KB)
7,BCGControlBar.zip
Customizable Toolbar and Menus
可自定义的工具条 (2)(318KB)
8,FixMiniFrame.zip
System menu fix for floating toolbar
更改浮动工具条中的系统菜单(24KB)
9,09.zip
DevStudio like Flat Toolbar
平面工具条 (需 IE3+)(5KB)
10,enh_flatbar.zip
Another Flat ToolBar (does not require MSIE)
另外一种平面工具条 (不需 IE)(81KB)
11,VSOMenu.zip
Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar
类似Visual Studio/Office 97 的平面工具条与可停靠菜单条(2)(200KB)
12,RebarMenu.zip
IE4 Style Menu (Rebar Menu)
类似IE4 的菜单条(72KB)
13,ToolbarHi.zip
Toolbar with 16M colour images
使用16M色图象的工具条(66KB)
14,multi12.zip
Extended Multi Size Multi Color Toolbar!
扩展型多尺寸多色彩工具条(226KB)
15,15.zip
How to display tooltips for a toolbar in a dialog
在对话框如何为工具条显示工具提示(3KB)
16,16.zip
Displaying text on a Toolbar
在对话框如何为工具条显示工具提示(2KB)
17,toolbar_d.zip
Docking Toolbars Side-By-Side
工具条的停靠(29KB)
18,toolbars.zip
Toolbars with Tooltips in a CFormView derived class
在CFormView派生类中使用带工具提示的工具条(29KB)
19,SwitchTB.zip
Switching Toolbars in MDI
MDI中具有开关显示功能的工具条(47KB)
20,Place Controls on ToolBars
在工具条中放置其他控件(10KB)
21,DialogBarEx1.zip
CDialogBarEx : A Dialog bar with initialization
CDialogBarEx :带初始化的对话条(42KB)

1,01.zip
Setting selected text to read-only
设置选择的文本为只读(2KB)
2,02.zip
Changing word wrap mode
改变换行模式(2KB)
3,03.zip
Changing tab stops
改变tab的行数(2KB)
4,04.zip
Inserting an RTF string using StreamIn
用RTF插入一个RTF字符串(3KB)
5,05.zip
Providing a Format toolbar
提供一个格式的工具框(8KB)
6,06.zip
convert RTF String RTF tags
变换字符串为RTF格式(7KB)
7,07.zip
CRichEditCtrlEx - Advanced Rich Edit Control
CRichEdit的继承类(21KB)
8,08.zip
The Richedit Ctrl used in chatting
在聊天程序中用Richedit(37KB)
9,09.zip
CRichEditCtrlEx : Replacing "RICHEDIT" control with "RichEdit20A"
替代RichEdit的类CRichEditCtrlEx(16KB)
10,10.zip
Controlling the RichTextCtrl Insert State
控制RichTextCtrl中Insert键状态(80KB)
11,11.zip
CAutoRichEditCtrl - automate rich edit formatting and RTF handling.
自动格式化RTF的继承类CAutoRichEditCtrl(62KB)

1,02.zip
Adding a Control to the Property Sheet
在属性页中添加控件(2KB)
2,06.zip
Using Shortcut Keys for Property Pages
在属性页中使用快捷键(2KB)
3,07.zip
Creating a Property Sheet Inside a Form View - Asaf Levy
在Form View中创建属性页(4KB)
4,08.zip
Creating a Property Sheet Inside a Dialog
在对话框中创建属性页(3KB)
12,18.zip
A resizable property sheet within a view
在视中改变property sheet的大小(4KB)
13,19.zip
overriding the default buttons on CPropertySheets
在CPropertySheets中覆盖默认按钮(2KB)
14,20.zip
Display only One Row of Tabs
只显示一行Tab选择(2KB)
15,21.zip
Add a Font Property Page
添加字体属性页(16KB)
16,22.zip
Resizing the Property Sheet
改变属性页的大小(2KB)
17,23.zip
Resizing the Tab Control
改变Tab控制的大小(2KB)
18,24.zip
Moving and Resizing the Property Pages
移动并改变属性页大小(3KB)
20,27.zip
Using ON_UPDATE_COMMAND_UI in Property Pages
在属性页中使用ON_UPDATE_COMMAND_UI(2KB)
22,29.zip
Inserting a CFormView into a CPropertySheet
将CFormView插入到属性页中(2KB)
23,30.zip
Using Upper- and Lowercase shortcut Keys for Property Pages
在属性页中使用大写和小写快捷键(2KB)
25,32.zip
Automaticaly arange visible controls below the tab control
TAB控制中使控件自动可见(2KB)
27,34.zip
Creating a wizard
创建一个向导(4KB)
21,propsheet1.zip
Propertysheets embedded in Dialogs
在对话框中嵌入Propertysheets(20KB)
24,propinprop.zip
Using shortcut keys in property pages containg property pages
在属性页中使用快捷键(74KB)
26,newprop.zip
Adding a Button to CPropertySheet
在属性页中添加按钮(19KB)
28,PropSheet.zip
Property Sheet Wizard
属性页Wizard(96KB)<96KB>
5,wizprop.zip
Wizard Property Sheets and Pages
Wizard方式的属性表与属性页(3KB)
6,creatingl.zip
Creating a full application using the CPropertySheet.
用CPropertySheet创建完整的应用程序(91KB)
7,updcreate.zip
Creating a full application using the CPropertySheet
更新: 用CPropertySheet创建完整的应用程序(12KB)
8,addbitmap.zip
Placing A Bitmap In The PropertySheet Button Area
将一个位图放到PropertySheet的按纽区域(2KB)
9,add3dtext.zip
Placing a 3D Logo Text In the PropertySheet Button Area
附加功能是控制PropertySheet区域特别是按纽部分的颜色(37KB)
10,proppage.zip
Modifying Property Sheet Templates on Win95
在Win95中修改属性页模板(2KB)
11,propview.zip
Using a modeless property sheet as a 'view' in a Frame
使用非模式的property sheet, 就像框架中的视(53KB)

1,VCMenu.zip
Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar
类似Visual Studio/Office 97的平面工具条与可停靠菜单条(350KB)
2,contentmenu.zip
A Cool Looking Menu For Easier Navigation
一个很COOL的菜单条(39KB)
3,freemenu.zip
Owner Drawn Menu With Free Color & Font
可使用任意字体与颜色的自画式菜单(35KB)
4,04.zip
Owner Drawn Menu with Icons
带图标的自画式菜单(5KB)
5,05.zip
Owner Drawn Menu with Icons (2)
带图标的自画式菜单(2)(8KB)
6,owner_menu4.zip
Owner Drawn Menu with Icons (4) (automatically uses toolbar res)
带图标的自画式菜单(4) (自动使用工具条对应资源)(109KB)
7,bitmapmenu.zip
Yet another owner draw menu
更新"带图标的自画式菜单"(2)(6KB)
8,bcmenu24.zip
Owner Drawn Menu with Icons (3)
带图标的自画式菜单(3) (使用工具条资源)(62KB)
9,09.zip
Inserting submenus in an existing SDI menu
在SDI菜单中插入子菜单(2KB)
10,10.zip
TrackPopupMenu as an Immediate Function
使用 CMenu::TrackPopupMenu 跟踪弹出菜单的菜单项(2KB)
11,Creating Popup Menus with Titles
Creating Popup Menus with Titles
带提示的弹出式菜单(5KB)
12,12.zip
Finding a menu item position from command id
从Command ID中寻找菜单项(3KB)
13,13.zip
The simplest way to put the MRU list in a submenu
将MRU列表加入子菜单的简单途径(2KB)
14,14.zip
Using MRU on a submenu
在子菜单中使用MRU(3KB)
15,15.zip
MRU list in a submenu: the MFC bug and how to correct it.
子菜单中的MRU列表: 更正MFC bug(3KB)
16,16.zip
Merging Two Menus
合并两个菜单(3KB)

1,03.zip
Serializable CListCtrl with check sum verify(4KB)
连续的列表项的校验和
2,11.zip
Getting the number of columns in report view
获得列表视图的列数(2KB)
3,12.zip
添加一列
Adding a column(2KB)
4,13.zip
Detecting column index of the item clicked
监测单击项的索引(13KB)
5,14.zip
Prevent CListCtrl column resizing
禁止调整列表控制的大小(2KB)
6,16.zip
How to force a minimum column width
限定一个最小列宽(16KB)
7,17.zip
Autosize a column to fit its content
自动调整列的大小(3KB)
8,18.zip
Stationary Columns
固定的列数(4KB)
9,19.zip
Disable clicking on selected report view columns
禁止鼠标在列表视图单击(2KB)
10,21.zip
Dragging columns to rearrange column sequence
重新排列次序(6KB)
11,22.zip
Dragging Items to Rearrange Rows
重新排列行数(5KB)
12,24.zip
Allowing items to be edited
允许列表项编辑(2KB)
13,27.zip
Using a drop down list to change a subitem
用托放改变子项(10KB)
14,GridList.zip
Multiline Editable Subitems
多列可编辑的子项(95KB)
15,subitems2.zip
Editing listview subitems using LVM_GETEDITCONTROL
用LVM_GETEDITCONTROL事件来编辑列表视图(46KB)
16,32.zip
Drawing horizontal and vertical gridlines
画水平和竖直的网格线(9KB)
17,33.zip
List control with single / double separator lines
带有一个/两个分割线的列表控制(10KB)
18,34.zip
Subclassing the List View Control using MFC
用MFC写的列表视图子类(3KB)
19,35.zip
Catching header messages in a CListView
捕捉CListView的头消息(2KB)
20,36.zip
How do I use a derived CListCtrl with a CListView?
怎样使用来源于CListCtrl的列表视图(2KB)
21,40.zip
Using sub-strings in non report view
获得报表视图的子串(2KB)
22,Treelist.zip
TreeList : Multi column tree control
多列的树性列表控制(79KB)
23,43.zip
Connect a list container to a tree/list control
连接一个列表容器到列表控制(4KB)
24,listclass1.zip
Class with full row highlighting
高亮文本的列表框(8KB)
25,46.zip
IE4 Extended Styles in a list control
和IE4类似的列表控制(4KB)
26,sorted_Class.zip
CSortedListCtrl reusable base class
可以再度使用的排序列表基类(61KB)
27,48.zip
Measure Item for dynamic font changing in a list control
动态的改变列表控制的字体(2KB)
28,supergrid.zip
SuperGrid - Yet Another listview control(84KB)
用Listview写的网格控制
29,clistie4.zip
Class for using new features in listview control
列表视图的子类(5KB)
30,51.zip
Plug-in class to support printing from a listview
列表视图的插件类 (6KB)
31,52.zip
Print the contents of the list control
打印列表视图的内容(7KB)
32,property12.zip
Creating an Object Property List using the CListCtrl
用ClistCtrl类创建一个属性列表(57KB)
33,56.zip
Retrieving selected items
找回选择的项的内容(2KB)
34,57.zip
Selecting and deselecting a range of rows
选择和反选择一定范围的行(2KB)
35,58.zip
Selection Highlighting of Entire Row
选择高亮整行(12KB)
36,59.zip
Set focus on a cell
设置一个单元获得焦点(2KB)
37,60.zip
Sorting the list based on text in any column
按列表的文本排序(3KB)
38,61.zip
Sorting list on Numeric Column
按列表的数值排序(2KB)
39,62.zip
Sort list based on text/numeric/date-time in any column
按列表的文本\数值\时间排序(3KB)
40,63.zip
Sort list (numeric/text) using callback
用回调函数按数值/文本排序 (3KB)
41,64.zip
Sort columns by the image index of the column
通过图像索引排序(3KB)
42,66.zip
Sorting the list when user clicks on column header
当用户单击列标题时排序(3KB)
43,67.zip
Indicating sort order in header control
指示列标题的排序(5KB)
44,68.zip
Simple list Sorting on Integer Colum
按列表的数值排序(2KB)
45,69.zip
A Multi Column Sort listview
一个多列排序的列表视图(37KB)
46,70.zip
Determining row indices in SortItems() Comparison function
用SortItems函数监测行复数(3KB)
47,75.zip
Handling Title Tips With Drag/Drop Headers Using The Visual C++ 6.0 CListCtrl
处理标题的提示(3KB)
48,76.zip
Attaching System ImageList to ListControl
附带系统图像的列表控制(3KB)
49,77.zip
Initializing the image list
初始化图像列表(2KB)
50,78.zip
Setting or removing an image for an item
设置和删除项中的图像(78KB)
51,79.zip
Setting a non-standard size image
设置一个非标准的图像(4KB)
52,83.zip
List Control displaying image thumbnails
在列表控制中显示小图像(23KB)

16,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧