Customizing Edit Controls
Does anyone know how to put a bitmap in the background of a multiline edit control?
I know that if you handle the WM_CTLCOLORSTATIC (I have the multiline edit control disabled as it only displays text so its WM_CTLCOLORSTATIC rather than just WM_CTLCOLOREDIT) you can return a brush for the edit control to use as a background, but as for as I know in Windows 95 and 98 the bitmap (or DIB siction depending on how you create your brush) can only be 8x8 pixels. That''s not what I''m looking for.
I was going to try subclassing the WM_PAINT message (I already have the edit control subclassed) but then I realized that the edit control will just draw whatever it want ontop of what I paint there if I pass the message onto its Windows procedure and If I don''t let the message through then I don''t believe any text will get displayed.
Any ideas?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement