mkashifkkj
asked on
Device context with diffrent color of pen object
I am drawing some figures and storing these figures as bmp file. All of this drawing is
done on a window that is not shown to the user.
This is done by using
memDC.CreateCompatibleDC(N ULL);
bitmap.CreateCompatibleBit map(&memDC , 600,400);
Now this memDC is used for drawing diffrent figures.
as memDC.Rectangle(---);
I use diffrent color of Pens to draw figures.
It works fine in normal case but in mine case when diffrent colors of pens are selected
only black color is displayed for all figures.
Help me so that using
memDC i can create figures generated by diffrent color of pens.
I hope this has clarified you.
Thanks.
done on a window that is not shown to the user.
This is done by using
memDC.CreateCompatibleDC(N
bitmap.CreateCompatibleBit
Now this memDC is used for drawing diffrent figures.
as memDC.Rectangle(---);
I use diffrent color of Pens to draw figures.
It works fine in normal case but in mine case when diffrent colors of pens are selected
only black color is displayed for all figures.
Help me so that using
memDC i can create figures generated by diffrent color of pens.
I hope this has clarified you.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Dan.
ASKER
Thanks Dan.