Results 1 to 5 of 5

Thread: Size Grip

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    12

    Post

    Hi,
    Does anyone know how to remove the Size Grip from a form. I can't find a Class name or Control ID for it so I can't trap when its being created and destroy that message.

    Thanks
    MAP

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Set the Forms BorderStyle to anything other than Sizeable.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    12

    Post

    The Form is the A Windows CommonDialog so I can't set it to sizable or not.
    I did however just solve the problem.
    The Size Grips class name is 'ScrollBar'
    and its WindowStyle is '&H56020014'.
    If you trap the dialog as its being created in the Timer event you can override its message handler. Write a message handler for the Scrollbar class and when the WM_PAINT message is sent destroy the Size Grip window.

    thanks
    MAP

  4. #4
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    But a CommonDialog isn't sizable anyway!?

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    12

    Post

    The new commondialog dll for win98/2000 have a new Explorer look and it is resizable.

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