Community Tip - You can change your system assigned username to something more personal in your community settings.
I have created a list in a dialog window using the following code (Creo 18.104.22.168)
ProUIDialogListAdd(DIALOG_DIM_LIST, DIM_LIST_NAME, &grid_opts);ProUIListListtypeSet(DIALOG_DIM_LIST, DIM_LIST_NAME, PROUILISTTYPE_TABULATED);ProUIListColumnsSet(DIALOG_DIM_LIST, DIM_LIST_NAME, 10);ProUIListNamesSet(DIALOG_DIM_LIST, DIM_LIST_NAME, 10, szListClmnNames);ProUIListColumnlabelSet(DIALOG_DIM_LIST,DIM_LIST_NAME,ProStringToWstring(wcText, "Annotation elem\tSubtype\tDimension type\tUnit quantity\t""Nominal value\tUnits\tUpper limit\tLower limit\tVisible\t""Combination state"));ProUITableAlignmentSet(DIALOG_DIM_LIST, DIM_LIST_NAME, PROUIALIGNMENT_CENTER);
This gives the following result
How can I now add items to this list?
I have tried to do this using ProUITable functions as that worked to set the alignment but this failed.
I have tried to do it with ProUIListLabelsSet but this failed also.
Can anyone point me into the right direction?
Go to Solution.
I was able to solve my problem. Once I figured out the API needed was called ProUIListLabelsSet I found the following post
This helped to accomplish what I wanted to do.
View solution in original post