|
-
Nov 18th, 1999, 03:21 AM
#1
Thread Starter
New Member
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
-
Nov 18th, 1999, 04:14 AM
#2
Set the Forms BorderStyle to anything other than Sizeable.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 18th, 1999, 04:21 AM
#3
Thread Starter
New Member
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
-
Nov 18th, 1999, 04:29 AM
#4
But a CommonDialog isn't sizable anyway!?
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 18th, 1999, 04:44 AM
#5
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|