Page 1 of 1

How to Open a new tab in my macOS app when i click a hyperli

PostPosted: Fri Dec 10, 2021 2:24 am
by kkpratik
Hi there,

I am creating a macOS app that opens a browser inside it.
Using the instructions provided by CEF tutorial on bitbucket, i was able to open a browser window in my macOS app.
I am trying to open a new tab on clicking a hyperlink or may be on the click of a particular button.
Can anyone help guide me in the right direction for this ? I could not find any relevant results for this anywhere.

Thanks.

Re: How to Open a new tab in my macOS app when i click a hyp

PostPosted: Fri Dec 10, 2021 11:20 am
by magreenblatt
See https://stackoverflow.com/questions/177 ... ab-in-html

CEF does not provide a tab control. You will need to implement that functionality in your application and use it as the parent for the new CefBrowserHost.