Jump to content

Recommended Posts

  • 1 month later...
Posted

hi! RUN mian ConsoleWrite:

[0607/174222.863:ERROR:proxy_service_factory.cc(116)] Cannot use V8 Proxy resolver in single process mode.
[0607/174222.933:WARNING:histograms.cc(40)] Started multiple compositor clients (Browser, Renderer) in one process. Some metrics will be disabled.

What's the matter?

OS windows10 x64 1803

  • 1 year later...
Posted (edited)

If I try to put two differente browser in my app it possible?

I put one an it work but the other one don't load.

EDIT:

When I have Browser in my custom GUI, I have a small screen with no title and I don't no where and why it create? I want retrive this handle for closing when I close my app.

Thanks

Edited by Phil1991
Add question
Posted
  On 6/21/2019 at 1:03 PM, Phil1991 said:

If I try to put two differente browser in my app it possible?

I put one an it work but the other one don't load.

Expand  

CefApp should use for one application, but CefClient (includes many event handles from this) should use each browser.

You can see, https://github.com/small-autoit/mb/blob/master/mini_browser.au3

I used two CefClient for two browser handle ($browser_client and $toolbar_client).

And the browser window is created after toolbar created, via OnAfterCreated event.

func toolbar_onAfterCreated($browser)
    if ($toolbar_hwnd==0) then
        $toolbar_frame = $browser.GetMainFrame()
        $toolbar_hwnd = ptr($browser.GetHost().GetWindowHandle())
        
        _MoveWindow($toolbar_hwnd, 0, 0, $width, $toolbar_height, 1)
        _ShowWindow($toolbar_hwnd)

        $cef.CreateBrowser($cef_winfo.__ptr, $browser_client.__ptr, $url, $cef_bs.__ptr, null)
    endif
endfunc

On the other hand, one client can create multiple browser windows via $cef.CreateBrowser;

after created, browser handle, browser host and frame will be difference, you should identify for each one.

 

  On 6/21/2019 at 1:03 PM, Phil1991 said:

When I have Browser in my custom GUI, I have a small screen with no title and I don't no where and why it create? I want retrive this handle for closing when I close my app.

Expand  
$client.OnAfterCreated = func_; 
$client.OnBeforeClose  = func_;

 

  • 1 year later...
Posted

!? how could i miss this post so far?
I can't believe it ... anyway ... it looks very interesting.
If anyone has further usage examples, they are welcome if are posted here.
Thanks

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted (edited)
  On 11/23/2020 at 2:12 PM, Chimp said:

!? how could i miss this post so far?

Expand  

the same question araise in my mind. 

Edit: How you could miss this ;)

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Here is my recently posted topic.

 

Is it about the same feature ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 11/24/2020 at 10:09 AM, mLipok said:

Here is my recently posted topic.

 

Is it about the same feature ?

Expand  

Hi @mLipok,

That topic is also very interesting, (maybe even more than this), making Edge "embeddable" in AutoIt, but unfortunately there is not something 'runnable' in AutoIt yet,  however I stay tuned to that ...
This post on CEF (Chromium Embedded Framework) instead offers something already usable in AutoIt, so I find it interesting to be able to do some practical experiments ...

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

@Chimp

Please make a post on my "Edge" thread - describe what you think about it.

I hope that someone with more experience in C ++ and in Windows API will finally notice this thread and help to get started.

btw.
I hope you will get involved in it somehow.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 1 year later...
Posted

Hi NHD, your work is just incredible, I managed to make it work for embedding chrome in my project

However, this version of CEF is really outdated. Many websites already dropped support

I just wanted to ask if you could make it compatible with newer CEF versions, that would help a lot, if you could take some time for that

I really support your project and can contribute and donate if you help with this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...