Click here to Skip to main content
15,888,733 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionCrypto Formula Malfunction Pin
rawstar5-Sep-06 6:29
rawstar5-Sep-06 6:29 
AnswerRe: Crypto Formula Malfunction Pin
led mike5-Sep-06 6:44
led mike5-Sep-06 6:44 
QuestionMake executable file Pin
jucanpo5-Sep-06 6:08
jucanpo5-Sep-06 6:08 
AnswerRe: Make executable file Pin
toxcct5-Sep-06 6:16
toxcct5-Sep-06 6:16 
GeneralRe: Make executable file Pin
jucanpo5-Sep-06 6:23
jucanpo5-Sep-06 6:23 
GeneralRe: Make executable file Pin
toxcct5-Sep-06 21:31
toxcct5-Sep-06 21:31 
AnswerRe: Make executable file Pin
led mike5-Sep-06 6:28
led mike5-Sep-06 6:28 
QuestionGDI+ DrawPie problem? Bugs? Pin
moonreflection20005-Sep-06 5:23
moonreflection20005-Sep-06 5:23 
I've been trying to figure out what's the problem here. A simple GDI+ code to draw a pie.

GraphicsPath m_Paths;

Rect rc0(0, 0, 191, 191); // Give it a rectangle size of 191x191
m_Paths.AddPie(rc0, 180, 90); // Draw the pie at angle 180 with a sweep angle 90.
m_Paths.Flatten(NULL, 0.03f);

// Now if you draw the pie, there's a problem, it won't draw the verticle line at the end of the pie.

Pen myPen((ARGB) Color::Black, 1.0f);

Graphics g(pDC->GetSafeHdc());
g.DrawPath(&myPen, & m_Paths);

// If I don't use the Flatten or change it to
m_Paths.Flatten(NULL, 0.02f);

// or
m_Paths.Flatten(NULL, 0.04f);

// Both of these works. Just not the 0.03f.

What's the problem?
AnswerRe: GDI+ DrawPie problem? Bugs? Pin
Jun Du5-Sep-06 13:55
Jun Du5-Sep-06 13:55 
GeneralRe: GDI+ DrawPie problem? Bugs? Pin
moonreflection20006-Sep-06 10:17
moonreflection20006-Sep-06 10:17 
GeneralRe: GDI+ DrawPie problem? Bugs? Pin
Jun Du6-Sep-06 10:39
Jun Du6-Sep-06 10:39 
Questioncalling managed code from unmanaged code (vc6) Pin
Dragan Matic5-Sep-06 1:24
Dragan Matic5-Sep-06 1:24 
AnswerRe: calling managed code from unmanaged code (vc6) Pin
led mike5-Sep-06 9:50
led mike5-Sep-06 9:50 
GeneralRe: calling managed code from unmanaged code (vc6) Pin
Dragan Matic5-Sep-06 21:56
Dragan Matic5-Sep-06 21:56 
GeneralRe: calling managed code from unmanaged code (vc6) Pin
led mike6-Sep-06 5:16
led mike6-Sep-06 5:16 
QuestionIcon information?? Pin
Sgg2453-Sep-06 19:12
Sgg2453-Sep-06 19:12 
AnswerRe: Icon information?? [modified] Pin
WillemM4-Sep-06 5:29
WillemM4-Sep-06 5:29 
Questionwhat is the implementation? Pin
robeelyn2-Sep-06 5:02
robeelyn2-Sep-06 5:02 
AnswerRe: what is the implementation? Pin
Jun Du2-Sep-06 5:44
Jun Du2-Sep-06 5:44 
GeneralRe: what is the implementation? Pin
bryce20-Sep-06 19:22
bryce20-Sep-06 19:22 
QuestionTricky bug in a VC 8.0 compiler (preprocessor) [modified] Pin
FilipStrugar1-Sep-06 15:32
FilipStrugar1-Sep-06 15:32 
AnswerRe: Tricky bug in a VC 8.0 compiler (preprocessor) Pin
FilipStrugar2-Sep-06 12:07
FilipStrugar2-Sep-06 12:07 
Questiongmtime on WinCE giving local time Pin
dummy80831-Aug-06 18:10
dummy80831-Aug-06 18:10 
QuestionDeclaring a String object as an automatic variable Pin
juju_hli31-Aug-06 8:41
juju_hli31-Aug-06 8:41 
AnswerRe: Declaring a String object as an automatic variable Pin
Nish Nishant31-Aug-06 9:00
sitebuilderNish Nishant31-Aug-06 9:00 

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.