I am developing a dialog based client for FrameMaker.
I Created a dialog using .dre file to generate .dl and .xdi files
In my client code I opened the dialog using F_ApiOpenResource(FO_DialogResource, (ConStringT)"MYDIALOG");
and then F_ApiModelessDialog(MYDIALOG, dlgId); to display the dialog. The dialog appears as expected.
How do I make the FM POD(Modeless dialog) re-sizable?
Examples FM POD's for Markers, fonts, insets are all re-sizable. I want to achieve same behavior for my custom dialog.
Copy link to clipboard
Using the gripperbar property enables the resizing.
F_ApiSetInt(FV_SessionId, dlgId, FP_ResizeGripperBarVisibility, FV_DIALOG_GRIPPERBAR_TRUE);
F_ApiSetInt(FV_SessionId, dlgId, FP_ResizeGripperPos, FV_DIALOG_RESIZEGRIPPERPOS_BELOW);