On Dec 16, 4:09 am, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.atwrote:
"kimiraikkonen" <kimiraikkone...@gmail.comschrieb:
I need to show an active window's (form) size(width and height in
pixels) in message box, however there are some low-level api calls in
user32.dll but i don't know which function returns the correct
information.
If you are referring to the application's active window, take a look at
'Form.ActiveForm'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Hi Herfried,
Thanks but my aim is to display an other active window's(not my
project's window) size. (there's some classes under me.activeWindow).
For example when my project is minimized as a notification icon, with
a keystroke(eg: ctrl) i should get the name of current active window's
size(eg: Internet Explorer's window size, explorer's window size). I
tried something but when i minimize my project as a notification
window, keystrokes(keydown event) doesn't run.
How can i do this?
Thanks!