Hello,
I am working with some legacy code, and I am using LabWindows CVI 2010 (might be updated to 2015). Part of the code builds a panel with controls at runtime, with code like:
// Main panel.
selectPanel->handle = NewPanel(0, tempBuf,centerY-127+BORDER_WIDTH, centerX-198+BORDER_WIDTH,300,400);
...
//Button
selectPanel->deleteCtrlBtn = NewCtrl (selectPanel->handle,CTRL_SQUARE_COMMAND_BUTTON,"DELETE",258,114);
SetCtrlAttribute (selectPanel->handle, selectPanel->deleteCtrlBtn, ATTR_WIDTH, 76);
SetCtrlAttribute (selectPanel->handle, selectPanel->deleteCtrlBtn, ATTR_HEIGHT, 26);
SetCtrlAttribute (selectPanel->handle, selectPanel->deleteCtrlBtn,ATTR_CALLBACK_FUNCTION_POINTER, deleteCtrlBlkBtnCB);
SetCtrlAttribute (selectPanel->handle, selectPanel->deleteCtrlBtn, ATTR_LABEL_BOLD, 0);
...More controls etc...
So most attributes, like size and position is set at runtime. If I want to make this panel (with controls) user resizable (with minimize and maximize) can I build an UIR file
for that panel instead of the runtime code to solve my problem?
Best regards,
ChristianG.
P.S. I am very new to the LabWindows development environment. D.S.