api_showwindow

The function warps the WIN32 ShowWindow API in User32.dll.
ダウンロード: 3.2K
更新 2002/7/24

ライセンスがありません

When using MATLAB on windows platforms one could write MEX files to access the WIN32 API functions. However such a tutorial is difficult to find.

I decided to post an example with a commented C-MEX file that will demonstrate how to accurately find the windows handle of a MATLAB figure window and then do some API command on it.

For simplicity I selected the 'ShowWindow' API because it can be used to solve the 'common' figure maximization problem. (maximizefigure.m sample included)

引用

Mihai Moldovan (2024). api_showwindow (https://www.mathworks.com/matlabcentral/fileexchange/2041-api_showwindow), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R12.1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersInteractive Control and Callbacks についてさらに検索
謝辞

ヒントを与えたファイル: maxfig, WindowAPI

Community Treasure Hunt

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

Start Hunting!

api_showwindow/

バージョン 公開済み リリース ノート
1.0.0.0