Click here to Skip to main content
15,917,926 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: getting the class members to pop up? Pin
Vaclav_31-May-07 16:36
Vaclav_31-May-07 16:36 
QuestionUnicode setting bby default in IDE Pin
tom groezer31-May-07 5:10
tom groezer31-May-07 5:10 
AnswerRe: Unicode setting bby default in IDE Pin
toxcct31-May-07 5:27
toxcct31-May-07 5:27 
Questiondisplaying png's with GDI+ Pin
Adno31-May-07 4:58
Adno31-May-07 4:58 
AnswerRe: displaying png's with GDI+ Pin
Jun Du31-May-07 5:09
Jun Du31-May-07 5:09 
QuestionRe: displaying png's with GDI+ Pin
Mark Salsbery31-May-07 6:15
Mark Salsbery31-May-07 6:15 
AnswerRe: displaying png's with GDI+ Pin
Adno31-May-07 15:04
Adno31-May-07 15:04 
GeneralRe: displaying png's with GDI+ Pin
Mark Salsbery31-May-07 15:16
Mark Salsbery31-May-07 15:16 
Lamefif wrote:
keept crashing at runtime, when i put the code above in a method


hmm It was something else probably.

You can make GDI+ calls anywhere (of course, all the usual thread safety issues apply if you're
using multiple threads).

If you're using GDI+ extensively, you can do the GdiplusStartup() just once - main/winmain is
fine - and call GdiplusShutdown() just once after all drawing is done - just before returning
from main/winmain is fine.

If you have trouble in other functions you can always post related sample code here Smile | :)

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

QuestionRe: displaying png's with GDI+ Pin
Hamid_RT31-May-07 18:39
Hamid_RT31-May-07 18:39 
QuestionHow to Upload (.doc) file in MySQL Database Pin
Y_Kaushik31-May-07 4:45
Y_Kaushik31-May-07 4:45 
AnswerRe: How to Upload (.doc) file in MySQL Database Pin
David Crow31-May-07 5:03
David Crow31-May-07 5:03 
Generalhiding a console app Pin
Rage31-May-07 4:04
professionalRage31-May-07 4:04 
GeneralRe: hiding a console app Pin
toxcct31-May-07 4:12
toxcct31-May-07 4:12 
GeneralRe: hiding a console app Pin
Rage31-May-07 4:22
professionalRage31-May-07 4:22 
GeneralRe: hiding a console app Pin
toxcct31-May-07 4:28
toxcct31-May-07 4:28 
GeneralRe: hiding a console app Pin
Rage31-May-07 5:22
professionalRage31-May-07 5:22 
GeneralRe: hiding a console app Pin
toxcct31-May-07 5:24
toxcct31-May-07 5:24 
GeneralRe: hiding a console app Pin
Matthew Faithfull31-May-07 5:04
Matthew Faithfull31-May-07 5:04 
GeneralRe: hiding a console app Pin
Rage31-May-07 5:22
professionalRage31-May-07 5:22 
GeneralRe: hiding a console app Pin
Matthew Faithfull31-May-07 5:49
Matthew Faithfull31-May-07 5:49 
GeneralRe: hiding a console app Pin
tom groezer31-May-07 5:24
tom groezer31-May-07 5:24 
QuestionDisplaying help popup under the control in VC++ Pin
Merryla Martina31-May-07 3:49
Merryla Martina31-May-07 3:49 
QuestionTranslateAccelerator doubt Pin
tom groezer31-May-07 3:36
tom groezer31-May-07 3:36 
AnswerRe: TranslateAccelerator doubt Pin
toxcct31-May-07 3:40
toxcct31-May-07 3:40 
AnswerRe: TranslateAccelerator doubt Pin
Rajkumar R1-Jun-07 2:54
Rajkumar R1-Jun-07 2:54 

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.