Retreive the windows handle (HWND) of a window with its name.
Updated 21 Oct 2002

No License

This procedure retrieve the HWND handle of a windows (under MS WIN*) knowing its name. With this handle (an integer) you can manipulate the windows as a system object.

Cite As

Jerome Lacaille (2024). gethwnd (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes