Help Center
Help Center›AfxNova

CDialog.ControlSetFocusmethod

Sets the focus in the specified control of a dialog box. See https://devblogs.microsoft.com/oldnewthing/20040802-00/?p=38283

WindowsmethodCDialog.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE SUB CDialog.ControlSetFocus (BYVAL cId AS LONG)

Description

Sets the focus in the specified control of a dialog box. See https://devblogs.microsoft.com/oldnewthing/20040802-00/?p=38283

Reference

  • Include file CDialog.inc
  • Defined in AfxNova/CDialog.inc:1975