00000015.txt

来自「水木清华BBS站的讨论区精华集锦」· 文本 代码 · 共 27 行

TXT
27
字号
 
                       --===BBS水木清华站∶精华区===--
 
                        -===BBS水木清华站∶精华区===-
  
    Read the documentation on SubClassDlgItem.  Here's an example of how to 
  
 call it: 
  
 BOOL CMyDialog::OnInitDialog() 
 { 
         //Do your subclassing first. 
  
         m_MyControl.SubClassDlgItem(ID_MYCONTROL, this); 
  
         //Let the base class do its thing. 
         CDialog::OnInitDialog(); 
  
         // Perhaps do some more stuff 
         // Be sure to call Ctl3d last, or it will cause 
         // assertions from multiple subclassing. 
  
         Ctl3dSubclassDlg(m_hWnd, CTL3D_ALL); 
 } 
 
                        -===BBS水木清华站∶精华区===-

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?