Search found 178 matches

by orbitcowboy
Fri Jul 10, 2009 6:52 am
Forum: C++ Development
Topic: wxAnimationCtrl and wxMouseEvent
Replies: 6
Views: 685


For me, it works just like you want it to work.
Thank you very much. Using the wxCommandEvent works for me too!!

Many thanks

Orbitcowboy
by orbitcowboy
Thu Jul 09, 2009 9:54 pm
Forum: C++ Development
Topic: wxAnimationCtrl and wxMouseEvent
Replies: 6
Views: 685

Thanks for your suggestion. The connect method compiled well but no mouse event is raised. Is there a way to find out, what control catches the event in this situation?

Best regards and many thanks in advance

Orbitcowboy
by orbitcowboy
Thu Jul 09, 2009 9:36 pm
Forum: C++ Development
Topic: Extending wxNotebook
Replies: 3
Views: 693

I'd recommend not trying to add custom buttons to wxNotebook. If the functionality isn't built into all of the native notebook controls (which if wxWidgets doesn't provide an API for it, chances are pretty good that one of the native controls on some platform doesn't allow it), you should find some...
by orbitcowboy
Thu Jul 09, 2009 5:08 pm
Forum: C++ Development
Topic: wxAnimationCtrl and wxMouseEvent
Replies: 6
Views: 685

<!-- --> I never used this control, but doesn't the regular wxMousEvent work? No, it does not work. No mouse event is created, when the mouse enters area, where the animation is playing. I used MyTestclass.h: class MyTestClass { // ... void vOnMouseEvent(wxMouseEvent&); //.... }; MyTestclass.cpp //....
by orbitcowboy
Thu Jul 09, 2009 12:59 pm
Forum: C++ Development
Topic: wxAnimationCtrl and wxMouseEvent
Replies: 6
Views: 685

wxAnimationCtrl and wxMouseEvent

Hi friends,

does anybody know a way how to catch a MouseEvent of wxAnimationCtrl?
I intend to change the animation, when the user clicks on it.

Best regards

Orbitcowboy
by orbitcowboy
Thu Jul 09, 2009 9:45 am
Forum: C++ Development
Topic: wxSound Sample
Replies: 4
Views: 1144

Hi friends,

i have changed a few things on the wxBin2C utility. It compiles now in unicode-build.

Can somebody test the application?

Best regards

Orbitcowboy
by orbitcowboy
Wed Jul 08, 2009 10:51 pm
Forum: C++ Development
Topic: Extending wxNotebook
Replies: 3
Views: 693

Extending wxNotebook

Hello,

i itend to extend the wxNotebook class about a Button (see attached screenshot, the button on the right side and NOT the close button).
What do you recommend to do? Deriving from wxNotebook and re-implement the OnPaint() function?

Best regards and thanks in advance

Orbitcowboy
by orbitcowboy
Wed Jul 08, 2009 8:51 am
Forum: C++ Development
Topic: wxListCtrl Image Rendering
Replies: 15
Views: 2160

i converted the file icon to a png, using gimp. Hope it helps you.
by orbitcowboy
Wed Jul 08, 2009 6:36 am
Forum: C++ Development
Topic: Floating points in wxSpinCtrl and pixel width of wxStaticTex
Replies: 12
Views: 1696

I would believe : spinCtrl->Connect(wxEVT_SPIN, wxSpinEvent(wxcLocationControl::xNumericChanged), NULL, this); wxWidgets does not seem to know what wxEVT_SPIN is though, I tried looking for it in the docs too. error C2065: 'wxEVT_SPIN' : undeclared identifier Have you included following header? #in...
by orbitcowboy
Wed Jul 08, 2009 6:34 am
Forum: C++ Development
Topic: Animated Splash Screen
Replies: 4
Views: 5656

<!-- --> Have you created an animated wxSplashscreen? I intend to do the same and do not intend to invent the wheel on my own :-) Best regards Orbitcowboy I'm afraid not, we decided on a static image using the wxSplashScreen functionality. Ok, thank you for your quick response. Best regards Orbitcow...
by orbitcowboy
Tue Jul 07, 2009 9:14 pm
Forum: C++ Development
Topic: Animated Splash Screen
Replies: 4
Views: 5656

Hi John, I think you could do either/or. See http://docs.wxwidgets.org/stable/wx_wxsplashscreen.html for the splash screen, it shows an example at the top. If you want to show a gif animation, you would need to construct your own window at start up and put the animation in it. See the animation exa...
by orbitcowboy
Sun Jul 05, 2009 7:45 pm
Forum: C++ Development
Topic: Floating points in wxSpinCtrl and pixel width of wxStaticTex
Replies: 12
Views: 1696

Re: Floating points in wxSpinCtrl and pixel width of wxStati

1) Is there a way to have floating points in wxSpinCtrl? The wxThings package contains a class wxSpinCtrlDbl. It handles floating point values in a wxSpinCtrl. http://wxcode.sourceforge.net/complist.php 2) Is there a way to find out the pixel width of the label in wxStaticText? http://docs.wxwidget...
by orbitcowboy
Sat Jul 04, 2009 7:17 pm
Forum: C++ Development
Topic: Memory leaks in dataview sample
Replies: 3
Views: 517

Ok, i have made 2 video to explain it: http://www.mediafire.com/?sharekey=98af96dc316336d9312dbd5f2bdc5062e04e75f6e8ebb871 It seems that the Mediaplayer sample has memory leaks too... Download the videos to see it. Thanks for the effort, But i have no experience with visual c++ stuff. Maybe a windo...
by orbitcowboy
Sat Jul 04, 2009 11:11 am
Forum: C++ Development
Topic: Memory leaks in dataview sample
Replies: 3
Views: 517

Hello,

thanks for reporting this, but a bit more explanation about the attachment whould be nice.

Best regards

Orbticowboy
by orbitcowboy
Wed Jul 01, 2009 7:41 am
Forum: C++ Development
Topic: Warning unused variable
Replies: 5
Views: 1001

hello,

when you intend to create the object, the compiler warnings can easily surpressed by:

Code: Select all

(void)new wxComboBox(...);
Best regards

Orbitcowboy