Messages - visual basic programming, Visual Basic Programming

MESSAGES

The Windows-based applications do not make explicit function calls to acquire input. They wait for the system to pass the input to them. The system passes input to the different windows in the application. Each window has a function, the window process, which is called by the system when it has input for the window. The window process processes the input and returns control to the system. The system passes the input to a window procedure in the form of messages.

The Messages are generated by both the system and applications. The system produces a message for each and every input event - for illustration, when the user types, moves the mouse or clicks a control like a list box. The system also produces messages in response to changes in the system brought about by an application, like when an application resizes one of its windows. An application can produce messages to direct its own windows to perform the tasks or to communicate with windows in other applications.

Whenever a window procedure receives a message, it uses a message identifier to conclude how to process the message. The message identifiers WM_PAINT tell the window procedure that the window's client region has changed and should be repainted. The WM is for common window messages.

Posted Date: 10/9/2012 7:50:37 AM | Location : United States







Related Discussions:- Messages - visual basic programming, Assignment Help, Ask Question on Messages - visual basic programming, Get Answer, Expert's Help, Messages - visual basic programming Discussions

Write discussion on Messages - visual basic programming
Your posts are moderated
Related Questions
A For Each...Next loop is similar to a For...Next loop. Rather than repeating the statements a particular number of times, For Each...Next loop repeats group of statements for each

Device Contexts: The Device Context (DC) is represented by the data type Handle to Device Context (HDC). The HDC is a handle to somewhat you can draw on; it can be the whole s

SDI Application The SDI application uses the main frame window to exhibit a document. Only one document can be opened at a particular time.

APPWIZARD   The Appwizard is a tool used for creating a project. It follows a series of steps to create a project. Steps Involved in Creating A Project: Step 1: Fr

ToolTip: The ToolTip property is used to flash a message regarding a control object when the mouse pointer moves over that object for a couple of seconds. Pick a control and c

1.   Make project in Visual Studio 2008. 2.   Controller Class is used for functioning. 3.   Login Form where three people can login like manager, staff and receptionist we c


Sets or returns wholly qualified path to a Help File. If Help file is indicated in HelpFile, it is called automatically when the user clicks Help button (or presses the F1 key) in

In VBScript, You create user-defined constants using the Const statement. It lets you create string or numeric constants along with meaningful names and let you to assign them lite

Sets or returns context ID for topic in Help File. If Help file is indicated in the VBScript Err Object HelpFile Property, the HelpContext property is utilized to display automatic