Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / September 2008



Tip: Looking for answers? Try searching our database.

Which API to get window size

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Me - 03 Sep 2008 18:30 GMT
I want to resize (change only the width of) another programs window. I have
gotten the handle to that window and think I will use the SetWindowPos API
with the noMove, noZorder flags (unless someone recommends a better API for
this).

The question is which API to use to get the current size of the window so
that I only modify the width.

Thanks in advance
Scott Seligman - 03 Sep 2008 18:34 GMT
>The question is which API to use to get the current size of the window so
>that I only modify the width.

GetWindowRect

Signature

--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
  Clothes make the man. Naked people have little or no influence on
  society. -- Mark Twain

Me - 03 Sep 2008 19:03 GMT
>>The question is which API to use to get the current size of the window so
>>that I only modify the width.
>
> GetWindowRect

Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.