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 need sample balance sheet form in vb.net

FEATURES OF USER INTERFACE DESIGN The features like how will the software's are used? Who will be the users? What will be the life of the software? During its lifetime how ofte

Question 1 Create a VB application to make the text bold, italic, underlined and also color the text (using checkbox, option button, textbox controls) Question 2 Create a

INTRODUCTION TO DATABASE APPLICATIONS   In this section, we define a dialog and tab order that is the order in which the controls will be navigated during the execution. The D

Cdatabase Class: The CDataBase class helps to connect to the data source. The Open member function opens a connection to the data source. CRecordset class is used for performi


Would it be possible to see an example of an array program that tracks rent in different apartment buildings and is modular?

write a XML with database with book details( book id, author ,subject, published year, vendor,price, language )

DOCUMENT INTERFACES   A SDI (Single document interface) and the MDI (Multiple document interfaces) are the document interfaces. The MDI based applications can have numerous ch

DEVICE CONTEXT The device context provides the essential drawing tools and the platform to draw. It helps to draw the text, shapes, lines etc. To create the device context, the