Messages - visual basic programming, Visual Basic Programming


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
MENUS AND TOOL BARS   The Menu options can be checked, enabled, disabled, and popped up on an object. The Menu Object: The Menu control is used to generate a menu in

Create a project that draw a rectangle shape which may be either (*) or (+) according to the selected radio button. The number of rows in the shape will be taken from the 1 st

A program is needed to assist computing automobile repair bills. The cost of labor is $35 per hour. The costs for parts are subject to a 5% sales tax, which should be added t

Illustration of GDI object CPen: 1. Generate a SDI application. And name it as gdipen. 2. Press ctrl (control key) and W altogether to invoke the class wizard. 3. Choose

Data types: The New data types were defined by using the typedef or #define statements. This was to allow the transition from 16 bit to 32 bit system. Some of the fresh data t

You can employ until keyword in two ways to verify a condition in a Do...Loop statement. You can verify the condition before you enter the loop (as illustrated in the following Chk

outline and explain in detail any 10 applications of

i need sample balance sheet form in

Retrieval Methods: There are 3 ways to find a document. The primary method is a positional retrieval. This is achieved by keeping in mind where you left it. The next method is