Add TOOLKIT APIs for getting/setting column widths of tabulated ProUIList widgets
1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
I am a software developer working in the aerospace industry. We have 47 TOOLKIT applications most of which I wrote. The applications are written using a C++ framework I started creating in the early 2000s that encapsulates all calls to the TOOLKIT APIs.
2. What version of Creo Parametric are you currently running?
Version 7.0.9.0 is our current production version. Looking to go to 9.X.X.X this year.
3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.
Our applications use 48 resource/GUI files. In these there are 34 ProUIList widgets that define tabulated lists. Tabulated lists allow one to display a table. The width of the columns is set using the TabStops attribute which does not appear to be documented in the User Guide. A user can change the width of the columns interactively. However there are no current APIs for doing this. My request is for the following APIs to be added:
ProError ProUIListColumnwidthsGet(char* dialog, char* list, int* count, int** values);
ProError ProUIListColumnwidthsSet(char* dialog, char* list, int count, int* values);
They are modeled on the existing ProUITableColumnwidthsGet() and ProUITableColumnwidthsSet() APIs.
Below is a snippet from our caeselectmodeldialog.res resource file and a sample display of the dialog.


4. What is the use case for your organization?
See above.
5. What business value would your suggestion represent for your organization?
Allow proper display of tabulated lists when the content/order of the columns is modified programmatically.
