HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

DPIChanged Event, SftTree Object

The control moved to a monitor with a different DPI (per-monitor-v2 hosts).

Syntax

VB.NETPrivate Sub object_DPIChanged(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.DPIChanged
VBPrivate Sub object_DPIChanged(ByVal DPI As Long)
C#.NETvoid object_DPIChanged(object sender, EventArgumentType e);
VC++void OnDPIChangedobject(long DPI);
CHRESULT OnDPIChangedobject(long DPI);

object

A SftTree object.

DPI

The new effective DPI for the control's monitor.

Comments

The DPIChanged event occurs on a per-monitor DPI-aware host when the control moves to a monitor with a different DPI or the system DPI changes. Use DPI to query the current value at any time.

See Also SftTree Object | Object Hierarchy | Per-Monitor DPI and Scaling


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.