Search found 109 matches
- Thu Apr 12, 2018 6:35 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Latest Version of setup.h?
- Replies: 12
- Views: 4969
Re: Latest Version of setup.h?
Hi, doublemax, I know this is a 12-year-old question, but I am having the same problem today. My situation is this: I am working in Windows 10. I have a CodeLite workspace containing a C++ wxwidgets main program and a C-language dll. The C dll needs to call some of the C++ procedures, so I'm writing...
- Tue Feb 27, 2018 9:52 pm
- Forum: C++ Development
- Topic: How do you Turn off a wxTextCtrl Insertion Point?
- Replies: 3
- Views: 852
Re: How do you Turn off a wxTextCtrl Insertion Point?
Hi, doublemax, No, I did not call event.Skip() in my wxEVT_KILL_FOCUS code. And yes, when I added it at the top of the procedure, the insertion point worked perfectly and the highlighting problem went away! Woo hoo! You're a genius. Thank you!!! Tomorrow I will look up event.Skip to find out what it...
- Tue Feb 27, 2018 8:03 pm
- Forum: C++ Development
- Topic: How do you Turn off a wxTextCtrl Insertion Point?
- Replies: 3
- Views: 852
How do you Turn off a wxTextCtrl Insertion Point?
I have a wxTextCtrl field called m_Eq_m. The only event I use to modify or save its contents is wxEVT_KILL_FOCUS. At the end of my OnEq_m_Kill_Focus procedure, I use SetValue to update the field. (i.e. m_Eq_m->SetValue (temp_st); ) Here's what happens: 1. I click inside m_Eq_m to make it the focus. ...
- Mon Jan 29, 2018 12:58 pm
- Forum: C++ Development
- Topic: wxDataViewListCtrl: Change the background color for selectedrows?
- Replies: 4
- Views: 1664
Re: wxDataViewListCtrl: Change the background color for selectedrows?
Doublemax,
Thank you for investigating the background color issue for me. I wouldn't have known where to START looking.
It sounds like changing the background color in a wxDataViewListCtrl involves more time and energy than the results warrant. Too bad, but OK.
Thanks again!
Colleen
Thank you for investigating the background color issue for me. I wouldn't have known where to START looking.
It sounds like changing the background color in a wxDataViewListCtrl involves more time and energy than the results warrant. Too bad, but OK.
Thanks again!
Colleen
- Fri Jan 26, 2018 3:57 pm
- Forum: C++ Development
- Topic: wxDataViewListCtrl: Change the background color for selectedrows?
- Replies: 4
- Views: 1664
Re: wxDataViewListCtrl: Change the background color for selectedrows?
Thank you for answering, OneEyeMan.
Yes, I looked at the wxDataViewCtrl sample. There was a tab there showing a wxDataViewListCtrl, but all the rows had a white background.
There was also a tab called MyListModel with different colors of text, but the row backgrounds were also all white.
Colleen
Yes, I looked at the wxDataViewCtrl sample. There was a tab there showing a wxDataViewListCtrl, but all the rows had a white background.
There was also a tab called MyListModel with different colors of text, but the row backgrounds were also all white.
Colleen
- Thu Jan 25, 2018 8:47 pm
- Forum: C++ Development
- Topic: wxDataViewListCtrl: Change the background color for selectedrows?
- Replies: 4
- Views: 1664
wxDataViewListCtrl: Change the background color for selectedrows?
I've created a wxDataViewListCtrl. When the program runs, some rows will have active data, and some rows will have "inactive" data. Is there a way that I can change the background color of the inactive rows to gray? Assume the background color would "key off" one of the fields. I...
- Thu Dec 14, 2017 2:03 pm
- Forum: C++ Development
- Topic: How do you Move a Cursor in a wxTextCtrl Field?
- Replies: 2
- Views: 1308
Re: How do you Move a Cursor in a wxTextCtrl Field?
Perfectness!! Thank you, doublemax!
- Wed Dec 13, 2017 9:16 pm
- Forum: C++ Development
- Topic: How do you Move a Cursor in a wxTextCtrl Field?
- Replies: 2
- Views: 1308
How do you Move a Cursor in a wxTextCtrl Field?
Hi, I know this is a simple question but I haven't figured it out yet. I am writing an event procedure for a wxTextCtrl field text update. I send the string to a procedure that verifies the string only contains the numbers '0' through '9', and also is less than or equal to an incoming string represe...
- Fri Sep 15, 2017 12:35 pm
- Forum: C++ Development
- Topic: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
- Replies: 6
- Views: 1694
Re: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
Beautiful! Thank you, doublemax!!! Your code worked.
Colleen
Colleen
- Thu Sep 14, 2017 7:36 pm
- Forum: C++ Development
- Topic: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
- Replies: 6
- Views: 1694
Re: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
I went to edit this post but ended up losing it. My mistake. -- Colleen
- Thu Sep 14, 2017 6:15 pm
- Forum: C++ Development
- Topic: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
- Replies: 6
- Views: 1694
Re: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
Thank you for your quick reply, doublemax. Also, thanks for the tip. :-) I'll update my comments and code as you mentioned. I am using CodeLite, so I don't have wxEVT_DATAVIEW_ITEM_VALUE_CHANGED event. But I do have wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED event, which calls my procedure OnChannel_...
- Thu Sep 14, 2017 2:21 pm
- Forum: C++ Development
- Topic: Where can I get a wxDataViewListCtrl::GetValue "col" argument?
- Replies: 6
- Views: 1694
Where can I get a wxDataViewListCtrl::GetValue "col" argument?
I am using a wxDataViewListCtrl control called m_Channel_List to display five rows and four columns of data. My problem lies in getting the column number of a value in the wxDataViewListCtrl that changed. The data structure loaded into the wxDataViewListCtrl is an array of structures: one array stru...
- Tue Aug 15, 2017 7:21 pm
- Forum: General Development
- Topic: How do I set up DebugView with CodeLite/wxWidgets?
- Replies: 1
- Views: 1679
How do I set up DebugView with CodeLite/wxWidgets?
How do I set up DebugView to capture output from CodeLite/wxWidgets programs? I used DebugView when I used Visual Studios 2013 under Windows 7, and it worked fine. DebugView displayed any message that my program sent to a variable I called "STDOUT" (standard output). DebugView was very hel...
- Fri Jul 14, 2017 2:11 pm
- Forum: C++ Development
- Topic: WxDataViewListCtrl not sorting by column
- Replies: 4
- Views: 2776
Re: WxDataViewListCtrl not sorting by column
Did anyone get the wxDataViewListCtrl sorting to work? I'm having that issue now. Sorting a wxDataViewListCtrl column is not mentioned in C:\wxWidgets\samples\dataview\dataview.cpp. Is sorting supposed to be automatic? Or is it up to us to simply catch the OnDvlistctrl11DataviewColumnHeaderClick eve...
- Tue Jul 11, 2017 12:34 pm
- Forum: Compiler / Linking / IDE Related
- Topic: How do I Compile wxWidgets Sample Code?
- Replies: 34
- Views: 14485
Re: How do I Compile wxWidgets Sample Code?
Colleen, Keep in mind that if you did modify the sources and you plan to use the modified version you need to make it available on the server somewhere clearly marked so that you, your boss or anyone who come after you will know that you used the modified sources and not the official release. No, I...