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?
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...
<!-- --> 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...
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?
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...
<!-- --> 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...
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...
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...
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...