Alistair,

The following MapBasic statement in your workspace will disable the Close
button on your window:-

        Set Window  FrontWindow()  SysMenuClose Off

It must be placed immediately after a statement which references the window
you wish to apply this to for the FrontWindow() statement to pick up the
correct Window ID, e.g. the 'Map From' statement. 

I don't believe you have any facility to disable the min / max buttons with
MapBasic so if you want more control you'll probably have to look at Win32
API calls.

Regards,

Keith

-----Original Message-----
From: A.W. Male & Associates Pty Ltd [mailto:[EMAIL PROTECTED]] 
Sent: 26 September 2002 06:22
To: [EMAIL PROTECTED]
Subject: MI-L MI Removing Min Max Close Buttons using VB


Hi All,

I am having trouble finding some code that will remove the min max and 
close buttons from the map window . I still require the MI window min max 
and close buttons. My MI cession is started from within MsAccess and I 
don't use MapBasic. I am aware of API calls, but I am not to sure how I 
should approach this.

Is there an alternative using a modified menu in the workspace ??

Any help will be very much appreciated


Thanks



Alistair


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3257


This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3260

Reply via email to