void CSetDlgInitialPosDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos)
有吗?看到一篇源代码上的 找了msdn也没有啊...

解决方案 »

  1.   

    你怎么找的?CWnd::OnWindowPosChanging早就有文档了啊
      

  2.   

    好象不是它的成员函数,应该是自定义的函数
    CDialog的成员函数:(摘自类库参考手册)
    Create
    CreateIndirect
    InitModalIndirect
    DoModal
    MapDialogTect
    NextDlgCtrl
    PreDlgCtrl
    GotoDlgCtrl
    SetDefID
    GetDefID
    SetHelpID
    EndDialog
    具体怎么用查MSDN吧!
      

  3.   

    对呀!CWnd::OnWindowPosChanging早就有了,你在找找看!
      

  4.   

    CDialog Member一起贴上来了!
    CDialog MembersSee Also
    CDialog Overview | Hierarchy Chart
    Base Class MembersCObject MembersCCmdTarget MembersCWnd MembersConstructionCDialog Constructs a CDialog object. InitializationCreate Initializes the CDialog object. Creates a modeless dialog box and attaches it to the CDialog object. 
    CreateIndirect Creates a modeless dialog box from a dialog-box template in memory (not resource-based). 
    InitModalIndirect Creates a modal dialog box from a dialog-box template in memory (not resource-based). The parameters are stored until the function DoModal is called. OperationsDoModal Calls a modal dialog box and returns when done. 
    EndDialog Closes a modal dialog box. 
    GetDefID Gets the ID of the default pushbutton control for a dialog box. 
    GotoDlgCtrl Moves the focus to a specified dialog-box control in the dialog box. 
    MapDialogRect Converts the dialog-box units of a rectangle to screen units. 
    NextDlgCtrl Moves the focus to the next dialog-box control in the dialog box. 
    PrevDlgCtrl Moves the focus to the previous dialog-box control in the dialog box. 
    SetDefID Changes the default pushbutton control for a dialog box to a specified pushbutton. 
    SetHelpID Sets a context-sensitive help ID for the dialog box. OverridablesOnCancel Override to perform the Cancel button or ESC key action. The default closes the dialog box and DoModal returns IDCANCEL. 
    OnInitDialog Override to augment dialog-box initialization. 
    OnOK Override to perform the OK button action in a modal dialog box. The default closes the dialog box and DoModal returns IDOK. 
    OnSetFont Override to specify the font that a dialog-box control is to use when it draws text. 
      

  5.   

    在MFC中OnWindowPosChanging是对windows的WM_WINDOWPOSCHANGING消息的响应函数。
    具体可以查看MSDN
      

  6.   

    CDialog继承于CWnd,而OnWindowPosChanging是CWnd类的成员函数,所以OnWindowPosChanging应该是CDialog的成员函数.