Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the width and height of a window
ResourceFunction["Win32WindowDimensions"][hwnd] returns the width and height of the window with the given window handle (HWND). | |
ResourceFunction["Win32WindowDimensions"][func] returns the width and height of the window for which the given function returns True when passed the window’s title. |
Get the dimensions of the Messages window:
In[1]:= |
Out[1]= |
Win32WindowDimensions is only supported on Windows operating systems:
In[2]:= |
Out[2]= |
In[3]:= |
Out[3]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License