|
-
May 12th, 2003, 03:38 AM
#1
Getting a size of a Window
I have a application whose FrontEnd is developed in VC++ And the Backend is in C#. From the Frontend I send the window handles of some controls created in the Frontend, to the Backend.
Now in the BAckend using one of these Window handles I want to determine the size of the Window represeneted by this HWND.
Could anybody please tell me if there is a method, function within C# which gives me the size of the particular HWND
thanks
-
May 12th, 2003, 08:45 AM
#2
Just a guess....still a bit of a noobie, but there has got to be a fuction something like
Form GetFromFromWindowHandle(Hwnd);
Once, you have a reference to the window itself, height and width are hust properties.
WindowName.Height
WindowName.Width
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|