共用方式為


CWindow::GotoDlgCtrl

Sets the keyboard focus to a control in the dialog box.

void GotoDlgCtrl( 
   HWND hWndCtrl  
) const throw();

Remarks

See WM_NEXTDLGCTL in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::NextDlgCtrl

CWindow::PrevDlgCtrl