LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Installing a callback for multiple windows messages and processing EVENT_NEWHANDLE message

Good afternoon all,  I am a newbie to using the Win32 API.  I have two questions:

    • When a single callback is installed to process multiple windows messages, will the install function return the same windows handle for the panel?
    • I also saw noted in the help your panel should handle and respond to the EVENT_NEWHANDLE message.  Does the InstallWinMsgCallback function need to be called make sure your panel handles this message as well?

Thank you for your help.

0 Kudos
Message 1 of 3
(4,326 Views)

Hi hortoxn1,

 

We have a KnowledgeBase Article on this topic that you may find useful:

 

"How Do CVI Panels Process Windows Messages?"

http://digital.ni.com/public.nsf/allkb/29C12428E7974EEF862565EF00839871

 

Does that explain what you're looking for?

Steven Gloor
Staff Customer Engineer - CTA, CLD
Message 2 of 3
(4,301 Views)
Thank you. Found some example code too looking at related links.
0 Kudos
Message 3 of 3
(4,295 Views)