Posts a message to the application that invoked this method.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub PostMessageToApplication( _
ByVal Cookie As Integer, _
ByVal UserData As Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Cookie As Integer
Dim UserData As Integer
instance.PostMessageToApplication(Cookie, UserData)
|
Parameters
- Cookie
- Cookie specified in ISwAddin::ConnectToSW
- UserData
- Additional message-specific information defined by the application
Example
You must be a SolidWorks subscription customer to access the SolidWorks API forum's documents.
- Open https://forum.solidworks.com/community/solidworks/api?view=documents.
- Log in.
- Click SolidWorks > API to open the SolidWorks API forum.
- Click the Documents tab.
- Locate the C++ 32-bit and 64-bit Add-ins Post Messages After Every Selection document and download either the 32-bit or 64-bit version of the C++ project.
Remarks
See Also
Availability
SolidWorks 2010 SP1, Revision Number 18.1