xtd 0.2.0
Loading...
Searching...
No Matches

◆ handle()

intptr xtd::forms::control::handle ( ) const
overridevirtual

Gets the window handle that the control is bound to.

Returns
An intptr that contains the window handle (HWND) of the control.
Remarks
When the underlying toolkits is native, xtd::forms::control::handle and xtd::forms::control::native_handle are the same, But if the underlying toolkit is not native, the xtd::forms::control::handle matches the toolkit handle while xtd::forms::control::native_handle returns the true native handle.

Implements xtd::forms::iwin32_window.

Examples
painting.cpp.