|
-
May 12th, 1999, 03:08 AM
#1
How to use bitmap as background for edit control?
Hello all,
How to use bitmap as background for edit control?
Thanks
-
May 12th, 1999, 05:50 AM
#2
Subclass your control
In your OnInitDialog you can receice your edit control and subclass it to your own CWnd Object. This CWnd object must handle the OnEraseBkGnd(). Here you can put code to draw a bitmap.
If you only what a pattern brush or another color you can handle the OnCtrlColor() in your dialog class
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|