Search found 534 matches
- Wed Mar 13, 2024 10:39 pm
- Forum: C++ Development
- Topic: Remove an entry/page from wxHtmlHelpController
- Replies: 2
- Views: 150
Re: Remove an entry/page from wxHtmlHelpController
That is what I was afraid of
- Tue Mar 12, 2024 9:32 pm
- Forum: C++ Development
- Topic: Remove an entry/page from wxHtmlHelpController
- Replies: 2
- Views: 150
Remove an entry/page from wxHtmlHelpController
Is it possible at all to remove a 'book/file" from wxHtmlHelpController - added with AddBook()?
I would like to be able to remove a book being displayed with an alternate file, but have not found any way to remove an existing page/book.
TIA
I would like to be able to remove a book being displayed with an alternate file, but have not found any way to remove an existing page/book.
TIA
- Thu Jan 11, 2024 2:23 am
- Forum: C++ Development
- Topic: wxDateTime & BC Dates
- Replies: 1
- Views: 2477
Re: wxDateTime & BC Dates
I think I have identified the basic issue - a reference to a deleted object - which wxDateTime.IsValid considers 'valid' even though it looks like 0xdddddddddd.
There issues with having the object deleted too early, but that is another thing.
There issues with having the object deleted too early, but that is another thing.
- Wed Jan 10, 2024 10:15 pm
- Forum: C++ Development
- Topic: wxDateTime & BC Dates
- Replies: 1
- Views: 2477
wxDateTime & BC Dates
In my current app I wanted to work with BC dates. As discussed in https://forums.wxwidgets.org/viewtopic.php?f=1&t=50977 I ended up using the generic wxCalendarCtrl and it allows me to enter dates such as -100 for the start and -50 for the end of some (test) event. However, once I start processi...
- Tue Jan 09, 2024 3:52 pm
- Forum: C++ Development
- Topic: wxDatePickerctrl - access to dropdown wxCalendarCtrl
- Replies: 6
- Views: 24983
Re: wxDatePickerctrl - access to dropdown wxCalendarCtrl
No I hadn't seen your update and I will have a look at it. As it is, the app I am working with was initially made when screens were still rather small and thus the date picker was used; now that screens are much larger and have better resolution, I think I will stick with the calendar control, at le...
- Mon Jan 08, 2024 7:36 pm
- Forum: C++ Development
- Topic: wxDatePickerctrl - access to dropdown wxCalendarCtrl
- Replies: 6
- Views: 24983
Re: wxDatePickerctrl - access to dropdown wxCalendarCtrl
Thank you - your post made re-explore the calendar sample and I realized I misunderstood. DoubleMax's comment and picked the wrong 'generic' option from the menu. I had used the 'generic' version under 'Date picker' instead of the 'generic' from the Calendar menu entry. The generic calendar lets be ...
- Mon Jan 08, 2024 6:28 pm
- Forum: C++ Development
- Topic: wxDatePickerctrl - access to dropdown wxCalendarCtrl
- Replies: 6
- Views: 24983
Re: wxDatePickerctrl - access to dropdown wxCalendarCtrl
Thank you for pointing that out, ... but I am still having issues when I work with that generic version in the wxCalendar sample. - running on Win 11, MSVC 2022, wxWidgets 3.2.2 At the top of the sample, I have anabled the generic datepicker with #undef wxUSE_DATEPICKCTRL_GENERIC #define wxUSE_DATEP...
- Sun Jan 07, 2024 8:37 pm
- Forum: C++ Development
- Topic: wxDatePickerctrl - access to dropdown wxCalendarCtrl
- Replies: 6
- Views: 24983
wxDatePickerctrl - access to dropdown wxCalendarCtrl
I would like to be able to customize the wxCalendarCtrl accessible from the wxDatePickerCtrl when the wxDP_DROPDOWN style is used. As I would like to cover date ranges from BC to AD, it seems the default date ranges are not suitable and yet, I would prefer to stick with the wxDatePickerctrl for it s...
- Wed Nov 08, 2023 11:10 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Trying to build wxFormBuilder via CMake
- Replies: 1
- Views: 1960
Re: Trying to build wxFormBuilder via CMake
Just for the record, the issues have been resolved and I have been able to compile, link and run the 64-bit version of wxFB successfully. What I needed to do: 1) to fix the missing wxScintilla symbols: modify the main CMakeLists.text file and edit the line set(wxWidgetsComponentsRequired media xrc r...
- Wed Nov 08, 2023 9:13 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Trying to build wxFormBuilder via CMake
- Replies: 1
- Views: 1960
Trying to build wxFormBuilder via CMake
Way down in a rabbit hole, I am trying to compile (a debuggable version of) wxFormBuilder (wxFB) under Windows for MSVC 2022. It seems I need to run with wxFB because I need/want to build a GUI for a wxPython app. Current status: I have downloaded the latest wxFB code from GitHub I can build the rel...
- Tue Oct 10, 2023 1:42 am
- Forum: C++ Development
- Topic: Sizer flags & Ellipsize
- Replies: 10
- Views: 9096
Re: Sizer flags & Ellipsize
:D I think I've got it :D I realized, I think, that EXPAND and ALIGN_any_way are sort of contradictory for a sizer. Unfortunately that was the only way I could get what I wanted. Your solution to remove the alignment from the sizer and add it to the wxStaticText control with the ALIGN_CENTRE_HORIZON...
- Mon Oct 09, 2023 10:29 pm
- Forum: C++ Development
- Topic: Sizer flags & Ellipsize
- Replies: 10
- Views: 9096
Re: Sizer flags & Ellipsize
I can't quite see it that way for a wxStaticText control.' EXPAND' controls the length within it containing sizer. Alignment controls the position within that sizer. If I don't expand the static text control, the width, which I need to pass to the ellipsize code, is 0 and nothing gets displayed For ...
- Mon Oct 09, 2023 8:40 pm
- Forum: C++ Development
- Topic: Sizer flags & Ellipsize
- Replies: 10
- Views: 9096
Re: Sizer flags & Ellipsize
I suppose the real issue is that I should take this up with the developers because I think the ASSERT may, IMO, be too strong a deterrent as I think there are legitimate cases where the arrangement is needed and the ASSERT is ill advised. FWIW, and to document how the code is setup m_staticTextLastH...
- Fri Oct 06, 2023 2:48 pm
- Forum: C++ Development
- Topic: Sizer flags & Ellipsize
- Replies: 10
- Views: 9096
Re: Sizer flags & Ellipsize
The warning mentioned here
https://www.wxwidgets.org/blog/2021/06/ ... dgets-3.1/
https://www.wxwidgets.org/blog/2021/06/ ... dgets-3.1/
- Thu Oct 05, 2023 8:05 pm
- Forum: C++ Development
- Topic: Resizing static text controls with ellipsized text
- Replies: 0
- Views: 72282
Resizing static text controls with ellipsized text
Currently I am displaying ellipsized static text strings in a resizable About dialog. During the TransferDataToWindow() call all of the logic for these strings is done once. If the user wanted to resize the dialog for any reason, possibly to get more details of the shrunk ellipsized string, I would ...