How to Hide a Command Button in Visual C

Microsoft Visual Studio C/C++ is a visual programming environment. Visual C includes graphical tools to make programming tasks easier. Command buttons such as "OK," "Apply" and "Cancel" are present in every program. However, in some cases you might want to create a button, but hide it until it's needed or while you design the final program layout. Visual Studio C/C++ includes simple-to-use controls to hide command buttons, radio buttons, check boxes and entire windows.

Instructions

    • 1

      Open the "Start" menu, click "All Programs," then click the "Microsoft Visual C/C++" option in the "Microsoft Visual Studio" folder.

    • 2

      Click the "Open" option in the "File" menu, then click your project file to open it.

    • 3

      Right-click the command button you want to hide and click "Properties."

    • 4

      Click the "Hide" check box, then click "OK" to close the "Properties" window. The button will still appear in design view, but if you run the program it will not be visible.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured