04-17-2006 06:01 PM
04-18-2006 05:33 PM
04-19-2006 09:18 AM
04-19-2006 11:22 AM
PostMessage() and SendMessage() can only be called inside of MFC. What I want is sending a message from CVI. It seems like CVI doesn't support this.
Thanks
04-20-2006 08:47 AM
04-20-2006 11:58 AM
04-20-2006 12:17 PM
Hi Bilal,
The first argument of PostMessage and SendMessage is of type HWND which is the handle of the window we want to send the message to. Inside of the dll (CVI), I don't have that window handle of the window I want to send the message to, and I'm not sure if CVI supports this HWND data type.
Thanks
04-20-2006 12:46 PM
04-20-2006 01:30 PM
For anyone who comes across this thread at a later date, the function GetCVIWindowHandle() will return the HWND handle from CVI for use with SDK functions.
05-04-2006 12:46 AM