Help Center

AfxSetWindowStylefunction

Sets the style(s) of the specified window.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxSetWindowStyle (BYVAL hwnd AS HWND, BYVAL dwStyle AS LONG_PTR) AS LONG_PTR

Parameters

NameDescription
hwndHandle to the window.
dwStyleThe style(s) to set.

Return value

The previous window styles.

Description

Sets the style(s) of the specified window.

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:1864
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures