[Data sorting] Visual Basic interface design overview

Source: Internet
Author: User
Visual Basic interface design overview

[Preface:] The appearance of the interface and user affinity are the primary conditions for application software success, so the interface is often Program The most effort-consuming part. In this album, I will give you a comprehensive introduction to the principles and skills of Interface Design in Visual Basic.

Interface Design Principles

VB Application Interface Design
User Interface is the most important part of an application. For users, the interface is an application and they do not feelCode. No matter how much time and effort it takes to compile and optimize code, the availability of applications is still largely dependent on the quality of the interface.

Try a new interface style
With the continuous evolution of the Windows product style, various application software vendors are also following up, but it is often because mainstream development tools cannot keep up with the pace, at this time, we often need some auxiliary tools to compile the exquisite interface. This article only talks a little bit about this experience. Here are two examples of gadgets.

VB Advanced Interface Programming
You may write a menu program using VB. You can easily write a menu by using a menu editor in VB.

Interface Design Principles and programming skills in VB
The MDI (multipledocumentinterface) form is defined as follows: "The MDI form is the background window of a program and contains a form with the mdichild attribute being true ". In a vbprogram, at most one MDI parent form can exist, and multiple MDI child forms can exist.

Use Visual Basic to design a better user interface
In the Visual BASIC program design, we can use the statement: object. setfaocus to make the control we want get the input focus.

Menu and toolbar

Implement the flat Toolbar
The buttons on the toolbar of popular software are flat buttons, which will only rise when the mouse moves out of date. This effect is very troublesome to implement using the texture method, and it is very convenient to implement it using API functions, quick. The basic idea is to use the sendmessage function to send a message for setting the display style tb_setstyle to change the Display Effect of the toolbar.

Add an icon to the menu
The default menu provided by the VB menu editor cannot add icons to menu items. Many popular software mostly use beautiful menus with small icons, if you want to use VB to achieve this effect, you must call the API function.

Production of tool bar in VB5.0
Toolbar is a commonly used Interface Element for applications in windows. The commonly used commands in the menu are arranged as buttons in the toolbar with appropriate icon symbols and text prompts, which greatly facilitates the user's

Use VB to design a dynamic command icon bar
When using Windows applications such as Word and Excel, we often see a line of "three-dimensional" icon at the top of the interface. When you press an icon, the program performs the corresponding operation. This line of "three-dimensional" icon is usually called the command icon bar or toolbar

Others

Experience in vbprogram Interface Design
Visual Basic (VB) can be used to quickly design a standard style Windows software. However, there is still much work to be done to create an easy-to-use GUI.

Design Flow bar using VB 3D panel control
VB provides a three-dimensional panel control, which can be used to design a three-dimensional interface with graphic effects, so that the application interface is more vivid and beautiful, this control can also set various forms of background, and then display various forms of characters on the background

Display style using VB Control Window
Whether the software interface is vivid or not depends on your design and control of the window. In fact, Windows programmers can manipulate any windows in the system, which means that Windows programmers can directly manipulate any running application windows.

Use VB to convert the command line software into windows
There are many popular software, such as ARJ and undisk, which appear in the form of command lines in the DOS environment. It relies on a large number of parameters and switch variables to implement its rich functions.

Use API functions to improve the display effect of the listview Control
The listview control is one of the favorite widgets of VB developers. As a member of the Windows 95 public control group (comctl32.ocx), it is often used together with controls such as Treeview and imagelist.

Use VB to implement full-screen graphical interface and dynamic function prompts
Graphical interfaces are the main means of human-computer interaction in modern software. In order to ensure the uniformity and appearance of the interface, most of the graphic interfaces in the software opening process adopt the full screen diagram.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.