Re: Static
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sun, 04 Mar 2007 00:35:02 -0500
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,Joseph M. Newcomer [MVP]
How can i create a Static frame over the an owner draw button to use it
with OnPaint
thanks for help
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Prev by Date: Re: Getting a Pointer to a Menu Item given its Item ID
- Next by Date: Re: GetModuleHandle
- Previous by thread: Re: Static
- Next by thread: Converting Visual C++ 6.0 application to Unicode
- Index(es):