Bharat,
change the window style by using GetWindowLong and
SetWindowLong, and change the system menu by using GetSystemMenu.
I remember reading a lot of examples in the web, it is where
I got the code I am using (it is now too complex for publishing it.)
Check this site as a start:
http://www.mvps.org/vb/
BTW the title of your post is too ambiguos: better was using,
for example, 'how to disable buttons in form title bar'
-----Original Message-----
From: Bhamini Saboo / Bharat Saboo [mailto:bharatsaboo@y...]
Sent: Tuesday, September 11, 2001 7:04 AM
To: professional vb
Subject: [pro_vb] Windows API
hi there
can anyone tell me if i can disable a mdi forms maximize and close
buttons using the API. if yes then let me know the API call or function
to use.
thanks in advance.
bharat