> [I wrote:} 2. learn of the properties and methods of these events, preferably
> without the need to read through a few thousand lines of C++ code?
Many of the event classes are documented. Unfortunatly the events for
the grid are not.
Robin, I just reread my query. Although I certainly meant no
offence, it sounds bad. My sincere apologies! - Bill
Bill Bell, Software Developer
To anyone who's interested, I noticed that wxMaskColour is _very_ slow. I
was using it to generate a mask for some text drawn in a wxBitmap to pass to
wxDragImage. It works fine for small bits of text, but when generating
larger fonts/strings, it can take several seconds just to generate the mask
(on a PIII 800). The workaround that is _much_ faster is to simply create a
second wxBitmap (this one needs to be monochrome) and draw the text into both
bitmaps and then create a wxMask from the monochrome bitmap and use that for
the mask.
I'm guessing that wxMaskColour must go through every pixel in an image to
determine if it is the same as the mask color which is why it would be slow.
···
--
Cliff Wells
Software Engineer
Logiplex Corporation
(800) 735-0555