howto resize a window outside the current project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nate

    howto resize a window outside the current project

    I have code to resize/move a window within a application
    but how about this....example :

    create a program to resize/move a Internet Explorer window?

    any help will be appreciated.

    nate


  • Randy Birch

    #2
    Re: howto resize a window outside the current project

    Using the API you have to get the hwnd of the application (e.g. using
    enumwindows), then use either MoveWindow or SetWindowPos. It's probably also
    possible using late binding to the IE COM interface, but I'm not a
    late-binding guy so would be of no assistance here.

    --

    Randy Birch
    MVP Visual Basic

    Please respond only to the newsgroups so all can benefit.


    "nate" <nate@hello.com > wrote in message
    news:Bwwkc.18$M C6.2@fe1.columb us.rr.com...
    : I have code to resize/move a window within a application
    : but how about this....example :
    :
    : create a program to resize/move a Internet Explorer window?
    :
    : any help will be appreciated.
    :
    : nate
    :
    :

    Comment

    Working...