Search found 13 matches

by franklar
Thu Feb 15, 2007 12:10 pm
Forum: C++ Development
Topic: wxIdle, wxTimer or what else I need here ?
Replies: 9
Views: 1140

Well... MakeModal() seems to "block" just other windows, so i can press keys in "Video" frame while the main frame stays frozen on the background. Sadly, it seems that class "emulator", that does't contain GUI code, still runs until the end without waiting user's input in the modal frame. So: - This...
by franklar
Thu Feb 15, 2007 10:27 am
Forum: C++ Development
Topic: wxIdle, wxTimer or what else I need here ?
Replies: 9
Views: 1140

Ok, thank you David, I'll try that and will report if it works like I think... ;)
by franklar
Thu Feb 15, 2007 8:43 am
Forum: C++ Development
Topic: wxIdle, wxTimer or what else I need here ?
Replies: 9
Views: 1140

DavidHart wrote: Do you want the program to stop there and wait for user input, as happens with a modal dialog?
Sure, it shall behave like that, but what I wrote is a common wxFrame with a wxTextCtrl inside, that can be always visible on the screen if the user wants...
by franklar
Wed Feb 14, 2007 2:44 pm
Forum: C++ Development
Topic: wxIdle, wxTimer or what else I need here ?
Replies: 9
Views: 1140

Ok, I'll try to explain better: The main work will be done throug a class named " emulator ". Sometimes it will need to output single characters in a "virtual PC terminal" that I realized with a wxTextCtrl class, included in a frame named " Video " class, that's not the main frame and it will be alr...
by franklar
Wed Feb 14, 2007 10:29 am
Forum: C++ Development
Topic: wxIdle, wxTimer or what else I need here ?
Replies: 9
Views: 1140

wxIdle, wxTimer or what else I need here ?

In brief, I have to write a function that does some work like: operation1 operation2 operation3 ... operation N then stop, and wait for a key press or a button click by the user next restart from where it stopped, eventually using the value of the key pressed and elaborating it, or simply go on afte...
by franklar
Sun Feb 11, 2007 9:16 pm
Forum: C++ Development
Topic: Displaying a wxCaret in a wxTextCtrl control
Replies: 2
Views: 466

any ideas ? :(
by franklar
Tue Feb 06, 2007 10:39 am
Forum: C++ Development
Topic: Displaying a wxCaret in a wxTextCtrl control
Replies: 2
Views: 466

Displaying a wxCaret in a wxTextCtrl control

I'd like to show a caret in a wxMemo control, like it's shown in Caret sample included in wxWidgets "Examples" folder; but that uses the caret into a wxScrolledWindow ctrl. wxCaret *caret = new wxCaret(this, 6, 10); SetCaret(caret); caret->SetBlinkTime(250); caret->Move(1, 1); caret->Show(); Nothing...
by franklar
Tue Jan 23, 2007 9:42 pm
Forum: Component Writing
Topic: Colors in disabled components
Replies: 2
Views: 814

I could manage well right clicks, but not left ones... my program will auto-select certain items, and user shall not have the right to select-deselect items.
Later I'll post some code...
by franklar
Tue Jan 23, 2007 1:15 pm
Forum: Component Writing
Topic: Colors in disabled components
Replies: 2
Views: 814

Colors in disabled components

Now I need a normal wxListCtrl as a report view, that should do nothing in response of mouse clicks, drags, selections etc. The user should not even be able to resize columns. The fastest way to do is to set wxListCtrl1->Enable(false); , but now all is greyed out and it's not good looking. I can't c...
by franklar
Thu Dec 21, 2006 12:38 pm
Forum: Component Writing
Topic: How to modify spinctrl and listbox ?
Replies: 1
Views: 942

How to modify spinctrl and listbox ?

So, today it's the Day, I have to begin writing my own components to suit my needs :D Well, I'd like to do something like this: 1- a spinctrl that shows a 4 digits, 16 bits Hexadecimal value. It should always show 4 digits, even if there are leading zeros. http://img357.imageshack.us/img357/3396/vmw...
by franklar
Tue Dec 12, 2006 3:40 pm
Forum: wxDev-C++
Topic: blank class viewer
Replies: 29
Views: 2729

lowjoel's alpha works great ! :D
by franklar
Sat Dec 09, 2006 11:59 am
Forum: wxDev-C++
Topic: blank class viewer
Replies: 29
Views: 2729

Maybe I found a temporary workaround: try disabling class viewer in the options tab before saving the project and closing. After you open again wxdevcpp and load your project re-enable class viewer, you should see classes tab populating again :D http://img137.imageshack.us/img137/8036/vmwarewinxp01z...
by franklar
Thu Dec 07, 2006 11:42 am
Forum: wxDev-C++
Topic: blank class viewer
Replies: 29
Views: 2729

I have class viewer enabler and code completion disabled, and I can't see anything in classes tab. When I start a new project, I may have to disable and re-enable the class viewer option to see that working. But now I worked on my project, saved, closed wxdevc++ and when reopened it again classes ta...