Disabling control box but not min/max buttons 
Author Message
 Disabling control box but not min/max buttons

Does anyone know how to disable the control box, so that the X does not
appear on a form, but the min and max buttons do. Use to be able to do
this in VB4 but VB5 seems quite stubborn about hiding the min and max
buttons as well.



Sun, 23 Apr 2000 03:00:00 GMT  
 Disabling control box but not min/max buttons

Quote:

> Does anyone know how to disable the control box, so that the X does not
> appear on a form, but the min and max buttons do. Use to be able to do
> this in VB4 but VB5 seems quite stubborn about hiding the min and max
> buttons as well.

this may not be a VB thing . On NT 3.51 setting the forms properties
CONTROLBOX=FALSE, MAXBUTTON=TRUE and MINBUTTON=TRUE produces a form with
only the min and max buttons. maybe this behaves differently on 95 and
NT 4.0 ?

--
Bob Martin



Sun, 23 Apr 2000 03:00:00 GMT  
 Disabling control box but not min/max buttons

It may be that this is a OS problem. However, the same app under VB4 running
on Win 95 shows the min / max buttons but when converted to VB5 also running
under Win 95 it doesn't show the min/max buttons.  Under VB4 the app was
using the 16bit version so maybe that has something to do with it?
Nonetheless, it is very annoying.

Quote:


> > Does anyone know how to disable the control box, so that the X does not
> > appear on a form, but the min and max buttons do. Use to be able to do
> > this in VB4 but VB5 seems quite stubborn about hiding the min and max
> > buttons as well.

> this may not be a VB thing . On NT 3.51 setting the forms properties
> CONTROLBOX=FALSE, MAXBUTTON=TRUE and MINBUTTON=TRUE produces a form with
> only the min and max buttons. maybe this behaves differently on 95 and
> NT 4.0 ?

> --
> Bob Martin



Mon, 24 Apr 2000 03:00:00 GMT  
 Disabling control box but not min/max buttons

Quote:


> > Does anyone know how to disable the control box, so that the X does not
> > appear on a form, but the min and max buttons do. Use to be able to do
> > this in VB4 but VB5 seems quite stubborn about hiding the min and max
> > buttons as well.

look here it might be the information you are looking for.
ftp://FTP.Microsoft.com/developr/vb/kb/Q82/8/76.txt

--

This mail comes from Elky, da moose from #bjork

___________________________________________________________
|Settle
  |Settle for
    |Settle for nothing
      |Settle for nothing less
        |Settle for nothing less than the object of your desire
___________________________________________________________
by this american lady. -Bjork-



Wed, 26 Apr 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. MDI form without title bar, control box, max/min buttons

2. Disabling Min and Max buttons on MDI Form

3. Disabling Min, Max, and Close buttons on MDI form

4. Disable Max/Min buttons on MDIParent

5. Disabling Max/Min Buttons on MDI

6. Disable Min and Max leave Close

7. Min, Max Buttons

8. MDI child form, Min and Max buttons

9. min/max button ?

10. Q: Overriding min,max,rstr Buttons

11. MDI Form Min/Max Button

12. Parent MDI form without Min and Max Buttons?

 

 
Powered by phpBB® Forum Software