Re: Static

Tech-Archive recommends: Fix windows errors by optimizing your registry



Seems a very clumsy thing to do. Why not do the drawing in the DrawItem handler of the
CButton-derived class?

You are only asking for trouble by trying to overlay a button with a CStatic. There are
some seriously nasty implications to doing this. Explain why you think such a complex
solution to such a simple problem is required.
joe

On Sat, 3 Mar 2007 07:44:20 -0800, mido1971 <mido1971@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

hi to all,
How can i create a Static frame over the an owner draw button to use it
with OnPaint

thanks for help
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.


Quantcast