Search found 153 matches
- Tue Jan 03, 2006 1:41 pm
- Forum: C++ Development
- Topic: Clipboard problem
- Replies: 6
- Views: 1437
- Tue Jan 03, 2006 1:29 pm
- Forum: C++ Development
- Topic: select a text in a wxComboBox
- Replies: 1
- Views: 591
Try this:
Regards
Bundy
Code: Select all
myComboBoxItem->SetSelection( myComboBoxItem->GetInsertionPoint(), myComboBoxItem->GetValue().Length() );
Bundy
- Tue Jan 03, 2006 12:58 pm
- Forum: C++ Development
- Topic: wxImage
- Replies: 9
- Views: 1926
Why You can't just use wxImage img; img.LoadFile(const wxString& name, long type = wxBITMAP_TYPE_ANY, int index = -1); where type can be: wxBITMAP_TYPE_BMP Load a Windows image file. wxBITMAP_TYPE_GIF Load a GIF image file. wxBITMAP_TYPE_JPEG Load a JPEG image file. wxBITMAP_TYPE_PCX Load a PCX imag...
- Tue Jan 03, 2006 12:51 pm
- Forum: C++ Development
- Topic: Clipboard problem
- Replies: 6
- Views: 1437
- Tue Jan 03, 2006 10:44 am
- Forum: C++ Development
- Topic: LisCtrl First InsertColumn width -1
- Replies: 3
- Views: 630
Maybe this will help: width can be a width in pixels or wxLIST_AUTOSIZE (-1) or wxLIST_AUTOSIZE_USEHEADER (-2). wxLIST_AUTOSIZE will resize the column to the length of its longest item. wxLIST_AUTOSIZE_USEHEADER will resize the column to the length of the header (Win32) or 80 pixels (other platforms...
- Tue Jan 03, 2006 10:19 am
- Forum: C++ Development
- Topic: Clipboard problem
- Replies: 6
- Views: 1437
- Tue Jan 03, 2006 9:51 am
- Forum: C++ Development
- Topic: Unicode, utf8, iso etc...
- Replies: 1
- Views: 613
Try this
regards
Bundy
Code: Select all
wxString text_in_local = wxString(text_in_utf8, wxConvUTF8);
text_in_local.mb_str(wxConvUTF8) - returns string in utf8
regards
Bundy
- Mon Dec 19, 2005 11:07 am
- Forum: C++ Development
- Topic: Convert numbers to a wxString and storing it in a listctrl
- Replies: 2
- Views: 683
- Fri Dec 09, 2005 2:12 pm
- Forum: C++ Development
- Topic: How to push LEAVE event up to parent window?
- Replies: 7
- Views: 1515
I don't that compiler let You catch multiple events of this same type. But if You derived class from class that already have example EVT_MOTION and You set in your class this same event t think it will be like this: first Your event will call Your function, and if you put in this function event.Skip...
- Fri Dec 09, 2005 12:41 pm
- Forum: C++ Development
- Topic: How to push LEAVE event up to parent window?
- Replies: 7
- Views: 1515
You can generate Your own event witch will be notice by parent: in child class BEGIN_EVENT_TABLE( wxClickText, wxControl ) EVT_LEAVE_WINDOW(wxClickText::OnMouseEvent) END_EVENT_TAB void wxClickText::OnMouseEvent( wxMouseEvent& event ) { wxCommandEvent myevent(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); ...
- Fri Dec 09, 2005 12:31 pm
- Forum: C++ Development
- Topic: Catching key down event
- Replies: 7
- Views: 1454
- Fri Dec 09, 2005 12:04 pm
- Forum: C++ Development
- Topic: I can't change cursor after closing dialog on linux
- Replies: 1
- Views: 763
- Thu Dec 08, 2005 8:37 am
- Forum: C++ Development
- Topic: I can't change cursor after closing dialog on linux
- Replies: 1
- Views: 763
I can't change cursor after closing dialog on linux
Hej all. I have application, just panel and statictext on it. I have two event, one is generated when user move mouse over panel, second when user move mouse over statictext. They both work, i know that becouse i send message to console when mouse is over static text and second when mouse is over pa...
- Fri Dec 02, 2005 1:51 pm
- Forum: C++ Development
- Topic: How to remove border from listview in listbook?
- Replies: 4
- Views: 1083
Ok, after few months I was forced by my boss to do this. This is my solution (based on Jorg topic): wxListbook_glowny = new wxListbook(this, ID_LISTY, wxDefaultPosition,wxDefaultSize, wxLB_LEFT); wxWindowID id1 = wxListbook_glowny->GetListView()->GetId(); wxListView *wsk; wsk = wxListbook_glowny->Ge...
- Thu Nov 24, 2005 8:25 am
- Forum: C++ Development
- Topic: Bug in wxDateTime?
- Replies: 9
- Views: 2192