Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Print Event Pin
Green Fuze9-Apr-09 2:01
Green Fuze9-Apr-09 2:01 
GeneralRe: Print Event Pin
Iain Clarke, Warrior Programmer9-Apr-09 2:40
Iain Clarke, Warrior Programmer9-Apr-09 2:40 
GeneralRe: Print Event Pin
Green Fuze9-Apr-09 3:26
Green Fuze9-Apr-09 3:26 
QuestionCLR Linking takes long time Pin
KASR19-Apr-09 0:23
KASR19-Apr-09 0:23 
AnswerRe: CLR Linking takes long time Pin
Rajesh R Subramanian9-Apr-09 0:48
professionalRajesh R Subramanian9-Apr-09 0:48 
GeneralRe: CLR Linking takes long time Pin
CPallini9-Apr-09 5:27
mveCPallini9-Apr-09 5:27 
QuestionWhy the copy construct of GraphicsPath is protected? Pin
followait9-Apr-09 0:18
followait9-Apr-09 0:18 
AnswerRe: Why the copy construct of GraphicsPath is protected? Pin
Iain Clarke, Warrior Programmer9-Apr-09 1:45
Iain Clarke, Warrior Programmer9-Apr-09 1:45 
I imagine it's because GDI classes just wrap a raw handle to the object inside Gdiplus.dll. The constructor creates the handle, and the destructor closes it. As there's no hint of reference counting, copying the classes is just begging for errors.

This protects you.

I've been doing a bunch of GDI+ work recently, and what I did in some code I wrote yesterday was:
BOOL CreateArrowCap (GraphicsPath &path, float fSize)
{
...
}


I used the reference rather than a pointer, as it makes little sense to pass NULL. But it would be valid in other circumstances.

Iain.

In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

Questioncompression/Zip problem Pin
chandrakar ashish9-Apr-09 0:01
chandrakar ashish9-Apr-09 0:01 
AnswerRe: compression/Zip problem Pin
Hamid_RT9-Apr-09 0:05
Hamid_RT9-Apr-09 0:05 
GeneralRe: compression/Zip problem Pin
chandrakar ashish9-Apr-09 1:23
chandrakar ashish9-Apr-09 1:23 
GeneralRe: compression/Zip problem Pin
Rajesh R Subramanian9-Apr-09 1:31
professionalRajesh R Subramanian9-Apr-09 1:31 
GeneralRe: compression/Zip problem Pin
chandrakar ashish9-Apr-09 1:39
chandrakar ashish9-Apr-09 1:39 
AnswerRe: compression/Zip problem Pin
Rajesh R Subramanian9-Apr-09 0:44
professionalRajesh R Subramanian9-Apr-09 0:44 
AnswerRe: compression/Zip problem Pin
Divyang Mithaiwala9-Apr-09 0:54
Divyang Mithaiwala9-Apr-09 0:54 
Questionpointer casting Pin
Jorge8-Apr-09 23:48
Jorge8-Apr-09 23:48 
QuestionRe: pointer casting Pin
CPallini8-Apr-09 23:55
mveCPallini8-Apr-09 23:55 
AnswerRe: pointer casting Pin
Jorge9-Apr-09 0:07
Jorge9-Apr-09 0:07 
GeneralRe: pointer casting Pin
CPallini9-Apr-09 0:45
mveCPallini9-Apr-09 0:45 
GeneralRe: pointer casting Pin
Rajesh R Subramanian9-Apr-09 1:19
professionalRajesh R Subramanian9-Apr-09 1:19 
GeneralRe: pointer casting Pin
CPallini9-Apr-09 1:55
mveCPallini9-Apr-09 1:55 
GeneralRe: pointer casting Pin
Rajesh R Subramanian9-Apr-09 2:09
professionalRajesh R Subramanian9-Apr-09 2:09 
GeneralRe: pointer casting Pin
Jorge9-Apr-09 1:37
Jorge9-Apr-09 1:37 
AnswerRe: pointer casting Pin
Rajesh R Subramanian9-Apr-09 0:38
professionalRajesh R Subramanian9-Apr-09 0:38 
GeneralRe: pointer casting Pin
Jorge9-Apr-09 1:08
Jorge9-Apr-09 1:08 

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.