Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncommand promp windows Pin
locoone15-Jul-06 21:34
locoone15-Jul-06 21:34 
AnswerRe: command promp windows Pin
led mike16-Jul-06 20:09
led mike16-Jul-06 20:09 
AnswerRe: command promp windows Pin
David Crow17-Jul-06 3:36
David Crow17-Jul-06 3:36 
QuestionError C2533 - constructors does not allow a return type ...doesn't make sense Pin
jon-8015-Jul-06 21:07
professionaljon-8015-Jul-06 21:07 
AnswerRe: Error C2533 - constructors does not allow a return type ...doesn't make sense Pin
eusto15-Jul-06 22:04
eusto15-Jul-06 22:04 
QuestionDocumentation Pin
MozhdehQeraati15-Jul-06 20:54
MozhdehQeraati15-Jul-06 20:54 
QuestionOwnerDraw CTreeCtrl Pin
YaronNir15-Jul-06 20:30
YaronNir15-Jul-06 20:30 
QuestionRe: OwnerDraw CTreeCtrl Pin
Hamid_RT16-Jul-06 0:50
Hamid_RT16-Jul-06 0:50 
AnswerRe: OwnerDraw CTreeCtrl Pin
Gary R. Wheeler16-Jul-06 4:14
Gary R. Wheeler16-Jul-06 4:14 
QuestionHow to Adjust the dialog to align together? Pin
xuwenq8815-Jul-06 19:56
xuwenq8815-Jul-06 19:56 
AnswerRe: How to Adjust the dialog to align together? Pin
Hamid_RT16-Jul-06 0:50
Hamid_RT16-Jul-06 0:50 
GeneralRe: How to Adjust the dialog to align together? Pin
xuwenq8816-Jul-06 2:00
xuwenq8816-Jul-06 2:00 
GeneralRe: How to Adjust the dialog to align together? Pin
Hamid_RT16-Jul-06 2:56
Hamid_RT16-Jul-06 2:56 
GeneralRe: How to Adjust the dialog to align together? Pin
David Crow17-Jul-06 3:41
David Crow17-Jul-06 3:41 
AnswerRe: How to Adjust the dialog to align together? Pin
Gary R. Wheeler16-Jul-06 4:17
Gary R. Wheeler16-Jul-06 4:17 
GeneralRe: How to Adjust the dialog to align together? Pin
xuwenq8817-Jul-06 6:26
xuwenq8817-Jul-06 6:26 
GeneralRe: How to Adjust the dialog to align together? Pin
Gary R. Wheeler17-Jul-06 7:19
Gary R. Wheeler17-Jul-06 7:19 
QuestionGDI+ graphics->DrawLine erratic behavior?? Pin
KellyR15-Jul-06 19:14
KellyR15-Jul-06 19:14 
AnswerRe: GDI+ graphics->DrawLine erratic behavior?? Pin
Trollslayer15-Jul-06 20:00
mentorTrollslayer15-Jul-06 20:00 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
KellyR16-Jul-06 4:11
KellyR16-Jul-06 4:11 
AnswerRe: GDI+ graphics->DrawLine erratic behavior?? Pin
Hamid_RT16-Jul-06 1:51
Hamid_RT16-Jul-06 1:51 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
KellyR16-Jul-06 4:13
KellyR16-Jul-06 4:13 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
Hamid_RT16-Jul-06 9:34
Hamid_RT16-Jul-06 9:34 
AnswerRe: GDI+ graphics->DrawLine erratic behavior?? [modified] Pin
bob1697216-Jul-06 10:30
bob1697216-Jul-06 10:30 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
KellyR16-Jul-06 12:55
KellyR16-Jul-06 12:55 
The graphics object is a global, I allocate memory to it on program initialization from the heap, I tried freeing it and re-allocating it each time the draw is called and that seems to work. Just very strange since I do almost exactly the same thing, using a global graphics object (the code is practically copied and pasted) in another, much more complicated application I wrote last summer and I've never seen a problem in that one (and I use that program rigorously almost every day).

In any case, it works now, thanks!

Kelly Ryan

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.