Results 1 to 3 of 3

Thread: shortcut key for maximising a form

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    44

    Post

    Is there a shortcut key for resizing a form. I need it to be able to maximise a form outside of my application (using the SendKeys function). Is there any other way to do this? The form is a plugin for Winamp, so I don't think Shell will work

    Thanx in advance,

    Matt

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    You could try

    SendKeys "% X", True

    (ie ALT+SPACE followed by X)

    if the window has a control box on it that should do it. You may want to use "-" instead of the space; ie

    SendKeys "%-X", True

    sometimes this may work better.


    ------------------
    Mark "Buzby" Beeton
    VB Developer
    [email protected]



  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    44

    Post

    Thanx for that, the actual line of code is:

    SendKeys "%( )X"

    Just in case anyone else was wondering!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width