Unit 'msewindowwidget' Package
[Overview][Types][Classes][Index] [#msegui]

tcustomwindowwidget.clientwinid

Returns the OS window handle of the widget's client area, to pass to external libraries that need one (e.g. to attach a video overlay)

Declaration

Source position: msewindowwidget.pas line 104

public property tcustomwindowwidget.clientwinid : winidty
  read getclientwinid;

Description

Returns the OS window handle of the widget's client area, to pass to external libraries that need one (e.g. to attach a video overlay). On Windows this is a HWND, not a HDC: use getdc(clientwinid) if a device context handle is needed. This widget class does not paint its client area itself; the external library or your own code must do it — see topenglwidget for a descendant with an OpenGL render context.


Documentation generated on: 2026-10-03