Disabled Minimize, Maximize button from a window 
Author Message
 Disabled Minimize, Maximize button from a window

Hi,
I would like to know if we are able to disable the Minimize and Maximize
button from a window, with WSH VBScript?
I am trying to do that, but I couldn't find it.
Please, if you have any idea  about it, please reply to me.
Thank you in advance,

Regards,
Varua



Tue, 11 Mar 2003 03:00:00 GMT  
 Disabled Minimize, Maximize button from a window
Not supported in WSH and/or VBScript/JScript, because it
need manipulating of the app window style. You need some
third party extensions who access WIN API to change window
properties - but I haven't seen such a thing.

G. Born
______________________________________________________
Check out the WSH Bazaar at www.borncity.de

Nouvelles schrieb in Nachricht ...

Quote:
>Hi,
>I would like to know if we are able to disable the Minimize and Maximize
>button from a window, with WSH Vbscript?
>I am trying to do that, but I couldn't find it.
>Please, if you have any idea  about it, please reply to me.
>Thank you in advance,

>Regards,
>Varua



Wed, 12 Mar 2003 13:21:42 GMT  
 Disabled Minimize, Maximize button from a window

hi Varua,

This is normally done by removing the minimize and maximize items from the
target window's system menu.

And THAT little piece of magic requires calling api's, but it can be done
from script.  But (trust me) it's very messy.

To get an idea of how to do it, go to codehound, and look up "disable min".

    http://www.codehound.com/vb

Then to call the requsite api's, you need DynaWrap, available from Clarence
or Guenter.

cheers, jw


Quote:
> Hi,
> I would like to know if we are able to disable the Minimize and Maximize
> button from a window, with WSH Vbscript?
> I am trying to do that, but I couldn't find it.
> Please, if you have any idea  about it, please reply to me.
> Thank you in advance,

> Regards,
> Varua



Wed, 12 Mar 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. disabling minimize, maximize, restore buttons of an html popup window

2. How to disable the maximize button for a popup window in IE4/5

3. Using VBScript to minimize, restore/maximize, close window

4. Using VBScript to minimize, restore/maximize or close a window

5. link that can maximize/minimize browser window

6. how to disable the maximize button ?

7. maximize button - how to disable

8. maximize button - how to disable

9. disable close button without disabling make small button

10. I couldn't find out any explicit solutions for disabling close or minimize or maximize buttons.

11. minimize, maximize script just like on microsoft.com

12. Minimize/Maximize

 

 
Powered by phpBB® Forum Software