I have Written a dll in CVI, and run it in VB. I have a panel that is loaded using the CVI generated code (see below) but none of the controls on the panel will function (a control button will not even animate to show it being pressed), yet the actual panel callback still works (the close X at the top will close the panel).
CODE:-
int VigFDShowDebug (void)
{
panelDebug = LoadPanelEx (0, "VigFD.uir", PANELDEBUG, __CVIUserHInst);
if (panelDebug < 0) return -1;
debug = TRUE;
DisplayPanel(panelDebug);
RunUserInterface ();
return TRUE;
}
If you pause the program you can see it breaks on RunUserInterface().
Can anybode get my controls working???
Regards
Alex