Search found 80 matches

by Anil8753
Wed Jan 09, 2019 7:35 am
Forum: Platform Related Issues
Topic: wxFileDialog::EndModal(int ret) not implemented on both Win and Mac
Replies: 1
Views: 117

wxFileDialog::EndModal(int ret) not implemented on both Win and Mac

My requirement is to close the wxFileDialog programmatically. But looks like though wxFileDialog is derived from the wxDialog, EndModal() is not implemented on both Windows and MacOS. On windows, I found the workaround HWND hwnd = ::FindWindow(L"#32770", L"Select Files"); SendMessage(hwnd, WM_CLOSE,...
by Anil8753
Thu Nov 15, 2018 1:40 pm
Forum: C++ Development
Topic: wxWebView call C++ function from javascript
Replies: 5
Views: 753

Re: wxWebView call C++ function from javascript

This works well if data is less. If data is more, in KBs or MBs then max url length causes the limitations.
Is there any easy way to pass the large data from Javascript to C++?
by Anil8753
Fri Sep 07, 2018 4:28 pm
Forum: C++ Development
Topic: Open new tab or window wxWebView
Replies: 2
Views: 447

Re: Open new tab or window wxWebView

Yes, you are 100% correct. wxEVT_WEBVIEW_NEWWINDOW event gets fired in this case. I do not know how it didn't work earlier. Maybe strong Beer was the reason. :P
by Anil8753
Fri Sep 07, 2018 12:03 pm
Forum: C++ Development
Topic: Open new tab or window wxWebView
Replies: 2
Views: 447

Open new tab or window wxWebView

in my HTML page, I have window.open(url,'_blank'); If I open my page in the browser and execute the above code, it opens a new tab or new window (depending on the user preference). But I open the same page in wxWebView and execute the above code, nothing happens. I did not find any wxWebViewEvent th...
by Anil8753
Wed Sep 05, 2018 8:45 am
Forum: C++ Development
Topic: WebView based wxWidgets application development
Replies: 3
Views: 211

Re: WebView based wxWidgets application development

https://github.com/wxWidgets/wxWidgets/pull/807 is nice but it will run on Windows10 only. I have to run my application on WIndow7, 8, 8.1, and MacOS > 10.11. https://github.com/wxWidgets/wxWidgets/pull/706 will be my last option if I do not find any other way. ~100MB size and multiprocess architec...
by Anil8753
Wed Sep 05, 2018 3:57 am
Forum: C++ Development
Topic: WebView based wxWidgets application development
Replies: 3
Views: 211

WebView based wxWidgets application development

Hi, I have a huge wxWidgets 3.1 application that runs on both Windows and MacOS. Going forward, I am planning to implement any new UI with HTML/CSS/JS with WebView and backend will be, as usual, C++ layer. I looked into the CEF3 integration with wxWidgets, found it complex especially under macOS als...
by Anil8753
Wed Aug 22, 2018 7:24 am
Forum: Platform Related Issues
Topic: wxDialog is not modal after 3 level on MacOS
Replies: 3
Views: 278

Re: wxDialog is not modal after 3 level on MacOS

Added the minimal.cpp in the original question.
I am not able to find the root cause of the issue. wx3.0 works fine, I can see many changes have been done related to modal event loop.
by Anil8753
Fri Aug 17, 2018 6:06 pm
Forum: Platform Related Issues
Topic: wxDialog is not modal after 3 level on MacOS
Replies: 3
Views: 278

Re: wxDialog is not modal after 3 level on MacOS

I tested on Mac OS 10.11 and 10.13. I am using wxDialog class as base class. If you have Mac machine, may try creating 3 dialog.
It is 64 bit wxWidget dlls
by Anil8753
Fri Aug 17, 2018 11:07 am
Forum: Platform Related Issues
Topic: wxDialog is not modal after 3 level on MacOS
Replies: 3
Views: 278

wxDialog is not modal after 3 level on MacOS

Launch a wxDialog::ShowModal() from wxFrame. Launch 2nd wxDialog::ShowModal() from 1st wxDialog Launch 3rd wxDialog::ShowModal() from 2nd wxDialog Result: 3rd wxDialog is not Modal anymore. Note* This issue is with wx3.1 and MacOS. It is 64 bit wxWidgets dll. Instead of 3rd wxDialog, we can launch w...
by Anil8753
Fri Aug 10, 2018 4:16 pm
Forum: Platform Related Issues
Topic: Font bold and blur in wxWidgets3.1 under Windows10
Replies: 9
Views: 535

Re: Font bold and blur in wxWidgets3.1 under Windows10

That will not be possible. Many times we use hardcoded pixels for margin/padding. We have images 16x16 or 24x24 given by UX team, so automatic scaling is needed. Even many places we can see hardcoded pixel values especially in the case of generic implementation. Mac retina (4k) everything works fine...
by Anil8753
Fri Aug 10, 2018 8:52 am
Forum: Platform Related Issues
Topic: Font bold and blur in wxWidgets3.1 under Windows10
Replies: 9
Views: 535

Re: Font bold and blur in wxWidgets3.1 under Windows10

After enabling "High DPI Aware" on High DPI Surface Pro (zoom 200%), UI became unusable as It was unusable with wx3.0 (wx3.0 was not having high DPI support). With wx3.1, application layout works fine but it is coming blur, to solve the blur issue I did the manifest changes to make my application DP...
by Anil8753
Fri Aug 10, 2018 6:55 am
Forum: Platform Related Issues
Topic: Font bold and blur in wxWidgets3.1 under Windows10
Replies: 9
Views: 535

Re: Font bold and blur in wxWidgets3.1 under Windows10

My bad, it created the bigger problem and I have to revert the High DPI Aware option. After keeping the High DPI Aware option in the manifest file all the wxWidget3.1 changes for high dpi are not working. I tried the High DPI Aware option on the surface where zoom level is 200% and resolution is 300...
by Anil8753
Tue Aug 07, 2018 7:25 am
Forum: Platform Related Issues
Topic: Font bold and blur in wxWidgets3.1 under Windows10
Replies: 9
Views: 535

Re: Font bold and blur in wxWidgets3.1 under Windows10

Thank you very much. It helped me to address the issue. (only on a system where zoom level is125% and the resolution is1920x1080. It is not a hight DPI system.
by Anil8753
Mon Aug 06, 2018 9:29 am
Forum: Platform Related Issues
Topic: Font bold and blur in wxWidgets3.1 under Windows10
Replies: 9
Views: 535

Font bold and blur in wxWidgets3.1 under Windows10

I updated the wxWidgets from 3.0 to 3.1, I see with wx3.1 application font became bold and blur (please refer the attachment). I am using wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT) to get the fonts. And using wxFontSymbolicSize for different size of fonts. enum wxFontSymbolicSize { wxFONTSIZE...
by Anil8753
Fri May 25, 2018 7:21 am
Forum: C++ Development
Topic: wxWebView with Chromium backend
Replies: 25
Views: 659

wxWebView with Chromium backend

I need to do HTML/Angular development in my wxWidget desktop application (very similar to Electron https://electronjs.org/ ). Looks like I should use wxWebViewChromium. I found a project https://github.com/sjlamerton/wxWebViewChromium/wiki that can serve my purpose but as per this project Wiki page,...