But on the Windows builds, it's very spotty. I have a hard time describing it. When over a listbox, it works maybe 75% well. Over a text box, it maybe works 25%. Sometimes, you can actually see the entire thing. But most of the time, it's either there for a milisecond then gone, or it's corrupted, and/or its corrupting the text in the editfield underneath it.

Do I need to refresh it in some way? Why does it work on the mac, but not on Windows?


Perhaps it is a double-buffering issue, which is done automatically on the Mac but not on Windows. You can check this out by first creating a Picture object, drawing your content into the Picture, then draw the Picture object onto the canvas.

Jack,

Thanks for the tip. I was sure that was going to be it, but if I did the double-buffering correctly, it doesn't seem to have made much difference. I took some snaps today (but left them at work). Here is some more behavior explanation: - in the listbox view, it draws nearly perfectly, except that the listbox scrollbox draws over it, and the neighboring control to the right, which is also a listbox, draws over it entirely. As if the canvas was behind it (but it's not). A static text also located to the right of it will also draw over the canvas. - In an edit field, you can't really see it much, UNLESS you highlight a different piece of text in the edit field. Then, if you go over a tag, you see the tooltip just about perfectly. If nothing is highlighted (selected) in the edit field, then you can kind of see it as you move the mouse around, but it just looks like a fuzzy gray field, and undraws after 1/10 a second or so.

Perhaps I did the double-buffering wrong? I used an example I found in the IDE help system.

Regards,

Micah

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to