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
I HAVE A C# ASSIGNMENT , WILL I FIND SOMEONE PROFESSIONAL HELP HERE ?

Depreciation to a Salvage Value of 0.   For tax purposes an item may be depreciated over a period of several years, n. With the straight-line method of depreciation, each year th

FILE SYSTEM CONTROLS There are 3 file system controls as shown in figure. The drive list box, directory list box & the file list box. The drive list box control is used to exhi

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

DATA TYPES   The different primitive data types are Boolean, Char, Byte, Date, Decimal, Uinteger, Double, Integer, Long, Sbyte, Short, Single, String, Ulong & Ushort. To decla

i need to do my final project for my last year bsc honours degree in Business Information systems. I need to develop a system which is operational for hotel management system. th

Adding Events in VB   For adding the events in VB, first double click on the command button with the caption hello. The Private Sub command1_Click () and End Sub would be

Default Values for GDI Objects: The default color for the brush is white, pen is black, and default bitmap is null and the default font is system.

VISUAL INTERFACE DESIGN Instead of the graphic nature of the program, only the visualness of the inter action is important. The program must not focus on the GUI. On the other

how to make logic of o program and how to use loop