wxWidgets: Is it possible...

BlitzMax Forums/Brucey's Modules/wxWidgets: Is it possible...

Pete Rigz(Posted 2008) [#1]
Hello, just a couple of "is it possible" questions...

1) Can you have a tree control with larger images then 16x16?

2) I'm using a wxglcanvas with the wxEVT_MOUSE_EVENTS. I have objects you can click and drag about the screen, but if you drag outside the canvas it obviously stops processing the event. It'd be handy to be able to drag stuff off screen but not sure if this is possible in wxWidgets.

Thanks!


Brucey(Posted 2008) [#2]
1) No idea. I'll have to look at that. It might be a limitation of the OS.

2) You could try using CaptureMouse() and ReleaseMouse() on the canvas. Call capture on mouse-down, etc. It works on a wxPanel :-)


Pete Rigz(Posted 2008) [#3]
Thanks, I'll give it a try.


Pete Rigz(Posted 2009) [#4]
Finally got around to trying capture/releasemouse, works like a charm, much easier then I thought it was going to be :)