Help Center
Help Center›AfxNova

CDialog.ControlSetLocmethod

Sets the location of the top left corner of the window. The location is relative to the upper-left corner of the client area in the parent window.

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 FUNCTION CDialog.ControlSetLoc (BYVAL cId AS LONG, BYVAL nLeft AS LONG, BYVAL nTop AS LONG) AS BOOLEAN

Return value

TRUE or FALSE. To get extended error information, call GetLastError.

Description

Sets the location of the top left corner of the window. The location is relative to the upper-left corner of the client area in the parent window.

Reference

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