Search found 21 matches

by kurta999
Sun Feb 12, 2023 9:11 am
Forum: Announcements and Discoveries
Topic: My side project for programming - CAN <-> USB Transreceiver, iCUE replacement, Second keyboard
Replies: 5
Views: 11128

Re: My side project for programming - CAN <-> USB Transreceiver, iCUE replacement, Second keyboard

Thank you. I started this project first as a single app which receives keypresses from the second connected keyboard over the nucleo board, but it just grew bigger and bigger as I had new and new ideas what I should add. Back then 2 years ago even my C++ skills were very limited, working on this app...
by kurta999
Sat Nov 26, 2022 11:14 pm
Forum: C++ Development
Topic: It's possible to retreive the selected text under cursor from wxGrid?
Replies: 2
Views: 2931

Re: It's possible to retreive the selected text under cursor from wxGrid?

I want to get the partly selected text from edit mode, without editing the cell. If I have a cell with a string Text and I select just half of it, which is Te , I would like to get that somehow, that I only have selection Te right now, not just retreiving the cell value, which is Text . I know that ...
by kurta999
Sat Nov 26, 2022 11:00 pm
Forum: C++ Development
Topic: It's possible to retreive the selected text under cursor from wxGrid?
Replies: 2
Views: 2931

It's possible to retreive the selected text under cursor from wxGrid?

TLDR : I have a simple grid where user has text input fields and in specific conditions I want to retreive how much and which part of the text is selected and do something with it. I want to get it from edit, without doing an edit. It is possbible by creating a custom renderer or something like thi...
by kurta999
Sat Aug 20, 2022 9:07 pm
Forum: C++ Development
Topic: wxTreeListItemComparator with 64bit integers
Replies: 8
Views: 485

Re: wxTreeListItemComparator with 64bit integers

I've tried it and it works. But I think based on @doublemax's reply, this should be reduced to 0, -1, 1 - in the sample. I posted a screenshot about this in former post, it's from VS debugger.
by kurta999
Fri Aug 19, 2022 11:21 pm
Forum: C++ Development
Topic: wxTreeListItemComparator with 64bit integers
Replies: 8
Views: 485

Re: wxTreeListItemComparator with 64bit integers

Look like yes, I found the sample - its in samples/treelist (3.2.0)

https://ibb.co/V2mPxR1
by kurta999
Fri Aug 19, 2022 7:35 am
Forum: C++ Development
Topic: wxTreeListItemComparator with 64bit integers
Replies: 8
Views: 485

Re: wxTreeListItemComparator with 64bit integers

Thank you! Looks like it works, I copied the comprator from one wxWdigets sample which I don't remember anymore. The return value of comparator there wasn't limited to -1,0,1 - it was just: negative number, 0, positive number - in this case int64_t caused overflow to int return value. I limited the ...
by kurta999
Thu Aug 18, 2022 4:06 pm
Forum: C++ Development
Topic: wxTreeListItemComparator with 64bit integers
Replies: 8
Views: 485

Re: wxTreeListItemComparator with 64bit integers

I'm using 64bit build, but I would need to use 64bit integers in comparator which is only int, that's only 32bit.

virtual int Compare(wxTreeListCtrl* treelist, unsigned column, wxTreeListItem first, wxTreeListItem second) = 0;
by kurta999
Sat Aug 13, 2022 8:03 pm
Forum: The Code Dump
Topic: wxCreator - Another wxWidgets creator/form editor
Replies: 17
Views: 28715

Re: wxCreator - Another wxWidgets creator/form editor

After almos 2 years I finally understand this sizer concept =D>, and I don't recommend anyone to create GUI without them. See the advanced descriptions above, why.
by kurta999
Sat Aug 13, 2022 8:00 pm
Forum: C++ Development
Topic: wxTreeListItemComparator with 64bit integers
Replies: 8
Views: 485

wxTreeListItemComparator with 64bit integers

Hi,

Is there a better way to use wxTreeListItemComparator with 64bit integers than modifying the types inside wxWidgets lib and rebuild it?

Thanks.
by kurta999
Sat Apr 16, 2022 2:42 pm
Forum: Announcements and Discoveries
Topic: My side project for programming - CAN <-> USB Transreceiver, iCUE replacement, Second keyboard
Replies: 5
Views: 11128

My side project for programming - CAN <-> USB Transreceiver, iCUE replacement, Second keyboard

I would like to share my simple app which is based heavily on wxWidgets, maybe some parts will be useful for somebody. Feel free to write critics and ideas, copy paste from the project whatever you like, it has MIT license. Download (source + binary): https://github.com/kurta999/CustomKeyboard This ...
by kurta999
Sat Apr 18, 2020 4:29 pm
Forum: The Code Dump
Topic: wxCreator - Another wxWidgets creator/form editor
Replies: 17
Views: 28715

Re: wxCreator - Another wxWidgets creator/form editor

Thanks!

I'll mail this to our company member who moved to Qt, might he return.

Anyway I've released v0.2, available on github. Now I'm working on saving & loading widgets from XML file. I'm waiting for reviews & comments about what do you think guys :D
by kurta999
Sat Apr 18, 2020 2:19 pm
Forum: The Code Dump
Topic: wxCreator - Another wxWidgets creator/form editor
Replies: 17
Views: 28715

Re: wxCreator - Another wxWidgets creator/form editor

I didn't know QtCreator, but from what i've read just now, it can use pixel-perfect layouts, but these are merely used to design custom GUIs, e.h. for mobile apps. For dynamic layouts with GUI elements, it uses the same concept as wxWidgets: https://doc.qt.io/qtcreator/creator-using-qt-designer.htm...
by kurta999
Fri Apr 17, 2020 6:40 pm
Forum: C++ Development
Topic: wxChoice get all choises as wxArrayString. It's possible?
Replies: 2
Views: 499

Re: wxChoice get all choises as wxArrayString. It's possible?

Thank you for quick reply, it works! I was blind.