LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with compiling

when I compile this projekct I got the following error meassage:
  85, 41   Type error in argument 1 to `Combo_NewComboBox'; found 'pointer to __cdecl int function(int,int,pointer to void,int,int)' expected 'int'.
what is the problem?
 
samuel
0 Kudos
Message 1 of 2
(2,792 Views)
Samuel,

Combo_NewComboBox transforms a string control into a combo box custom control.  As arguments, it takes the panel handle and the control constant that specify the string control you want to make into a combo box.  Instead of passing MainPanelCallback, pass it gMainWindow.panel.

Mert A.
National Instruments
0 Kudos
Message 2 of 2
(2,779 Views)