Search found 179 matches

by rocrail
Sat Sep 28, 2019 11:12 am
Forum: Platform Related Issues
Topic: Frame icons for different usage/resolution
Replies: 2
Views: 119

Re: Frame icons for different usage/resolution

Thanks,

I will give it a try. :)
by rocrail
Sat Sep 28, 2019 9:14 am
Forum: Platform Related Issues
Topic: Frame icons for different usage/resolution
Replies: 2
Views: 119

Frame icons for different usage/resolution

Hi, I'm using a 256x256 Icon for Windows, and includes it in the Resource file as follows: #define wxUSE_NO_MANIFEST 1 #include "wx/msw/wx.rc" wxDEFAULT_FRAME ICON "xpm/rocrail.ico" On the Desktop its OK, but I would like to add another Icon for the Toolbar because it cannot be nicely scaled down. A...
by rocrail
Mon Sep 09, 2019 9:49 am
Forum: C++ Development
Topic: Disable verbose on wxImage::LoadFile
Replies: 3
Views: 118

Re: Disable verbose on wxImage::LoadFile

Thanks, that solved it. :)
by rocrail
Mon Sep 09, 2019 9:26 am
Forum: C++ Development
Topic: Disable verbose on wxImage::LoadFile
Replies: 3
Views: 118

Re: Disable verbose on wxImage::LoadFile

Calling
image.SetLoadFlags(image.GetLoadFlags() & ~wxImage::Load_Verbose);

does not disable the popups...
by rocrail
Mon Sep 09, 2019 9:03 am
Forum: C++ Development
Topic: Disable verbose on wxImage::LoadFile
Replies: 3
Views: 118

Disable verbose on wxImage::LoadFile

I'm implementing video streaming, and not all jpeg received data is OK. Its OK that the LoadFile function returns false in case of corrupt data. But, I want to switch off verbose: bool wxJPEGHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose, int WXUNUSED(index) ) Every time corr...
by rocrail
Fri Aug 02, 2019 10:17 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

doublemax wrote:
Fri Aug 02, 2019 9:39 am
So what exactly did you do? Split the MJPEG stream yourself and display individual images?
Yes. :)
by rocrail
Fri Aug 02, 2019 9:28 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

OK, success! :)

https://youtu.be/Hi_QLKD4EC0

Just watch the whole video; I will wink.

The video shows 12 fps, 320x240 pixels.
by rocrail
Thu Aug 01, 2019 5:26 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

Splitting up the mjpg stream is very simple.
I will implement a small widget for this...
by rocrail
Thu Aug 01, 2019 1:09 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

There seems to be work arounds for IE:
https://www.yawcam.com/forum/viewtopic.php?t=3592
But unfortunately this does not work. I also tested it directly with the MS InternetExplorer.
by rocrail
Thu Aug 01, 2019 8:50 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

The link is not public.

Edge under Windows 10 does support *.mjpg, so if webview.exe is told to emulate IE11 I would suspect it works with wxWebView too.
Should I open a Bug? wxWebView works out of the box under macOS and Linux-GTK.
by rocrail
Thu Aug 01, 2019 8:32 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

I add following line: #ifdef __WXMSW__ { wxLogNull nolog; // suppress error messages wxRegKey rk( wxT("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION") ); rk.Create(); rk.SetValue( wxT("webview.exe"), 11001); } #endif No error popups, but t...
by rocrail
Thu Aug 01, 2019 8:24 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

this part exists:

Code: Select all

HKCU\Software\Microsoft\Internet Explorer\Main
But should the rest of the path not be created by a function call first? (Create?)
by rocrail
Thu Aug 01, 2019 8:19 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

Hi,

the path does not exist in the registry.

In the log you see HKCU instead of HKEY_CURRENT_USER...
by rocrail
Thu Aug 01, 2019 8:09 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

OK, commented it out, but the following error pops up: 10:07:08: Can't open registry key 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' (error 2: Das System kann die angegebene Datei nicht finden.) 10:07:08: Can't set value of 'HKCU\Software\Microsoft\Inter...
by rocrail
Thu Aug 01, 2019 8:02 am
Forum: Compiler / Linking / IDE Related
Topic: wxWebView and Windows
Replies: 32
Views: 840

Re: wxWebView and Windows

Here the error logging after I commented out the wxLogNull code line: 10:00:12: Can't open registry key 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' (error 2: Das System kann die angegebene Datei nicht finden.) 10:00:12: Can't set value of 'HKCU\Software\...