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
Input Box: To demonstrate the use of the Input Box as shown in figure. Now consider the illustration shown below: 1. Initiate a new project 2. Select the standard exe

Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate

While a run-time error takes place, the properties of the Err object are filled with information which uniquely identifies the error & information which can be used to handle it. I

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

Record Set: The record set presents the records in a base table or the records retrieved due to the query. The record set falls into 3 classes. These are table type record set

I have a problem with Visual Basic: exchangeable 2 images of place I have 2 picturebox''s placed a button when I click on the button, the 2 pictures of this place change with e

A vehicle dealership has a number of different items for sale: motorbikes, cars, vans and boats. Each class of items for sale has different characteristics that need to be recor

A Project to Display a Database: 1. Suppose that there are 5 fields describing a customer. Id, address, name, city & state. 2. Put 5 text boxes on the form to exhibit the r

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

For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh