Click here to Skip to main content
15,891,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to display propertysheet tabs on left rather than on top? Pin
Amyvad7-Mar-05 6:21
Amyvad7-Mar-05 6:21 
AnswerRe: how to display propertysheet tabs on left rather than on top? Pin
David Crow7-Mar-05 10:44
David Crow7-Mar-05 10:44 
GeneralPrintout Bmp image Pin
Larsson7-Mar-05 6:10
Larsson7-Mar-05 6:10 
GeneralRe: Printout Bmp image Pin
Sujan Christo7-Mar-05 17:56
Sujan Christo7-Mar-05 17:56 
QuestionProblem with different size of dialog in resource editor to that on screen? Pin
RichardNN7-Mar-05 5:21
RichardNN7-Mar-05 5:21 
AnswerRe: Problem with different size of dialog in resource editor to that on screen? Pin
Maximilien7-Mar-05 5:44
Maximilien7-Mar-05 5:44 
GeneralRe: Problem with different size of dialog in resource editor to that on screen? Pin
RichardNN7-Mar-05 6:44
RichardNN7-Mar-05 6:44 
GeneralDevice Context Pin
Pazzuzu7-Mar-05 5:07
Pazzuzu7-Mar-05 5:07 
Hi Guys,


Iam working on a project on MFC & came across this problem.
Wanted to use the devicecontext function "DrawEdge" with the following set properties.It worked fine ,but the colour of the drawnEdge was always "black",eventhough I tried to set a brush(with a colour).

Any idea ,How I can use the "DrawEdge" function so that I can draw with a particular colour instead of "black".....

Don't want to use the "DrawFame" function of the deviceContext,as I want the "Edge_BUMP" effect.(See codeSmile | :)

Or Is there anyother function in the "DeviceContext" which performs such an action.

CRect rect;
rect3.SetRect(10,10,300,100);
CBrush brushBlue(RGB(255,112,0));
pDC->SelectObject(&brushBlue);
pDC->DrawEdge(rect,EDGE_BUMP,BF_RECT);


Thanks....
GeneralRe: Device Context Pin
Blake Miller7-Mar-05 10:39
Blake Miller7-Mar-05 10:39 
GeneralRe: Device Context Pin
Pazzuzu7-Mar-05 19:49
Pazzuzu7-Mar-05 19:49 
GeneralRe: Device Context Pin
Blake Miller8-Mar-05 4:26
Blake Miller8-Mar-05 4:26 
GeneralRe: Device Context Pin
Pazzuzu8-Mar-05 4:53
Pazzuzu8-Mar-05 4:53 
GeneralRe: Device Context Pin
Blake Miller8-Mar-05 6:20
Blake Miller8-Mar-05 6:20 
GeneralRe: Device Context Pin
Pazzuzu8-Mar-05 20:28
Pazzuzu8-Mar-05 20:28 
GeneralRe: Device Context Pin
Blake Miller9-Mar-05 4:29
Blake Miller9-Mar-05 4:29 
GeneralRe: Device Context Pin
Pazzuzu9-Mar-05 5:01
Pazzuzu9-Mar-05 5:01 
GeneralScroll bar with ActiveX control Pin
Anand for every one7-Mar-05 4:48
Anand for every one7-Mar-05 4:48 
GeneralButton location Pin
Anand for every one7-Mar-05 4:38
Anand for every one7-Mar-05 4:38 
GeneralRe: Button location Pin
Maximilien7-Mar-05 6:15
Maximilien7-Mar-05 6:15 
GeneralDEstroyWindow and Focus question ( weird behaviour) Pin
Maximilien7-Mar-05 4:22
Maximilien7-Mar-05 4:22 
GeneralRe: DEstroyWindow and Focus question ( weird behaviour) Pin
Ryan Binns7-Mar-05 17:48
Ryan Binns7-Mar-05 17:48 
GeneralRe: DEstroyWindow and Focus question ( weird behaviour) Pin
Maximilien8-Mar-05 4:00
Maximilien8-Mar-05 4:00 
GeneralRe: DEstroyWindow and Focus question ( weird behaviour) Pin
Ryan Binns8-Mar-05 12:23
Ryan Binns8-Mar-05 12:23 
GeneralNot a C++ coder needing C++ help Pin
LongRange.Shooter7-Mar-05 4:21
LongRange.Shooter7-Mar-05 4:21 
GeneralRe: Not a C++ coder needing C++ help Pin
Serge Krynine7-Mar-05 14:17
Serge Krynine7-Mar-05 14:17 

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.