File Browser Control Callbacks in LabWindows/CVIPrimary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I created a callback function for my File Browser control in LabWindows/CVI, but it doesn't seem to be called when user events occur on the right hand side of the File Browser control. The callback is only fired when the user clicks on the left hand side of the File Browser. How can I catch user events on the right side? Solution: The File Browser control in LabWindows/CVI is actually made out of 2 listbox controls. When you create a callback for the File Browser control you are really making a callback for the left hand side of the File Browser control (the tree side). To create a callback for the right hand side of the File Browser control you have to first determine programmatically what the control ID of the listbox is and then install a callback function using the InstallCtrlCallback() function. See the attached example. Related Links: Attachments:
Report Date: 08/08/2006 Last Updated: 09/08/2006 Document ID: 407BGOCW |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
