How to access the "ribbon designer"?
While playing around in the background files of Creo... I found a resource file for "ribbon_designer_main".
I've never actually seen a "ribbon designer" natively inside of Creo.. so I decided to try to open the resource file.
I coded up something along the lines of the following:
// test code
void test_gui_close(char *dialog, char *component, ProAppData app_data) {
ProUIDialogExit(dialog_label, 0);
}
ProError test_gui() {
ProCharName resource = "ribbon_designer_main";
err = ProUIDialogCreate(resource, resource);
err = ProUIDialogCloseActionSet(resource, test_gui_close, NULL);
err = ProUIPushbuttonActivateActionSet(resource, "Cancel", test_gui_close, NULL);
err = ProUIDialogDestroynotifyActionSet(resource, test_gui_close, NULL);
err = ProUIDialogActivate(resource, &status);
err = ProUIDialogDestroy(resource);
return err;
}
That opened up a GUI...

Has anyone else seen this GUI before? Is this actually a completed object hidden inside of Creo somewhere? Opening the resource file by itself obviously only just loads the "text"... but I figure if someone went through the trouble of actually creating the ".res" file... there must be some code or an application somewhere to leverage it.
Thanks,
James

