Search found 2995 matches

by upCASE
Sat Sep 11, 2004 1:35 pm
Forum: General Forum Issues
Topic: Attach files
Replies: 5
Views: 1729

Hi!
If it's posibble I could give you about 150 Mb of my own site. I installed a forum there too, but since everbody posts here now I think of deinstalling it :lol:. Mail me if you like the idea.
by upCASE
Wed Sep 08, 2004 11:04 am
Forum: C++ Development
Topic: Canvas
Replies: 2
Views: 1647

Hi!
For a canvas, there is no such specific class, but a wxPanel will just be fine. Then construct a wxDC derived class like wxClientDC and use that for doing the actual drawing.
by upCASE
Tue Sep 07, 2004 3:32 pm
Forum: C++ Development
Topic: Key mapping
Replies: 31
Views: 8373

Hi! If I remember correctly this is pretty much the "hungarian notation" (god knows why it has that name...). True, it's a good idea to stick with it, or at least peel out the parts you like. For inserting comments -> "A word of warning agent Denton" (Sorry, playing Deus Ex again and still, I think ...
by upCASE
Tue Sep 07, 2004 1:50 pm
Forum: C++ Development
Topic: Key mapping
Replies: 31
Views: 8373

Hi! Some people put the definitions in a .h file, some directly in the .cpp, does this have a practical definition at all?, or is it meaningless? It depends on how lazy you are :wink: Seriously: Putting everything in one file will be just fine for very small projects, but will lead to big trouble wh...
by upCASE
Tue Sep 07, 2004 12:23 pm
Forum: C++ Development
Topic: Key mapping
Replies: 31
Views: 8373

Hi!
With a non propagating event it's a question of what window has the focus. In the minimal sample it works because there's only a frame and thus it has the focus...
Anyway: Post your code, I'm sure somebody will have a proper solution :D
by upCASE
Tue Sep 07, 2004 11:56 am
Forum: C++ Development
Topic: Key mapping
Replies: 31
Views: 8373

Hi! My guess would be the event propagation level of wxKeyEvent. Since it's not derived from wxCommandEvent (which would propagate all the way up the chain) you'll have to either skip the event as Jorg recommends, or, on MSW, use a hotkey. For the second solution check wxWindow::RegisterHotKey() and...
by upCASE
Tue Sep 07, 2004 6:54 am
Forum: C++ Development
Topic: wxProcess::Redirect() stderr only?
Replies: 4
Views: 1532

Hi!
Not really sure but to me it seems like calling Redirect() and then calling GetErrorStream() should do exactly what you want :?:
by upCASE
Mon Sep 06, 2004 7:01 am
Forum: C++ Development
Topic: Newbie seeking for explanations
Replies: 2
Views: 1369

Hi! What exactly should I put in the .h files and what in the .cpp? In general definitions go into the header files and implementations into the cpp files. A definition is a description of a class for example. You define what members and methods a class has and wether they are public, protected or p...
by upCASE
Fri Sep 03, 2004 5:59 am
Forum: General Development
Topic: Rebar
Replies: 5
Views: 1469

Hi!
Maybe check out this resource:
http://www.xs4all.nl/~jorgb/wxFoldPanelBar.html
I'm pretty sure that's what you want 8)
by upCASE
Tue Aug 31, 2004 11:50 am
Forum: C++ Development
Topic: wxfile and opening files
Replies: 8
Views: 2067

Hi!
A very easy way would be to use wxTextFile :D
By the way, if you're using the standard wxTextCtrl for your editor, you can use wxTextCtrl::LoadFile(), too.