If this is a problem, you can remove the border and titlebar
programmatically, before the window is realized. I wrote a quick
test program to confirm this: under appbuilder it has the title
bar, but when executing it does not.
- In the “Application” menu, click “Start Info/Modules”.
- Add a setup function. I named my function remove_borders
and placed it in test.c So, I wrote “firstname.lastname@example.org”
in the text box.
- Click “Apply”
- Click on the little icon of a pencil beside the “Setup Function”
label. This will open the editor to that file (test.c)
- Add the following code to the function remove_borders.
unsigned long *flags;
PtGetResource ( link_instance, Pt_ARG_WINDOW_RENDER_FLAGS, &flags, 0);
*flags &= ~(Ph_WM_RENDER_BORDER | Ph_WM_RENDER_TITLE);
PtSetResource ( link_instance, Pt_ARG_WINDOW_RENDER_FLAGS, *flags, 0);<
Works like a charm. (^_^)
Rennie Allen wrote:
This is a somewhat related nit wrt appbuilder. If you have a Window
with no menu decoration in appbuilder, then you cannot minimize it
within appbuilder. Perhaps leaving the menu on the appbuilder
representation of the window would be prudent ? Alternatively a
appbuilder menu item under the “Windows” menu button that would allow
the selected window to be minimized.