Search found 423 matches
- Fri Feb 29, 2008 7:08 am
- Forum: C++ Development
- Topic: low level printing
- Replies: 6
- Views: 2372
- Fri Feb 29, 2008 7:03 am
- Forum: C++ Development
- Topic: low level printing
- Replies: 6
- Views: 2372
Oh... I looked at my sources and saw that I'm using native Windows API on Windows and generic way elsewhere. Anyway, I give you some relevant lines / pieces. Maybe you can adapt them to your code. But I need to say that I'm no specialist in such things. // header #if defined(__WXMSW__) || defined(__...
- Fri Feb 29, 2008 6:45 am
- Forum: Component Writing
- Topic: Read Only Checkbox
- Replies: 19
- Views: 9107
- Thu Feb 28, 2008 11:20 am
- Forum: Component Writing
- Topic: Read Only Checkbox
- Replies: 19
- Views: 9107
- Thu Feb 28, 2008 11:16 am
- Forum: C++ Development
- Topic: low level printing
- Replies: 6
- Views: 2372
- Thu Feb 21, 2008 6:37 am
- Forum: Open Discussion
- Topic: Remote method call for wxWidgets?
- Replies: 10
- Views: 5255
- Tue Feb 19, 2008 6:55 am
- Forum: General Development
- Topic: Parent panel cannot gain focus (To handle key events)
- Replies: 2
- Views: 1401
Have you tried virtual void wxPanel::SetFocusIgnoringChildren()?
- Thu Feb 07, 2008 11:31 pm
- Forum: General Development
- Topic: stop events
- Replies: 4
- Views: 2107
For "dirty" hackers there is also
int wxApp::FilterEvent(wxEvent& event)
You can also try to externalize the EVT_TEXT to a wxEvtHandler derived class and call
void wxEvtHandler::SetEvtHandlerEnabled(bool enabled)
Cheers!
int wxApp::FilterEvent(wxEvent& event)
You can also try to externalize the EVT_TEXT to a wxEvtHandler derived class and call
void wxEvtHandler::SetEvtHandlerEnabled(bool enabled)
Cheers!
- Tue Jan 29, 2008 10:08 pm
- Forum: Component Writing
- Topic: wxGrid help again...
- Replies: 3
- Views: 1934
O.k., don't know, if this is possible, but you could do the following: - make the last 3 cols readonly. - catch the wxEVT_GRID_SELECT_CELL event - check in the handler, if the col position is the first one - if not, set the cursor via wxGrid::SetGridCursor It shouldn't produce an endless loop. Maybe...
- Tue Jan 29, 2008 9:55 pm
- Forum: Component Writing
- Topic: ComboBox with Checkboxes
- Replies: 1
- Views: 1174
- Mon Jan 28, 2008 10:35 pm
- Forum: C++ Development
- Topic: wxGrid::GetSelectedRows() returns always 0
- Replies: 2
- Views: 1377
- Mon Jan 28, 2008 10:33 pm
- Forum: C++ Development
- Topic: wxGrid resizable
- Replies: 5
- Views: 1425
Have a look at the grid sample. They are working with the default solution for this problem... sizers. These are the interesting lines of the toplevel window's ctor: wxBoxSizer *topSizer = new wxBoxSizer( wxVERTICAL ); topSizer->Add( grid, 1, wxEXPAND ); SetAutoLayout(true); SetSizer( topSizer ); to...
- Mon Jan 28, 2008 7:25 am
- Forum: Component Writing
- Topic: wxGrid help again...
- Replies: 3
- Views: 1934
- Mon Jan 28, 2008 7:23 am
- Forum: C++ Development
- Topic: disable / enable a item in combox's list
- Replies: 2
- Views: 1001
I don't think that this is possible in a platform independent way. The API doesn't have methods for this. But AFAIK it can be done by using HTML. I can't tell you if the wxHTML classes have such a functionality but it could be point to start. Else, you will need to implement some platform specific s...
- Mon Jan 28, 2008 7:19 am
- Forum: C++ Development
- Topic: wxGrid Cell dynamic change color
- Replies: 2
- Views: 1466
Have you tried (re-)setting the attr pointer?
could help. Also some Refresh / ForceRefresh methods can be called.
Code: Select all
void wxGridTableBase::SetAttr(wxGridCellAttr* attr, int row, int col)