Click here to Skip to main content
15,122,406 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to keep track when a dialog is invoked second time.? Pin
mbatra3119-Oct-12 0:53
Membermbatra3119-Oct-12 0:53 
AnswerRe: How to keep track when a dialog is invoked second time.? Pin
Sivaraman Dhamodharan19-Oct-12 1:07
MemberSivaraman Dhamodharan19-Oct-12 1:07 
GeneralRe: How to keep track when a dialog is invoked second time.? Pin
mbatra3119-Oct-12 1:12
Membermbatra3119-Oct-12 1:12 
AnswerRe: How to keep track when a dialog is invoked second time.? Pin
Jochen Arndt19-Oct-12 1:31
professionalJochen Arndt19-Oct-12 1:31 
AnswerRe: How to keep track when a dialog is invoked second time.? Pin
ThatsAlok19-Oct-12 3:03
MemberThatsAlok19-Oct-12 3:03 
AnswerRe: How to keep track when a dialog is invoked second time.? Pin
Sajeesh Payolam19-Oct-12 21:51
MemberSajeesh Payolam19-Oct-12 21:51 
QuestionHow to use a png or jpg in visual studio? Pin
DanYELL18-Oct-12 17:12
MemberDanYELL18-Oct-12 17:12 
AnswerRe: How to use a png or jpg in visual studio? Pin
Santhosh G_18-Oct-12 21:17
MemberSanthosh G_18-Oct-12 21:17 
If you can use GdiPlus library, Gdiplus::Bitmap can be used to load png and jpeg images.
You need to copy RGB data from jpg or png file to your picture control.

Please Note: GDI+ initialisation is required at startup of the application.
C++
// Initialization of GDI+ library.
// GDI+ is used for loading images of different file format.
Gdiplus::GdiplusStartupInput gdiplusStartupInput;
Gdiplus::GdiplusStartup(&m_gdiplusToken, &gdiplusStartupInput, NULL);


Gdiplus::Bitmap::FromStream() can be uised to create Bitmap from resource data.


Loading JPG & PNG resources using GDI+[^]

modified 19-Oct-12 4:01am.

Question[Solved] How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Skippums18-Oct-12 13:38
MemberSkippums18-Oct-12 13:38 
AnswerRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Richard MacCutchan19-Oct-12 0:18
mveRichard MacCutchan19-Oct-12 0:18 
GeneralRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Skippums19-Oct-12 8:07
MemberSkippums19-Oct-12 8:07 
GeneralRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Richard MacCutchan19-Oct-12 23:23
mveRichard MacCutchan19-Oct-12 23:23 
QuestionUsing Make - text books / references wanted Pin
Vaclav_18-Oct-12 5:47
MemberVaclav_18-Oct-12 5:47 
AnswerRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 8:10
mveRichard MacCutchan18-Oct-12 8:10 
GeneralRe: Using Make - text books / references wanted Pin
Vaclav_18-Oct-12 8:31
MemberVaclav_18-Oct-12 8:31 
GeneralRe: Using Make - text books / references wanted Pin
Chris Meech18-Oct-12 9:03
MemberChris Meech18-Oct-12 9:03 
GeneralRe: Using Make - text books / references wanted Pin
Richard MacCutchan19-Oct-12 0:07
mveRichard MacCutchan19-Oct-12 0:07 
GeneralRe: Using Make - text books / references wanted Pin
Richard MacCutchan19-Oct-12 0:00
mveRichard MacCutchan19-Oct-12 0:00 
AnswerRe: Using Make - text books / references wanted Pin
jschell18-Oct-12 10:31
Memberjschell18-Oct-12 10:31 
GeneralRe: Using Make - text books / references wanted Pin
Vaclav_19-Oct-12 6:53
MemberVaclav_19-Oct-12 6:53 
QuestionCPrintDialog doesn't see the printer Pin
blackbolek18-Oct-12 4:24
Memberblackbolek18-Oct-12 4:24 
QuestionRe: CPrintDialog doesn't see the printer Pin
David Crow18-Oct-12 8:28
MemberDavid Crow18-Oct-12 8:28 
AnswerRe: CPrintDialog doesn't see the printer Pin
blackbolek18-Oct-12 23:02
Memberblackbolek18-Oct-12 23:02 
AnswerRe: CPrintDialog doesn't see the printer Pin
Brandon-X1200027-Oct-12 12:34
MemberBrandon-X1200027-Oct-12 12:34 
GeneralRe: CPrintDialog doesn't see the printer Pin
blackbolek29-Oct-12 6:58
Memberblackbolek29-Oct-12 6:58 

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.