Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaloay, got it! Quick ques.. Pin
ns25-Feb-03 2:14
ns25-Feb-03 2:14 
GeneralRe: oay, got it! Quick ques.. Pin
Alvaro Mendez25-Feb-03 4:25
Alvaro Mendez25-Feb-03 4:25 
GeneralRe: deleting a CDialog... Pin
Nish Nishant24-Feb-03 9:17
sitebuilderNish Nishant24-Feb-03 9:17 
Generalthanks!! Also need to know... Pin
ns24-Feb-03 9:28
ns24-Feb-03 9:28 
GeneralRe: deleting a CDialog... Pin
valikac24-Feb-03 9:17
valikac24-Feb-03 9:17 
GeneralRe: deleting a CDialog... Pin
User 665824-Feb-03 9:18
User 665824-Feb-03 9:18 
GeneralRe: deleting a CDialog... Pin
AlexO24-Feb-03 9:21
AlexO24-Feb-03 9:21 
GeneralDevice context with diffrent color of pen object Pin
mkashifkkj24-Feb-03 8:42
mkashifkkj24-Feb-03 8:42 
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(NULL);

bitmap.CreateCompatibleBitmap(&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.
GeneralRe: Device context with diffrent color of pen object Pin
Chris Losinger24-Feb-03 9:46
professionalChris Losinger24-Feb-03 9:46 
QuestionRectangels and directdraw? Pin
anden24-Feb-03 8:21
anden24-Feb-03 8:21 
GeneralEnter to Select button Pin
sstiller24-Feb-03 7:40
sstiller24-Feb-03 7:40 
GeneralRe: Enter to Select button Pin
Alvaro Mendez24-Feb-03 9:05
Alvaro Mendez24-Feb-03 9:05 
GeneralRe: Enter to Select button Pin
valikac24-Feb-03 9:23
valikac24-Feb-03 9:23 
GeneralRe: Enter to Select button Pin
sstiller26-Feb-03 19:09
sstiller26-Feb-03 19:09 
GeneralDelete a security group in VC 7.0 Pin
Member 13661824-Feb-03 5:49
Member 13661824-Feb-03 5:49 
GeneralRe: Delete a security group in VC 7.0 Pin
Dana Epp24-Feb-03 7:59
Dana Epp24-Feb-03 7:59 
Generallaunching dos programs(gui) Pin
eggman2124-Feb-03 5:39
eggman2124-Feb-03 5:39 
GeneralRe: launching dos programs(gui) Pin
jmkhael24-Feb-03 5:43
jmkhael24-Feb-03 5:43 
GeneralRe: launching dos programs(gui) Pin
eggman2124-Feb-03 7:04
eggman2124-Feb-03 7:04 
GeneralRe: launching dos programs(gui) Pin
Dana Epp24-Feb-03 14:46
Dana Epp24-Feb-03 14:46 
GeneralRe: launching dos programs(gui) Pin
eggman2125-Feb-03 5:05
eggman2125-Feb-03 5:05 
Generalsimple C function question Pin
Maximilien24-Feb-03 5:33
Maximilien24-Feb-03 5:33 
GeneralRe: simple C function question Pin
jmkhael24-Feb-03 5:36
jmkhael24-Feb-03 5:36 
GeneralCTime question Pin
Anonymous24-Feb-03 4:53
Anonymous24-Feb-03 4:53 
GeneralRe: CTime question Pin
João Paulo Figueira24-Feb-03 5:09
professionalJoão Paulo Figueira24-Feb-03 5:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.