Any news to share about the subject?
I am gonna try wxReportDocument and see if I can extend it.
TIA.
Search found 172 matches
- Mon Aug 03, 2020 5:59 pm
- Forum: General Development
- Topic: Report Desinger plugin ??? Urgent !
- Replies: 11
- Views: 3707
- Mon Aug 03, 2020 5:57 pm
- Forum: Platform Related Issues
- Topic: [wxMSW] What is the best way to get notified when the background or forground colors of a control changes?
- Replies: 4
- Views: 515
Re: [wxMSW] What is the best way to get notified when the background or forground colors of a control changes?
I completely missed that these methods are virtual and probably was made like that for this reason.
Thank you.
Thank you.
- Mon Aug 03, 2020 5:35 pm
- Forum: Platform Related Issues
- Topic: [wxMSW] What is the best way to get notified when the background or forground colors of a control changes?
- Replies: 4
- Views: 515
Re: [wxMSW] What is the best way to get notified when the background or forground colors of a control changes?
I use a sub-classed wxControl , and I need to update the drawing inside that sub-classed control according to the background and foreground colors. So if later I use mySubClassedControl.SetBackgroundColour() or mySubClassedControl.SetForgroundColour() , then how do I know inside the sub-classed cont...
- Mon Aug 03, 2020 11:38 am
- Forum: Platform Related Issues
- Topic: [wxMSW] What is the best way to get notified when the background or forground colors of a control changes?
- Replies: 4
- Views: 515
[wxMSW] What is the best way to get notified when the background or forground colors of a control changes?
Hello,
I need to know where to intercept the background and forground color changes of a control.
Is there an event I don't know about?
What is the best way to do it?
TIA.
I need to know where to intercept the background and forground color changes of a control.
Is there an event I don't know about?
What is the best way to do it?
TIA.
- Sun Aug 02, 2020 10:36 pm
- Forum: Platform Related Issues
- Topic: [wxMSW] How can I create a wxBrush from an existing HBRUSH?
- Replies: 2
- Views: 340
Re: [wxMSW] How can I create a wxBrush from an existing HBRUSH?
Yeah, that's what I thought, because I have searched everywhere.
I can't convince Vadim either to implement it, because the philosophy to add something to wxWidgets is when it is needed by the toolkit itself, not user code.
Thank you for the hint.
I can't convince Vadim either to implement it, because the philosophy to add something to wxWidgets is when it is needed by the toolkit itself, not user code.
Thank you for the hint.
- Sun Aug 02, 2020 3:25 am
- Forum: Platform Related Issues
- Topic: [wxMSW] How can I create a wxBrush from an existing HBRUSH?
- Replies: 2
- Views: 340
[wxMSW] How can I create a wxBrush from an existing HBRUSH?
Hello,
getting the HBRUSH handle from a wxBrush is easy. But I need to do the inverse, that is create a wxBrush from an existing HBRUSH.
Is it possible? Show me.
TIA.
getting the HBRUSH handle from a wxBrush is easy. But I need to do the inverse, that is create a wxBrush from an existing HBRUSH.
Is it possible? Show me.
TIA.
- Sat Jun 20, 2020 10:33 am
- Forum: General Development
- Topic: wx support to some feature
- Replies: 5
- Views: 1752
Re: wx support to some feature
Better come late than never. 3) perform some action when a video in on a specific second/interval of time This is possible using wxVLC: The static function: void OnPositionChanged_VLC(const libvlc_event_t *event, void *data) { wxVLCFrame *mainFrame = ((wxVLCFrame *)wxGetApp().GetTopWindow()); mainFr...
- Tue May 05, 2020 7:38 pm
- Forum: C++ Development
- Topic: wxFileOutputStream will fail if the directory doesn't exist!
- Replies: 4
- Views: 610
- Tue May 05, 2020 1:02 am
- Forum: C++ Development
- Topic: wxFileOutputStream will fail if the directory doesn't exist!
- Replies: 4
- Views: 610
Re: wxFileOutputStream will fail if the directory doesn't exist!
wxFileName::Mkdir() with wxPATH_MKDIR_FULL flag can help with that Thank you, wxFileName::Mkdir with wxPATH_MKDIR_FULL flag is really handy, the question is: should I test for that directory existence before!? using wxDirExists or it is done internally in wxFileName::Mkdir implementation! I need to...
- Mon May 04, 2020 10:42 am
- Forum: C++ Development
- Topic: wxFileOutputStream will fail if the directory doesn't exist!
- Replies: 4
- Views: 610
wxFileOutputStream will fail if the directory doesn't exist!
Hello, When creating a file using wxFileOutputStream and the directory in which this file will be created doesn't exist in the first place, then wxFileOutputStream::IsOk will return false and the file won't be created of course. Is this the intended behavior? because nothing is said in the documenta...
- Sun May 03, 2020 7:03 am
- Forum: C++ Development
- Topic: How to wxDir::GetAllFiles for multiple filespec criterias!
- Replies: 1
- Views: 301
How to wxDir::GetAllFiles for multiple filespec criterias!
Hello, I need to call wxDir::GetAllFiles for multiple filespec criterias, I thought about calling it multiple times for each filespec criteria since from the documentation it preserves the old content of wxArrayString * files , but this will imply performance issues, because the traversal will be re...
- Mon Apr 27, 2020 10:14 pm
- Forum: C++ Development
- Topic: How to pass file name list as a function parameter!?
- Replies: 8
- Views: 828
Re: How to pass file name list as a function parameter!?
I mean something more straightforward: wxArrayString arrStrFileNames; arrStrFileNames.assign(vStrFileNames.begin(), vStrFileNames.end());//from std::vector<> std::vector<wxString> vec(arrStrFileNames.begin(), arrStrFileNames.end());//from wxArrayString I completely missed that. Thank you again.
- Mon Apr 27, 2020 8:22 pm
- Forum: C++ Development
- Topic: How to pass file name list as a function parameter!?
- Replies: 8
- Views: 828
Re: How to pass file name list as a function parameter!?
Both class provide iterators so you can use them to create another container. I just figured it out: std::vector<wxString> vStrFileNames; wxArrayString arrStrFileNames; for (wxArrayString::const_iterator it = arrStrFileNames.begin(); it != arrStrFileNames.end(); ++it) vStrFileNames.push_back(*it); ...
- Mon Apr 27, 2020 7:15 pm
- Forum: C++ Development
- Topic: How to pass file name list as a function parameter!?
- Replies: 8
- Views: 828
Re: How to pass file name list as a function parameter!?
Hi, The strings vector seems much easier. Also, depending on the scenario you might use const vector... Thank you. I completely forgot about const , also there are situations where I need to convert from a wxArrayString to an std::vector and vice versa, so are there any predefined helper macros to ...
- Mon Apr 27, 2020 6:26 pm
- Forum: C++ Development
- Topic: How to pass file name list as a function parameter!?
- Replies: 8
- Views: 828