Search found 3 matches
- Sat Jan 21, 2006 9:02 pm
- Forum: C++ Development
- Topic: wxlistctrl SetItemBackgroundColour problems
- Replies: 1
- Views: 1264
wxlistctrl SetItemBackgroundColour problems
1. wxListCtrl * Listctrl=new wxListCtrl(this,ID_WXLISTCtrl1,wxPoint(8,8),wxDefaultSize,wxLC_LIST|wxLC_SINGLE_SEL); long temp=Listctrl->InsertItem(0,"hello1",0); Listctrl->SetItemBackgroundColour(temp,wxColour(255, 0, 0)); It turns out the the red color only covers the text, not in the whol...
- Fri Jan 20, 2006 6:57 pm
- Forum: C++ Development
- Topic: How to set diffrent colors for the items in Wxlistbox
- Replies: 0
- Views: 462
How to set diffrent colors for the items in Wxlistbox
Anyone can give me some sample?
Thanks
Thanks
- Fri Dec 30, 2005 4:30 am
- Forum: C++ Development
- Topic: wxMouseEvent::Button question
- Replies: 0
- Views: 499
wxMouseEvent::Button question
wxMouseEvent::Button bool Button(int button) Returns TRUE if the identified mouse button is changing state. Valid values of button are 1, 2 or 3 for left, middle and right buttons respectively. It seems I did not get 1 2 3., The value is always 1 I do not know how to use this in a right way. Can any...