Search found 153 matches

by rocrail
Sun May 26, 2019 4:17 pm
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

Hi,

no, my application is not 100% HDI ready.
Just check:
https://wiki.rocrail.net/rocrail-snapshot/
by rocrail
Sun May 26, 2019 1:20 pm
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

Hi,

I checked it, and the DPIAwareness is at the moment not needed.
So I removed it from the manifest files.
by rocrail
Sun May 26, 2019 11:53 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

doublemax wrote:
Sun May 26, 2019 10:16 am
And as mentioned before, i would remove the "permonitor" part, because wxWidgets doesn't support that yet.
if I leave that out the App is no longer DPI Aware and is scaled. Even if wxWidgets does not support this option, it is still needed to get the app DPI Aware under Windows 10.
by rocrail
Sun May 26, 2019 8:41 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

I changed the manifest into 3 CPU dependent files and includes them accordantly wx.rc. The amd64 looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0' xmlns:asmv3='urn:schemas-microsoft-com:asm.v3'> <assembly...
by rocrail
Sun May 26, 2019 7:47 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

The complete manifest: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0' xmlns:asmv3='urn:schemas-microsoft-com:asm.v3'> <asmv3:application> <asmv3:windowsSettings> <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/W...
by rocrail
Sun May 26, 2019 6:52 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

The

Code: Select all

wxSystemOptions::SetOption("msw.remap", 2);
did not help either.
by rocrail
Sun May 26, 2019 6:37 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

That did not help; No improvement...
It seems that 3.1.x cannot handle transparency in the toolbar icons.
Any tips?

I also will try
wxSystemOptions::SetOption("msw.remap", 2);
by rocrail
Sun May 26, 2019 5:35 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

I will give this note a try: wxMSW note: Note that under wxMSW toolbar paints tools to reflect system-wide colours. If you use more than 16 colours in your tool bitmaps, you may wish to suppress this behaviour, otherwise system colours in your bitmaps will inadvertently be mapped to system colours. ...
by rocrail
Sun May 26, 2019 5:02 am
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Re: Toolbar Icons and DPI Aware 3.1.x

The scaling is 100% of the screenshot. And the monitor is not high DPI: 1280x800. Win10-64.
The icons are PNG: 24x24.
The Icon, routes, attached looks OK in the menu but not in the toolbar.
by rocrail
Sat May 25, 2019 3:54 pm
Forum: Platform Related Issues
Topic: Toolbar Icons and DPI Aware 3.1.x
Replies: 13
Views: 328

Toolbar Icons and DPI Aware 3.1.x

Hi,

the toolbar icons are not OK after switching from 3.0.x to 3.1.x.
The same icons appear to be OK in the menu as you can see on the screen shot.

How to solve this?#
winaware-icons.png
by rocrail
Sat May 25, 2019 12:34 pm
Forum: Platform Related Issues
Topic: Add manifest to set DPI Aware with wxWidgets 3.1.x
Replies: 4
Views: 137

Re: 3.1+ doesn't make the SetDPIProcessAware() call anymore

Indeed this will do the trick.
Thank you very much. :D

Maybe its a good idea to document this in the Wiki and/or API documentation.
by rocrail
Sat May 25, 2019 12:30 pm
Forum: Platform Related Issues
Topic: Add manifest to set DPI Aware with wxWidgets 3.1.x
Replies: 4
Views: 137

Re: 3.1+ doesn't make the SetDPIProcessAware() call anymore

OK, I will try this and report back.
by rocrail
Sat May 25, 2019 11:42 am
Forum: Platform Related Issues
Topic: Add manifest to set DPI Aware with wxWidgets 3.1.x
Replies: 4
Views: 137

Re: 3.1+ doesn't make the SetDPIProcessAware() call anymore

This is how I embedded the manifest in the rocview application:

rocview.rc:

Code: Select all

#include "wx/msw/wx.rc"
wxDEFAULT_FRAME ICON "xpm/rocrail.ico"
wxMANIFEST_ID 25 "rocview.manifest"
by rocrail
Sat May 25, 2019 11:41 am
Forum: C++ Development
Topic: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor
Replies: 27
Views: 572

Re: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor

Can you please move the postings to the new thread
viewtopic.php?f=1&t=45915
because this thread is flagged as solved.
by rocrail
Sat May 25, 2019 11:39 am
Forum: Platform Related Issues
Topic: Add manifest to set DPI Aware with wxWidgets 3.1.x
Replies: 4
Views: 137

Add manifest to set DPI Aware with wxWidgets 3.1.x

Hi, I open a new Topic for this. Already I posted this issue here https://forums.wxwidgets.org/viewtopic.php?f=1&t=45840 But this thread is solved. The problem is how to set DPIProcessAware with wxWidgets 3.1.x because this call is no longer in the wxEntry of wxWidgets. I tried to include an extra r...