[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.WMDPIChanged

Handles the LM_DPICHANGED window message for the form.

Declaration

Source position: forms.pp line 623

protected procedure TCustomForm.WMDPIChanged(

  var Msg: TLMessage

); message;

Arguments

Msg

  

Window message handled in the method.

Description

Calls AutoAdjustLayout to apply the DPI setting in Message. This action is performed when:


Version 4.0 Generated 2025-05-03 Home