At 08:47 2002-05-21 -0400, Jonathan Southwick wrote:
I have a bitmap placed in a sunken label. The label only contains the
bitmap. I have a richedit control to the right of label that is the same
height as the label. What I am wanting is for the label to look like iot
is part of the richedit control without having the right edge of the label
or left edge of the richedit control showing as separate edges ...
basically I want them smoothed together.
Does that make sense? Can it be done?
You can't (or it is very difficult to) change the look of the control. But
you can paint the control yourself, giving you exactly the look you want.
Take a look at The GUI Loft, in which I do exactly that (including painting
a bitmap on a Graphic control, which is actually VERY tricky until you
figure out what "the right thing" is). Look at the paint code for the Label
control.
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "no tv"
http://use.perl.org/comments.pl?sid=4416&cid=6621
dmoz (1 of 7): /Computers/Programming/Languages/Perl