Click here to Skip to main content
15,897,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMultithreaded horror.. Pin
Bob Stanneveld30-May-05 22:04
Bob Stanneveld30-May-05 22:04 
GeneralProblem solved.. Pin
Bob Stanneveld31-May-05 2:38
Bob Stanneveld31-May-05 2:38 
GeneralVisual C++ Pin
Member 150607130-May-05 21:40
Member 150607130-May-05 21:40 
GeneralRe: Visual C++ Pin
Cedric Moonen30-May-05 21:50
Cedric Moonen30-May-05 21:50 
GeneralRe: Visual C++ Pin
toxcct30-May-05 22:26
toxcct30-May-05 22:26 
GeneralRe: Visual C++ Pin
benjymous30-May-05 23:21
benjymous30-May-05 23:21 
GeneralRe: Visual C++ Pin
David Crow31-May-05 3:48
David Crow31-May-05 3:48 
QuestionHow To Create a Transparent Pen? Pin
pritamkd30-May-05 20:45
pritamkd30-May-05 20:45 
Hi,
I am developing a marker application. Basically allows free-hand drawing with the mouse. When i draw a line, i want the window below also to visible. I am not able to create a transparent Pen for this? i tried BS_HOLLOW, but it doesn't draw at all.

hdc = CreateDC(TEXT("DISPLAY"),NULL,NULL,NULL);
lb.lbColor = rgbCurrent;
lb.lbHatch = NULL;
lb.lbStyle = BS_SOLID;
//hNewPen = CreatePen(PS_SOLID,10,rgbCurrent);
//SetROP2(hdc,R2_MERGEPEN);
hNewPen = ExtCreatePen(PS_GEOMETRIC,10,&lb,0,NULL);
//SelectObject(hdc,CreateBrushIndirect(&lb));
//SetDCBrushColor(hdc,rgbCurrent);
SelectObject(hdc,hNewPen);
MoveToEx(hdc, PrevX, PrevY, NULL);
LineTo(hdc, CurrX, CurrY);
DeleteDC(hdc);
........

Can anyone help?

Hercules
Questionhow to display string in debug widow. Pin
shumyla198330-May-05 20:31
shumyla198330-May-05 20:31 
AnswerRe: how to display string in debug widow. Pin
MK7830-May-05 20:35
MK7830-May-05 20:35 
AnswerRe: how to display string in debug widow. Pin
BlackDice31-May-05 5:38
BlackDice31-May-05 5:38 
Generalquestion regarding operator overloading! Pin
namaskaaram30-May-05 19:15
namaskaaram30-May-05 19:15 
GeneralRe: question regarding operator overloading! Pin
Johnny ²30-May-05 19:35
Johnny ²30-May-05 19:35 
GeneralRe: question regarding operator overloading! Pin
Rahim Rattani30-May-05 19:45
Rahim Rattani30-May-05 19:45 
GeneralRe: question regarding operator overloading! Pin
S. Senthil Kumar30-May-05 20:58
S. Senthil Kumar30-May-05 20:58 
GeneralRe: question regarding operator overloading! Pin
namaskaaram30-May-05 21:53
namaskaaram30-May-05 21:53 
GeneralCListCtrl auto scrolling problem Pin
Imtiaz Murtaza30-May-05 18:53
Imtiaz Murtaza30-May-05 18:53 
GeneralRe: CListCtrl auto scrolling problem Pin
namaskaaram30-May-05 22:34
namaskaaram30-May-05 22:34 
GeneralImproper highlight on Tree Control Pin
laiju30-May-05 18:38
laiju30-May-05 18:38 
GeneralHelp with switching to module state (DLL) Pin
KnaveR77730-May-05 18:20
KnaveR77730-May-05 18:20 
GeneralVC++ Won't Use Correct Include Directories Pin
User 1278230-May-05 14:31
User 1278230-May-05 14:31 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
Christian Graus30-May-05 14:35
protectorChristian Graus30-May-05 14:35 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
User 1278230-May-05 15:24
User 1278230-May-05 15:24 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
Ravi Bhavnani30-May-05 15:39
professionalRavi Bhavnani30-May-05 15:39 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
User 1278231-May-05 13:26
User 1278231-May-05 13:26 

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.