Help Center

CWindow.ControlAddStylemethod

Adds a new style to the specified control.

WindowsmethodCWindow.incdocumented

Syntax

FUNCTION ControlAddStyle (BYVAL hWnd AS HWND, BYVAL dwStyle AS LONG_PTR) AS LONG_PTR

Parameters

NameDescription
hwndThe handle of the control.

Description

Adds a new style to the specified control.

Reference

  • Include file CWindow.inc
  • Defined in AfxNova/CWindow.inc:1323
  • Documented in Windows/Windows GUI/CWindow Class.md
  • Topic: CWindow Class