Click here to Skip to main content
15,512,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMultithreaded horror.. Pin
Bob Stanneveld30-May-05 23:04
Bob Stanneveld30-May-05 23:04 
GeneralProblem solved.. Pin
Bob Stanneveld31-May-05 3:38
Bob Stanneveld31-May-05 3:38 
GeneralVisual C++ Pin
Member 150607130-May-05 22:40
Member 150607130-May-05 22:40 
GeneralRe: Visual C++ Pin
Cedric Moonen30-May-05 22:50
Cedric Moonen30-May-05 22:50 
GeneralRe: Visual C++ Pin
toxcct30-May-05 23:26
toxcct30-May-05 23:26 
GeneralRe: Visual C++ Pin
benjymous31-May-05 0:21
benjymous31-May-05 0:21 
GeneralRe: Visual C++ Pin
David Crow31-May-05 4:48
David Crow31-May-05 4:48 
QuestionHow To Create a Transparent Pen? Pin
pritamkd30-May-05 21:45
pritamkd30-May-05 21: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 21:31
shumyla198330-May-05 21:31 
AnswerRe: how to display string in debug widow. Pin
MK7830-May-05 21:35
MK7830-May-05 21:35 
AnswerRe: how to display string in debug widow. Pin
BlackDice31-May-05 6:38
BlackDice31-May-05 6:38 
Generalquestion regarding operator overloading! Pin
namaskaaram30-May-05 20:15
namaskaaram30-May-05 20:15 
GeneralRe: question regarding operator overloading! Pin
Johnny ²30-May-05 20:35
Johnny ²30-May-05 20:35 
GeneralRe: question regarding operator overloading! Pin
Rahim Rattani30-May-05 20:45
Rahim Rattani30-May-05 20:45 
GeneralRe: question regarding operator overloading! Pin
S. Senthil Kumar30-May-05 21:58
S. Senthil Kumar30-May-05 21:58 
GeneralRe: question regarding operator overloading! Pin
namaskaaram30-May-05 22:53
namaskaaram30-May-05 22:53 
GeneralCListCtrl auto scrolling problem Pin
Imtiaz Murtaza30-May-05 19:53
Imtiaz Murtaza30-May-05 19:53 
GeneralRe: CListCtrl auto scrolling problem Pin
namaskaaram30-May-05 23:34
namaskaaram30-May-05 23:34 
GeneralImproper highlight on Tree Control Pin
laiju30-May-05 19:38
laiju30-May-05 19:38 
GeneralHelp with switching to module state (DLL) Pin
KnaveR77730-May-05 19:20
KnaveR77730-May-05 19:20 
GeneralVC++ Won't Use Correct Include Directories Pin
User 1278230-May-05 15:31
User 1278230-May-05 15:31 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
Christian Graus30-May-05 15:35
mveChristian Graus30-May-05 15:35 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
User 1278230-May-05 16:24
User 1278230-May-05 16:24 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
Ravi Bhavnani30-May-05 16:39
professionalRavi Bhavnani30-May-05 16:39 
GeneralRe: VC++ Won't Use Correct Include Directories Pin
User 1278231-May-05 14:26
User 1278231-May-05 14: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.