api_showwindow
Versione 1.0.0.0 (25,9 KB) da
Mihai Moldovan
The function warps the WIN32 ShowWindow API in User32.dll.
3,3K download
Aggiornato
24 lug 2002
Nessuna licenza
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)
Cita come
Mihai Moldovan (2026). api_showwindow (https://it.mathworks.com/matlabcentral/fileexchange/2041-api_showwindow), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R12.1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Interactive Control and Callbacks in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
api_showwindow/
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
