Search found 25 matches
- Tue Jul 05, 2011 12:48 pm
- Forum: General Development
- Topic: Help Me Write Help Manual
- Replies: 2
- Views: 2967
Re: Help Me Write Help Manual
Hi, I work on a few cross platform (Win/Linux) tools and have been using the 'Help & Manual' tool for producing the documentation. This can produce a variety of output formats all from the same source. For Windows the CHM output is normally of most use. For Linux we use the files that go to make...
- Wed Jun 22, 2011 12:30 pm
- Forum: C++ Development
- Topic: wxListCtrl, how to simply hide items for filtering
- Replies: 6
- Views: 5104
Re: wxListCtrl, how to simply hide items for filtering
Hi Angelo,
One possibility if using wx2.9 is to use a wxGrid as this has ShowRow/HideRow methods.
Note that I've not tried this before myself.
Cheers
Nigel
One possibility if using wx2.9 is to use a wxGrid as this has ShowRow/HideRow methods.
Note that I've not tried this before myself.
Cheers
Nigel
- Fri Feb 11, 2011 12:15 pm
- Forum: C++ Development
- Topic: FindFocus() returns NULL pointer wxWidgets 2.9.2 trunk
- Replies: 8
- Views: 9394
- Mon Oct 18, 2010 8:57 am
- Forum: C++ Development
- Topic: wxAuiManager::SavePerspective() Problem
- Replies: 20
- Views: 9022
Hi, The AUI perspective details how to layout existing AUI panes. It will not create the panes for you. So before you load the perspective you need to create the panes. Then load the perspective. AUI will re-layout the panes to match the perspective. So in my case I have unique names for all the pos...
- Fri Oct 15, 2010 11:14 am
- Forum: C++ Development
- Topic: BUG with WxMediaCtrl wxEVT_MEDIA_LOADED?
- Replies: 11
- Views: 12632
Hi, Just got this problem myself and in my case it looks like the handling in mediactrl_am.cpp wxAMMediaEvtHandler::OnActiveX() for the ReadyStateChange (0xfffffd9f) event is not correct. According to the windows docs for this event ( http://msdn.microsoft.com/en-us/library/ms985677 ) the media shou...
- Fri Sep 03, 2010 1:58 pm
- Forum: C++ Development
- Topic: wxSerialPort can't work with a USB CDC serial port
- Replies: 3
- Views: 3945
Hi Raul,
I'm not familiar with wxSerialPort. But one thing that can often catch people out when programming serial ports on windows is the naming of any com port above com9. See http://support.microsoft.com/kb/115831 for info.
Cheers
Nigel
I'm not familiar with wxSerialPort. But one thing that can often catch people out when programming serial ports on windows is the naming of any com port above com9. See http://support.microsoft.com/kb/115831 for info.
Cheers
Nigel
- Fri May 14, 2010 12:46 pm
- Forum: C++ Development
- Topic: wxlistctrl subitem coloring
- Replies: 6
- Views: 4967
Hi, The wxListCtrl will only allow whole line colouring as this is the lowest common denominator of all the OSs it supports. Using native windows code it is possible to colour sub items in a windows control. I asked a similar question a while ago ( http://forums.wxwidgets.org/viewtopic.php?t=21960 )...
- Wed May 05, 2010 1:18 pm
- Forum: C++ Development
- Topic: multi line tooltips on Windows
- Replies: 3
- Views: 3675
Hi, Probably because the first tooltip string you set has a '\n' in it. When it first creates the tool tip window if the current tip text has a '\n' in it then multi line support is enabled. If the tip text does not have a '\n' in it then multi line support will not be enabled. Then if subsequent ca...
- Wed May 05, 2010 11:54 am
- Forum: C++ Development
- Topic: multi line tooltips on Windows
- Replies: 3
- Views: 3675
multi line tooltips on Windows
Hi, The multi line capability of tooltips on windows is not enabled by default (in wx2.8.11 anyway). This means if you are using wxWindow::SetToolTip with a multi line string it will only show the first line. Adding the bodge below to the constructor of the window that has the tooltip gets around th...
- Wed Oct 14, 2009 8:58 am
- Forum: C++ Development
- Topic: wxTextValidator and Filter range
- Replies: 2
- Views: 6923
Hi,
Can't you just use:
Otherwise the validator will have to search through the list of includes for every character entry. I assume the above uses the isalnum() macro instead which will be much more efficient.
Cheers
Nigel
Can't you just use:
Code: Select all
wxTextValidator validator(wxFILTER_ALPHANUMERIC);
Cheers
Nigel
- Wed Sep 02, 2009 10:45 am
- Forum: General Development
- Topic: wxAuiToolBar item/pane proportion
- Replies: 0
- Views: 2349
wxAuiToolBar item/pane proportion
Hi, Does anyone know how to cause a AUI tool bar pane to expand across the whole width (or height) so that the proportion setting for an individual item actual means something. So for example I have some buttons and a text control and I want the text control (and toolbar) to expand and fill all rema...
- Wed Sep 02, 2009 10:34 am
- Forum: General Development
- Topic: [wxAuiToolbar] - Define Colours? (Is it possible?)
- Replies: 1
- Views: 6824
Hi, From a glance at the code the colour for the background comes from wxAuiDefaultToolBarArt::m_base_colour. Which in turn is set by the GetBaseColor() function at the bottom of the auibar.cpp file. You could derive a new class from wxAuiDefaultToolBarArt and then set your own colours. Then you can...
- Wed Aug 26, 2009 9:25 am
- Forum: C++ Development
- Topic: wxFTP from thread using 100% CPU
- Replies: 2
- Views: 7298
- Tue Aug 25, 2009 4:00 pm
- Forum: C++ Development
- Topic: wxFTP from thread using 100% CPU
- Replies: 2
- Views: 7298
wxFTP from thread using 100% CPU
Hi, I'm using wxFTP in a thread on WinXP with wx2.8.10. I have called wxSocketBase::Initialize() in my wxApp::OnInit(). I get the input stream for the file I want to download and then start reading it in chunks in a loop. But it looks like the while loop in wxSocketBase::_Wait() is thrashing around ...
- Tue Aug 25, 2009 1:06 pm
- Forum: C++ Development
- Topic: wxInputStream::Read inefficient
- Replies: 0
- Views: 1943
wxInputStream::Read inefficient
Hi, Any guesses why the wxInputStream::Read() method memsets the buffer that is about to be overwritten to zero? The first function Read calls is wxInputStream::GetWBack() which always memsets the buffer to zero. No comment indicating why it has to clear the buffer first. Seems like a huge waste of ...