• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Create re-sizable Modeless dialog in FrameMaker

Explorer ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

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

TOPICS
Scripting

Views

491

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jun 20, 2018 Jun 20, 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

Votes

Translate

Translate
Explorer ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines