已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
MFC 学习笔记CProPertyPage 类Represents individual pages of a property sheet, otherwise known as a tab dialog box. class CPropertyPage : public CDialogm_psp is a structure whose members store the characteristics of PROPSHEETPAGE.PROPSHEETPAGE m_psp;Retrieves the Windows PROPSHEETPAGE structure associated with the CPropertyPage object.const PROPSHEETPAGE & GetPSP( ) const;PROPSHEETPAGE & GetPSP( );Call this function after an unrecoverable change has been made to the data in a page of a modal property sheet.void CancelToClose( );Call this member function to forward a message to each page in the property sheet.LRESULT QuerySiblings( WPARAM wParam, LPARAM lParam );Call this member function to enable or disable the Apply Now button, based on whether the settings in the property page should be applied to the appropriate external object.void SetModified( BOOL bChanged = TRUE );This member function is called by the framework when the page is no longer the active page.virtual BOOL OnKillActive( );This member function is called by the framework when the user clicks the Cancel button and before the cancel action has taken place.virtual BOOL OnQueryCancel( );This member function is called by the framework when the page is chosen by the user and becomes the active page.virtual BOOL OnSetActive( );This member function is called by the framework when the user clicks on the Back button in a wizard.virtual LRESULT OnWizardBack();This member function is called by the framework when the user clicks on the Finish button in a wizard.virtual BOOL OnWizardFinish( );This member function is called by the framework when the user clicks on the Next button in a wizard.virtual LRESULT OnWizardNext();CProPertySheet 类Represents property sheets, also known as tab dialog boxes. class CPropertySheet : public CWndIndicates whether to stack rows of tabs in a property sheet.void EnableStackedTabs( BOOL bStacked );Gets the index number of the property sheet windows active page and then uses the returned index number as the parameter for GetP GetActiveIndex( ) const;Retrieves the property sheet windows active page.CPropertyPage* GetActivePage( ) const;Returns a pointer to the specified page in this property sheet.CPropertyPage* GetPage( int nPage ) const;Determines the number of pages currently in the property GetPageCount( ) const;Retrieves the index number of the specified page in the property GetPageIndex( CPropertyPage* pPage );Retrieves a pointer to a tab control to do something specific to the tab control (that is, to use any of the APIs in CTabCtrl).CTabCtrl* GetTabControl( ) const;Changes the active page.BOOL SetActivePage( int nPage );BOOL SetActivePage( CPropertyPage* pPage );Sets the text in the Finish command button.void SetFinishText( LPCTSTR lpszText );Specifies the property sheets caption (the text displayed in the title bar of a frame window).void SetTitle( LPCTSTR lpszText, UINT nStyle = 0 );Enables or disables the Back, Next, or Finish button in a wizard property sheet.void SetWizardButtons( DWORD dwFlags );Establishes a property page as a wizard.void SetWizardMode( );Adds the supplied page with the rightmost tab in the property sheet.void AddPage( CPropertyPage *pPage );Displays a modeless property sheet.virtual BOOL Create( CWnd* pParentWnd = NULL, DWORD dwStyle = (DWORD)1, DWORD dwExStyle = 0 );Displays a modal property sheet.virtual INT_PTR DoModal();Terminates the propert
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 创业项目策划书
- 交叉设计在生物等效性试验的预测性评价方法
- 典型事例综合素质评价高中
- 交叉设计在生物等效性试验中的平均生物等效性评价
- 互联网+慢性病:远程管理挑战与对策
- 初二英语完形填空练习题(含答案)
- 初级财务管理期末复习资料(主要知识点及练习题)
- 汉语言文学本科毕业论文格式
- 研究生导师评语汇集
- 课程设计论文选题评价
- 导流明渠施工方案
- (完整版)新人教版八年级英语单词表全册
- 就业心理教学课件
- DBJ51-T 048-2021 四川省建设工程造价电子数据标准
- 《高分子溶液 》课件
- DL/T 5622-2021 太阳能热发电厂储热系统设计规范
- 《虚拟现实(VR)制作与应用》考试复习题库(汇总)
- 动力学中的临界问题课件
- 山东金岭矿业股份有限公司侯家庄矿区矿山地质环境保护与土地复垦方案
- 高考3500词无中文无音标清晰版自测
- GB/T 2423.1-2008电工电子产品环境试验第2部分:试验方法试验A:低温
评论
0/150
提交评论