Task.SendWindowMessage(Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends a Windows message and its associated parameters to the specified task.
public:
void SendWindowMessage(int Message, int wParam, int lParam);
public void SendWindowMessage (int Message, int wParam, int lParam);
abstract member SendWindowMessage : int * int * int -> unit
Public Sub SendWindowMessage (Message As Integer, wParam As Integer, lParam As Integer)
Parameters
- Message
- Int32
Required Integer. A hexadecimal number that corresponds to the message you want to send. If you have the Microsoft Platform Software Development Kit, you can look up the name of the message in the header files (Winuser.h, for example) to find the associated hexadecimal number (precede the hexadecimal value with &h).
- wParam
- Int32
Required Integer. Parameters appropriate for the message you’re sending. For information about what these values represent, see the reference topic for that message in the documentation included with the Microsoft Platform Software Development Kit. To retrieve the appropriate values, you may need to use the Spy utility (which comes with the kit).
- lParam
- Int32
Required Integer. Parameters appropriate for the message you’re sending. For information about what these values represent, see the reference topic for that message in the documentation included with the Microsoft Platform Software Development Kit. To retrieve the appropriate values, you may need to use the Spy utility (which comes with the kit).