Documente Academic
Documente Profesional
Documente Cultură
Chapter 1
Unit I
Introduction to GUI and Windows Programming
GUI Concept & Tools
The Title Bar
Menu System, Menus and the Menu Bar
The Size Box
System Menu Box
Icons
Cursors
Scroll Bars
Tool Bar
Client Area
GUI Concept & Tools
A graphical user interface (GUI) is a user interface that
allows interaction with a computer on its graphical
components like window, text box, command buttons
etc.
The GUI includes:
The title bar
Icons
Cursors
Scroll bars
Tool bar
Client area
Title Bar: The Title Bar shows the title of the window at
the top of the application as horizontal bar. The name of
the application and the name of the project you are
working on.
Menu system, menus and the menu box: The user
friendly applications use menu system. This is a system
that provides a list of commands or options. The menus
are of two types
Contact sensitivity menu: are sensitive to the contact
of mouse pointer. Eg submenu etc
Context sensitivity menu: are sensitive to the context
Object
Properties
Events
Forms
Controls
Modules
Methods
Event procedures
General procedures
Container Controls: A container is a control that can hold
other controls within it. Eg. A frame or a picture box or
simply your form. Controls inside a container are known
as child controls.
Object:- A object can be said to be a programmable
entity, containing both code and data. This entity can
be treated & controlled as a unit.. Eg Text Box controls,
Frame controls, List Box controls etc. whenever the
object is used it must have name.
A controls name is one of its most important attribute.
While naming controls you need to take care of these
rules:
Must begin with a letter
Must contain only letters, numbers, and the
underscore; punctuation characters & spaces are
not allowed.
Must be no longer than 40 characters