Search found 92 matches

by gpu
Wed Aug 20, 2014 9:22 am
Forum: C++ Development
Topic: How make wxPanel transparent on Windows and Linux?
Replies: 40
Views: 9898

Re: How make wxPanel transparent on Windows and Linux?

Ok, now i see the "bigger picture". Together with your question about zooming, you'll definitely need a 100% custom control. The main question is whether the individual panels are wxWidgets controls, too or if everything is managed by yourself. The latter case is guaranteed to work as it gives you ...
by gpu
Wed Aug 20, 2014 9:10 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3136

Re: can ScrolledWindow resize with mouseWheel?

doublemax wrote:Not automatically. You'd have to resize everything yourself manually. Of course with native controls that would not work or look very ugly.
thank u and i will have a try.
by gpu
Wed Aug 20, 2014 8:48 am
Forum: C++ Development
Topic: can ScrolledWindow resize with mouseWheel?
Replies: 17
Views: 3136

can ScrolledWindow resize with mouseWheel?

can ScrolledWindow resize with mouseWheel, and meanwhile the children controls such as buttons are also resized.
by gpu
Wed Aug 20, 2014 8:43 am
Forum: C++ Development
Topic: How make wxPanel transparent on Windows and Linux?
Replies: 40
Views: 9898

Re: How make wxPanel transparent on Windows and Linux?

What's never possible is to have a native control, e.g. a button, to be semi-transparent over a custom background. If you draw content yourself, everything is possible, but not always easy. It would really help if you had a screenshot or something else that shows what exactly you're trying to do. T...
by gpu
Wed Aug 20, 2014 7:49 am
Forum: C++ Development
Topic: how to disable the button on the panel, but not Gray it?
Replies: 1
Views: 504

how to disable the button on the panel, but not Gray it?

I want to disable the button, lable and other controls on the parent Panel, but I don't want them seem Gray...... Is there another good way to do this? cause I just want the parent Panel to response to the mouse event, eg click anywhere on the Panel including the area covered by the button on it, an...
by gpu
Wed Aug 20, 2014 2:48 am
Forum: C++ Development
Topic: How make wxPanel transparent on Windows and Linux?
Replies: 40
Views: 9898

Re: How make wxPanel transparent on Windows and Linux?

is it possible to use a semi-transparent Bitmap as the background?
by gpu
Wed Aug 20, 2014 2:27 am
Forum: C++ Development
Topic: How make wxPanel transparent on Windows and Linux?
Replies: 40
Views: 9898

Re: How make wxPanel transparent on Windows and Linux?

Semi-transparency is not possible. A completely transparent panel would be pretty much useless, it'd be just a layout element, then you could use a wxSizer instead. You can also try wxWindow::SetBackgroundStyle( wxBG_STYLE_TRANSPARENT ) http://docs.wxwidgets.org/trunk/classwx_window.html#af14f8fd2e...
by gpu
Tue Aug 19, 2014 3:28 pm
Forum: C++ Development
Topic: How make wxPanel transparent on Windows and Linux?
Replies: 40
Views: 9898

Re: How make wxPanel transparent on Windows and Linux?

doublemax wrote:Dealing with transparency is always a difficult issue in wxWidgets. What exactly are you trying to achieve?
i want the panel be transparent, and i tried CanGetTransparent, but unfortunately it returns false on Windows.
by gpu
Tue Aug 19, 2014 10:30 am
Forum: C++ Development
Topic: wxPanel is able to response to mouseHover and Drag event?
Replies: 1
Views: 662

wxPanel is able to response to mouseHover and Drag event?

Is wxPanel able to response to Drag/Drop and mouse click, Hover, mouseOver, mouseUp/Down event ?
by gpu
Tue Aug 19, 2014 10:27 am
Forum: C++ Development
Topic: wxPanel the best as widget container for a group of controls
Replies: 1
Views: 606

wxPanel the best as widget container for a group of controls

Is wxPanel the best as a widget container for a group of small controls such as Button, ComboBox?
by gpu
Tue Aug 19, 2014 10:23 am
Forum: C++ Development
Topic: How make wxPanel transparent on Windows and Linux?
Replies: 40
Views: 9898

How make wxPanel transparent on Windows and Linux?

How make wxPanel transparent on Windows and Linux?
by gpu
Fri Aug 15, 2014 10:14 am
Forum: General Development
Topic: wxArt2D and wxWorkspaceView, both down?
Replies: 1
Views: 1299

wxArt2D and wxWorkspaceView, both down?

anyone know where to download the wxArt2D and wxWorkspaceView ?
I found one: svn://svn.code.sf.net/p/wxart2d/code/trunk //but how to compile wxArt2D with Visual Studio? I tried cmake, but always failed...
thank you
by gpu
Fri Aug 15, 2014 7:14 am
Forum: C++ Development
Topic: is there good way to pick color anywhere on the screen?
Replies: 3
Views: 1031

Re: is there good way to pick color anywhere on the screen?

xaviou wrote:Hi

You can try creating a wxScreenDC, and calling "GetPixel' from this object : it should work.

Regards
Xav'
Thank you!
by gpu
Thu Aug 14, 2014 3:57 pm
Forum: C++ Development
Topic: is there good way to pick color anywhere on the screen?
Replies: 3
Views: 1031

is there good way to pick color anywhere on the screen?

is there any good method to pick the pixel color anywhere on the screen?
THankx