Message routing - visual basic, Visual Basic Programming

Message Routing:

The system posts the messages to a first-in, first-out queue known as the message queue or it sends the messages directly to a window procedure. The Messages posted to a message queue are known as the queued messages. These are the result of the user input entered through the mouse or the keyboard, like WM_KEYUP, WM_RBUTTONDOWN. The messages, sent directly to the window procedure are the non queued messages.

The Non queued messages are sent instantly to the destination window procedure, bypassing the system message queue and the thread message queue. The system sends the non queued messages to notify a window of events that influence it. For illustration, whenever the user activates a new application window, the system sends the window WM_SETFOCUS, WM_ACTIVATE, and WM_SETCURSOR messages. These messages notify the window which it has been activated, that the keyboard input is being directed to the window, and which the mouse cursor has been moved within the borders of the window. The Non-queued messages happen when an application calls certain system functions. For illustration, the system sends the WM_WINDOWPOSCHANGED message after an application uses the SetWindowPos function to move a window.

Posted Date: 10/9/2012 7:51:31 AM | Location : United States







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

Write discussion on Message routing - visual basic
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

Message Routing: The system posts the messages to a first-in, first-out queue known as the message queue or it sends the messages directly to a window procedure. The Messages

This is a member of Microsoft's Visual Basic family of development products. Other members comprise Visual Basic (Professional and Standard Editions) & Visual Basic for Application

INTRINSIC CONTROLS   The Intrinsic controls are the built-in controls. Few of the controls are Combo box, Check box, Command Button, Label etc. The controls have properties re

Let us modify the webTime ASP.NET project that we developed. We will add drop down lists for modifying the different style elements for the label element that displays the time. We

Enabling ODBC: 1. Select the control panel, programs, setting and then ODBC32 2. Double click on the ODBC32 3. The Settings for an operating system will take place. 4

Write Visual Basic programs for the following: 1.     Write a program that uses a "For Loop" to generate a list of temperature conversions in one degree increments from a given

Properties: VBScript Err Object   Properties   Description   D escription Property The descriptive string related

Difference between Class Module and Standard Module? Standard module: -This place for variable declarations,procedures etc.& it can accessed these procedures in whereve

This section will discuss the fundamentals of VBScript and define concepts such as datatypes, loops and others. VBScript Data Types VBScript contain only one data type called