Quote Originally Posted by maheshmahindrakar View Post
P.S --> I cant use the standard patterns of MFC, i have created some bitmaps in resource with some designs and i want to use that bitmap as a brush pattern.
So if user selects pattern 1 and color as a red then that particular object should be filled with pattern 1 in red color.
Once again: is your pattern colored? Using one solid color?
I already suggested two ways:
1. Use GDI with monochrome pattern and change text/background color.
2. Run through each pixel of your pattern and modify its color.