Search found 31 matches
- Thu Apr 22, 2021 1:08 pm
- Forum: C++ Development
- Topic: Copying folders to the clipboard
- Replies: 2
- Views: 648
Re: Copying folders to the clipboard
Sorry, everything works. I didn't pass the folder path in the addFile method
- Thu Apr 22, 2021 11:25 am
- Forum: C++ Development
- Topic: Copying folders to the clipboard
- Replies: 2
- Views: 648
Copying folders to the clipboard
Good day! Please tell me how to copy folders from wxGenericDirCtrl to clipboard. The wxClipboard object accepts objects derived from the wxDataObject class. Base derived classes do not support folders. Apparently need to create a custom class based on wxDataObject. Tell me, maybe someone came across...
- Tue Nov 10, 2020 7:07 pm
- Forum: C++ Development
- Topic: Changing the color of part of the text in the wxGrid cells
- Replies: 3
- Views: 454
Re: Changing the color of part of the text in the wxGrid cells
Thanks. I will try this
- Tue Nov 10, 2020 1:57 pm
- Forum: C++ Development
- Topic: Changing the color of part of the text in the wxGrid cells
- Replies: 3
- Views: 454
Changing the color of part of the text in the wxGrid cells
Good time of day.
Can you tell me if I can change the color of part of the text in a wxGrid cell? Standard methods (SetCellFont, SetCellTextColour) apply to the entire cell.
Can you tell me if I can change the color of part of the text in a wxGrid cell? Standard methods (SetCellFont, SetCellTextColour) apply to the entire cell.
- Fri Sep 11, 2020 11:30 am
- Forum: C++ Development
- Topic: wxGrid text edit events
- Replies: 7
- Views: 2310
Re: wxGrid text edit events
Thanks for the advice. Now it works correctly.
- Fri Sep 11, 2020 9:08 am
- Forum: C++ Development
- Topic: wxGrid text edit events
- Replies: 7
- Views: 2310
Re: wxGrid text edit events
Good day. I have a similar problem. When I add a TextCtrl object to a cell as a text editor, it is added to all cells in the grid. #include <wx/wx.h> #include <wx/grid.h> class MyFrame : public wxFrame { public: MyFrame() : wxFrame(nullptr, wxID_ANY, wxT("Grid"), wxDefaultPosition, wxSize(...
- Sun May 31, 2020 12:16 pm
- Forum: C++ Development
- Topic: Passing a class object to a stream
- Replies: 1
- Views: 1417
Passing a class object to a stream
Good day! Tell me if it is possible to pass an object of the class to the stream in this way: #include <wx/wx.h> #include <wx/gauge.h> #include <thread> // application class class wxMiniApp : public wxApp { public: // function called at the application initialization virtual bool OnInit(); // event ...
- Tue Mar 24, 2020 12:56 pm
- Forum: C++ Development
- Topic: Displaying deleted rows in wxListCtrl
- Replies: 7
- Views: 1059
Re: Displaying deleted rows in wxListCtrl
Thanks. This also works, but before that you need to clean the background.
- Tue Mar 24, 2020 9:27 am
- Forum: C++ Development
- Topic: Displaying deleted rows in wxListCtrl
- Replies: 7
- Views: 1059
Re: Displaying deleted rows in wxListCtrl
Found a way out: 1. clear the background of the list table; 2. refresh all items. Now items are displayed correctly after deleting some of them. Bind(wxEVT_TOOL, [=](wxCommandEvent) { wxArrayInt arrInt; long itemIndex = -1; while ( ( itemIndex = lcCalcTbl->GetNextItem( itemIndex, wxLIST_NEXT_ALL, wx...
- Tue Mar 24, 2020 9:03 am
- Forum: C++ Development
- Topic: Displaying deleted rows in wxListCtrl
- Replies: 7
- Views: 1059
Re: Displaying deleted rows in wxListCtrl
Yes, the elements were removed. But there is a "residual" display of them. Something in the form of their "footprints". Everything is fine when I minimize and expand the window.
- Tue Mar 24, 2020 6:56 am
- Forum: C++ Development
- Topic: Displaying deleted rows in wxListCtrl
- Replies: 7
- Views: 1059
Displaying deleted rows in wxListCtrl
Good day! When deleting items, wxListCtrl objects residual information about items that have already been deleted. It is displayed as rows that cannot be selected. This is usually the last row or group of rows when deleting several selected rows. These rows can't be selected, but they are present. H...
- Sat May 19, 2018 8:21 pm
- Forum: C++ Development
- Topic: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
- Replies: 19
- Views: 4037
Re: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
Hi. Installed GitHub. Cloned the repository File-> Clone a Repozitory-> URL (https://github.com/wxWidgets/wxWidgets.git). In C: \ ... \ Documents a folder wxWidgets appeared. I collected a library from these sources. I inserted and compiled my program. The result is the same, unchanged. The second t...
- Sat May 19, 2018 5:45 pm
- Forum: C++ Development
- Topic: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
- Replies: 19
- Views: 4037
Re: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
Now how did you get the sources? Did you just cloned the repository and switched to the 3.1 sources or you downloaded the release tarball? I uploaded the wxWidgets-3.1.1.7z archive. Sent the archive to drive C: \ wxWidgets-3.1.1-Shared-0. Installed the compiler mingw-w64. Open CMD.EXE. I executed t...
- Sat May 19, 2018 4:49 pm
- Forum: C++ Development
- Topic: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
- Replies: 19
- Views: 4037
Re: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
Hi. Thank you for your patience and responsiveness. Started: С:/wxWidgets3.1.1/samples/widgets/gcc_mswu/widgets.exe . I moved on to Text testing. Then I used the instruction described in the first answer to this topic http://trac.wxwidgets.org/ticket/12613 . Left all the "Set textctrl parameter...
- Fri May 18, 2018 7:31 am
- Forum: C++ Development
- Topic: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
- Replies: 19
- Views: 4037
Re: The simultaneous use of autocomplete and wxEVT_TEXT to wxTextCtrl
What happens after you type "1" in the text control #2? Nothing. In the text field, the symbol "1" is displayed, the bark will stand behind this symbol with readiness for further selection of sigils. Is there a different options supplied when you created both controls? Yes. Both...