Skip to main content
Inspiring
June 20, 2018
Answered

Create re-sizable Modeless dialog in FrameMaker

  • June 20, 2018
  • 1 reply
  • 599 views

Hi,

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.

Thanks,
Abhijeet

This topic has been closed for replies.
Correct answer Abhijeet Narvekar

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);

Cheers
Abhijeet

1 reply

Abhijeet NarvekarAuthorCorrect answer
Inspiring
June 21, 2018

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);

Cheers
Abhijeet