Search found 80 matches

by alchemist
Tue Apr 21, 2009 3:06 pm
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

Hello,

I posted a ticket, which has been accepted as bug: http://trac.wxwidgets.org/ticket/10723
by alchemist
Mon Apr 20, 2009 3:00 pm
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

Re: wxToolTip not immediately shown MacOS

Auria wrote:
alchemist wrote:
If I call wxToolTip::SetDelay(1), there is a tooltip displayed, but the previous value, not the new value set by SetToolTip.
That part sounds like a bug, you may want to try the bug tracker and/or mailing list?
Yes, I will do it! ;)
by alchemist
Mon Apr 20, 2009 2:59 pm
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

Hello,

I changed SetToolTip in wx source code, so that it immediately changes the value of the tooltip, then displays it.

It works really fine.
by alchemist
Mon Apr 20, 2009 9:16 am
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

Enabling the code doesn't help too.
by alchemist
Mon Apr 20, 2009 8:58 am
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

Hello,

the result is quite ugly.

I saw in tooltip.cpp that some code is disabled. I will enable it.
by alchemist
Mon Apr 20, 2009 8:31 am
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

OK, I will test it right now !
by alchemist
Mon Apr 20, 2009 7:43 am
Forum: C++ Development
Topic: wxToolTip not immediately shown MacOS
Replies: 9
Views: 3232

wxToolTip not immediately shown MacOS

Hello, I would like to display a tooltip immediately. In Windows, I only need to call SetToolTip(). But in MacOS, it doesn't work. If I call wxToolTip::SetDelay(1), there is a tooltip displayed, but the previous value , not the new value set by SetToolTip. And on a Mouse Wheel event, the tooltip is ...
by alchemist
Wed Jun 04, 2008 8:06 am
Forum: Platform Related Issues
Topic: wxMAC and Drag-and-Drop
Replies: 2
Views: 1018

Indeed, and this is worse with AUI. I will open a bug. Thanks :)
by alchemist
Mon May 26, 2008 12:29 pm
Forum: C++ Development
Topic: wxAuiNoteBook & Drag-and-Drop
Replies: 0
Views: 638

wxAuiNoteBook & Drag-and-Drop

Hello,

I have a wxAuiNoteBook and I use Drag-and-drop.

When I drag files and pass over the tabs, I would like to activate the tabs, in order to drop the file in the activated page.

How can I achieve that ?
by alchemist
Wed May 07, 2008 3:29 pm
Forum: C++ Development
Topic: wxMSW: transparency bug in wxMemoryDC ?
Replies: 5
Views: 2267

Hello

I need to use wxGCDC, in order to use GDI+ in Windows.

I found that quite neird, but it works (thank you DoubleMax !)
by alchemist
Wed May 07, 2008 3:26 pm
Forum: C++ Development
Topic: How to create a transparent bitmap with wxWidgets ?
Replies: 9
Views: 4047

Thank you DoubleMax : it worked fine ! 8)
by alchemist
Wed May 07, 2008 12:00 pm
Forum: C++ Development
Topic: How to create a transparent bitmap with wxWidgets ?
Replies: 9
Views: 4047

yes, I did it (otherwise, the code didn't compile) ;)

But what I do is different from the sample : I draw into a wxMemoryDC and not a real Window's DC.
by alchemist
Wed May 07, 2008 11:08 am
Forum: C++ Development
Topic: How to create a transparent bitmap with wxWidgets ?
Replies: 9
Views: 4047

Hello, It doesn't work, because I don't start from a real DC but a wxMemoryDC. The result is the same as before. Here is my code: wxBitmap buf(100, 50, 32); buf.UseAlpha(); wxMemoryDC *memDC = new wxMemoryDC(buf); wxDC *tempDC = memDC; wxGCDC *gcDC = new wxGCDC(tempDC); // draw a red rectangle gcDC-...
by alchemist
Wed May 07, 2008 7:36 am
Forum: C++ Development
Topic: How to create a transparent bitmap with wxWidgets ?
Replies: 9
Views: 4047

You can use wxMask, fill background of bitmap with some unused colour, and then: bitmap.SetMask( new wxMask( bitmap, unused_colour ) ); Can that mask be "progressive" (values between 0 and 255)? I don't think so. I prefer the solutions of using transparent pen and brushes through wxGCDC. ...
by alchemist
Tue May 06, 2008 6:33 pm
Forum: C++ Development
Topic: How to create a transparent bitmap with wxWidgets ?
Replies: 9
Views: 4047

OK, I will give a try...