Highlighted

Create re-sizable Modeless dialog in FrameMaker

Explorer ,
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

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

TOPICS
Scripting

Views

180

Likes

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

Create re-sizable Modeless dialog in FrameMaker

Explorer ,
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

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

TOPICS
Scripting

Views

181

Likes

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

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Jun 20, 2018 0