vb6 form sizeable

Posted on 2009-04-24
Last Modified: 2013-12-26
i am programming in visual basic 6,  i have a form which is by property is sizeable. like it got minimise button, maximise button and close button at the top right corner. by selection this property of form the form is sizeable means that one can click on the border and s selection option resize the form. i want to use the minimise button and close button but i want to disable the maximise button and disable the resizing the form by mouse. i have been un able to solve this, so please give me some solution.
Question by:jady123
    LVL 11

    Accepted Solution

    Set the BorderStyle property to "1 - Fixed Single" then set the MinButton Property to "True" (in that order).
    LVL 2

    Expert Comment

    Set your forms BorderStyle to 0-None. Add a label to the top of your form and set BackColor to a different color then the form. Add buttons or labels to depict 'close' or 'minimize' or w/e you want and add code to them.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now