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
Ask question #Minimum 10Public Class Form1 ''=============================================== ''Date: June 24, 2014 ''Author: Xochitl Nisbet ''Purpose: Convert Celsi

Returns or sets a numeric value indicating an error. Number is the Err object's default property. While returning user-defined error from an Automation object, set Err.Number throu

Each piece of data is passed in your process using an argument. Arguments serve like placeholders for the data you wish to pass into your process. You can name your arguments along

MDI Application: The MDI application utilizes the main frame window as the work space in which the user can open more document frame windows.

i need code for assignment problem of operational research in vb

Tab Order: The tab order stands for the order in which the controls receive focus when the user clicks the tab key. The CTRL + D can be used to set the tab order of controls.

Properties: Every control has a default property related with it. The default property does not require to be named when you are functioning. The control Check box as value

PROJECT TO CREATE SPLITTER WINDOW   1. Generate the SDI application. 2. Enlarge the class tab page. 3. Select the view class. 4. On right clicking the menu pops up.

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

To run only one statement while a condition is True, employ the single-line syntax for the If...Then...Else statement. The following instance shows the single-line syntax. Notice t