Search found 264 matches
- Tue Jun 16, 2009 7:40 am
- Forum: C++ Development
- Topic: List Event
- Replies: 1
- Views: 626
You could maybe add a context menu. 2x click events are only generated on list items, so if you want to 2x click on an "empty" space, you would probably need to intercept the mouse event yourself. I don't know if this can be done on all platforms. For example, in wxGTK build you don't have access to...
- Wed Jun 10, 2009 6:47 am
- Forum: C++ Development
- Topic: a problem in wxThread::wait()
- Replies: 3
- Views: 905
Hi. The problem is thread.Wait(), because it blocks the main thread. I suggest that you use detached threads, and send an event to the main thread when the secondary threads are finished. For example: virtual ExitCode Entry() { //EXEC(wxT("notepad")); system(wxT("notepad")); wxMyCustomEvent oEvent(w...
- Tue Jun 02, 2009 6:55 am
- Forum: C++ Development
- Topic: unicode problem
- Replies: 2
- Views: 618
unicode problem
Hi. I have a unicode problem with wxMSW. I'm running console applications using CreateProcess() and read the output using pipes. The problem is when I read special characters. For example "é" is read like ",". Also, I would need to reply back the same charater, which under the current circumstances ...
- Wed Mar 04, 2009 10:48 am
- Forum: C++ Development
- Topic: Show Desktop
- Replies: 3
- Views: 1093
- Sun Mar 01, 2009 6:33 pm
- Forum: C++ Development
- Topic: [wxTreeCtrl] ToolTip on items
- Replies: 4
- Views: 1224
- Fri Feb 06, 2009 11:40 pm
- Forum: C++ Development
- Topic: Event Handling in a different thread?
- Replies: 5
- Views: 1471
You can try the following: 1. Create a list as a member of the thread. This list should hold pointers to events (of any type, make the list hold pointers of type wxEvent *) 2. Catch the events in the main loop, add a clone (created using Clone() ) to the event list of the thread and skip further pro...
- Thu Feb 05, 2009 4:13 pm
- Forum: C++ Development
- Topic: Event Handling in a different thread?
- Replies: 5
- Views: 1471
- Mon Feb 02, 2009 1:48 pm
- Forum: C++ Development
- Topic: Maximum file size in Wxfile
- Replies: 1
- Views: 742
- Fri Jan 30, 2009 3:57 pm
- Forum: C++ Development
- Topic: wxZipEntry problem
- Replies: 3
- Views: 834
- Fri Jan 30, 2009 10:32 am
- Forum: C++ Development
- Topic: Change the look of wxListCtrl
- Replies: 7
- Views: 1564
- Fri Jan 30, 2009 10:31 am
- Forum: C++ Development
- Topic: wxZipEntry problem
- Replies: 3
- Views: 834
Hi. Maybe you're doing nothing wrong :) I suggest that you create folders based on the file name/path. So if a path does no exists, create it, regardless if you get the folder elements first, or a file within those folders. Of course this could slow down your code, but you could save all created/che...
- Thu Jan 29, 2009 11:52 am
- Forum: C++ Development
- Topic: creating directory with spaces in Linux
- Replies: 1
- Views: 505
- Wed Jan 28, 2009 8:33 pm
- Forum: C++ Development
- Topic: Close program correctly in OnInit
- Replies: 5
- Views: 1263
Hi. Just set the return value to FALSE. bool MyApp::OnInit() { bool bRet = true; //Handler für alle Bildformate Initialisieren ::wxInitAllImageHandlers(); //Programm anzeigen try { MyStartDialog dlg; switch(dlg.ShowModal()) { case 0: { bRet = false; //Beenden }break; case 1: { //Inventur frame = new...
- Wed Jan 28, 2009 11:56 am
- Forum: C++ Development
- Topic: wxSemaphore, wxThread, deleting suspened thread
- Replies: 2
- Views: 691
- Mon Jan 26, 2009 8:54 am
- Forum: C++ Development
- Topic: wxListBox with Freeze() and Thaw()
- Replies: 3
- Views: 906
Hi.
You should try this:
Regards
You should try this:
Code: Select all
listbox->Hide();
listbox->Freeze();
listbox->Set( items );
listbox->Thaw();
listbox->Show();
Regards