Is there a way to create WebBrowser control Window?

Community Beginner ,
Nov 29, 2018 Nov 29, 2018

Copy link to clipboard

Copied

I would like to develop a plugin for Acrobat DC using Acrobat DC SDK (using C++ and JavaScript).  One of the requirement is that the plugin need to be able to create
a WebBrowser control Window.  Reviewing “Acrobat DC SDK Documentation”, I did not found any API ( JavaScript for Acrobat API Reference, Acrobat and PDF Library API Reference ) that I can use to create a WebBrowser control Window.  Is there a way to achieve this?

Thank you

TOPICS
Acrobat SDK and JavaScript

Views

223

Likes

translate

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
Most Valuable Participant ,
Nov 29, 2018 Nov 29, 2018

Copy link to clipboard

Copied

Plug-ins have reasonably full access to the platform APIs, provided they use threading in the right way. Tips: your main thread belongs to Acrobat, and you must not run anything that does not return promptly, as Acrobat will hang. Use threads for long running processes. Do NOT, absolutely not, use the Acrobat SDK from any other threads.

Likes

translate

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
Adobe Employee ,
Nov 30, 2018 Nov 30, 2018

Copy link to clipboard

Copied

As TSN mentioned – just use platform APIs to create your WebBrowser window

Likes

translate

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
Community Beginner ,
Nov 30, 2018 Nov 30, 2018

Copy link to clipboard

Copied

For Windows platform, I only aware of .NET WebBrowser control, the plugin is C++ that implied call from C++ to managed C#.  Do you have suggestion for C++ API for Windows platform and for MAC OS platform to create WebBrowser control?

Likes

translate

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
Adobe Employee ,
Nov 30, 2018 Nov 30, 2018

Copy link to clipboard

Copied

You can instantiate a web browser instance on either platform using their native APIs – just consult the platform documentation.

OR you can use a 3rd party GUI library such as wxWidgets that includes a web control.

Likes

translate

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
Community Beginner ,
Nov 30, 2018 Nov 30, 2018

Copy link to clipboard

Copied

lrosenth and TSN, thank you very much for your suggestions.  I will look into these.

Likes

translate

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
Most Valuable Participant ,
Nov 30, 2018 Nov 30, 2018

Copy link to clipboard

Copied

Don't know, but Google suggests CHtmlView.

Likes

translate

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