Search found 8 matches

by Kerber
Wed Dec 04, 2019 11:30 pm
Forum: Platform Related Issues
Topic: Text scale on HiDPI display using Direct2D renderer
Replies: 5
Views: 163

Re: Text scale on HiDPI display using Direct2D renderer

Solved by updating to 3.1.3, details in ticket.
by Kerber
Wed Dec 04, 2019 1:13 pm
Forum: Platform Related Issues
Topic: Text scale on HiDPI display using Direct2D renderer
Replies: 5
Views: 163

Re: Text scale on HiDPI display using Direct2D renderer

Here's the ticket. I'm not sure if it's actually created and visible to anyone else. This wxTrack system is utterly unusable.

https://trac.wxwidgets.org/ticket/18608
by Kerber
Wed Dec 04, 2019 10:52 am
Forum: Platform Related Issues
Topic: Text scale on HiDPI display using Direct2D renderer
Replies: 5
Views: 163

Re: Text scale on HiDPI display using Direct2D renderer

Sure. I'll do that once I figure out how to create tickets there.
by Kerber
Wed Dec 04, 2019 12:05 am
Forum: Platform Related Issues
Topic: Text scale on HiDPI display using Direct2D renderer
Replies: 5
Views: 163

Text scale on HiDPI display using Direct2D renderer

I have 4K screen (3840x2160) and scaling set to 200% in Windows. When I use GDI or GDI+ to draw text it looks fine and scales as needed, but when I use wxGraphicsContext (or wxGCDC) with Direct2D backend the text is drawn with 100% scale. Images are drawn with correct size. Only text is affected. GD...
by Kerber
Thu Aug 17, 2017 1:41 am
Forum: C++ Development
Topic: wxTreeListCtrl/wxDataViewCtrl hot-tracking row
Replies: 9
Views: 1437

Re: wxTreeListCtrl/wxDataViewCtrl hot-tracking row

Ellan wrote:I'm also using wxDataViewCtrl, is there any way to hide the dotted border of the selected state?
This screenshot shows Windows Task Manager, it uses ListView and I don't know how to disable the dotted border. WxDataViewCtrl doesn't have this border.
by Kerber
Wed Aug 16, 2017 10:27 pm
Forum: C++ Development
Topic: wxTreeListCtrl/wxDataViewCtrl hot-tracking row
Replies: 9
Views: 1437

Re: wxTreeListCtrl/wxDataViewCtrl hot-tracking row

I'am alredy doing this. But in this case most of the time I don't receive wxEVT_TREELIST_SELECTION_CHANGED nor wxEVT_DATAVIEW_SELECTION_CHANGED event, and I don't know why. void wxLTreeList::OnItemHover(wxPoint tMousePos) { wxDataViewItem tItem; wxDataViewColumn* pColumn = NULL; DataView->HitTest(tM...
by Kerber
Wed Aug 16, 2017 9:54 pm
Forum: C++ Development
Topic: wxTreeListCtrl/wxDataViewCtrl hot-tracking row
Replies: 9
Views: 1437

Re: wxTreeListCtrl/wxDataViewCtrl hot-tracking row

I want something like wxListCtrl::SetItemState(row, wxLIST_STATE_FOCUSED), but for wxDataViewCtrl. Something that works like setting TVS_TRACKSELECT style for Win32 TreeView control. WxDataViewCtrl can only select item, but not Hot-track it. Maybe this picture better describe my goal. http://jpegsha...
by Kerber
Wed Aug 16, 2017 9:34 pm
Forum: C++ Development
Topic: wxTreeListCtrl/wxDataViewCtrl hot-tracking row
Replies: 9
Views: 1437

wxTreeListCtrl/wxDataViewCtrl hot-tracking row

Is there a way to implement item hot-tracking for wxTreeListCtrl or generally for wxDataViewCtrl as in wxListCtrl (MSW)? Right now I only achieved selecting row on hover, which is similar, but not exactly what I want.