Skip to main content
Mar 9, 2023 3:34 PM UTC
Acknowledged

Add TOOLKIT APIs for getting/setting column widths of tabulated ProUIList widgets

Related products:Creo Parametric

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.


dummy.jpg

CAEModelNameCheck_2023-03-08_01.jpg
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.

1 reply

Mar 9, 2023 3:36 PM UTC
Status changed to: Acknowledged

Hi @bpavon-2!

Thank you for your idea. Based on the information you provided, we are acknowledging it as the Community management team. This is not a commitment from the Product team. Other users may comment and vote your idea up.