Click here to Skip to main content
15,885,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: use CListCtrl to list thumbnail, using GDI+ Pin
followait1-Dec-07 23:46
followait1-Dec-07 23:46 
QuestionGDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 19:45
followait1-Dec-07 19:45 
AnswerRe: GDI+ Bitmap::GetHBITMAP error: Pin
Mark Salsbery1-Dec-07 20:00
Mark Salsbery1-Dec-07 20:00 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 20:06
followait1-Dec-07 20:06 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
Mark Salsbery1-Dec-07 20:09
Mark Salsbery1-Dec-07 20:09 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 20:17
followait1-Dec-07 20:17 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
Mark Salsbery1-Dec-07 20:23
Mark Salsbery1-Dec-07 20:23 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 20:30
followait1-Dec-07 20:30 
Yes, it's ok now. I'm just curious why the error can be report this way, maybe it's the compiler's problem.

Thanxxxxxxxxxxxxxxxxxx

<br />
CString FilePath=ff.GetFilePath();<br />
WCHAR *p=FilePath.AllocSysString();<br />
Bitmap bmp(p);<br />
::SysFreeString(p);<br />
Color clr(255,0,0,0);<br />
HBITMAP hBmp;<br />
bmp.GetHBITMAP(clr,&hBmp);<br />
CBitmap *pBmp=new CBitmap;<br />
pBmp->Attach(hBmp);<br />

GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
Mark Salsbery1-Dec-07 20:33
Mark Salsbery1-Dec-07 20:33 
QuestionWhat pointer do I pass to my display function Pin
sclaxplayer1-Dec-07 19:37
sclaxplayer1-Dec-07 19:37 
GeneralRe: What pointer do I pass to my display function Pin
Nelek4-Dec-07 21:13
protectorNelek4-Dec-07 21:13 
Questioninput both text as well as image Pin
keyto1-Dec-07 18:23
keyto1-Dec-07 18:23 
AnswerRe: input both text as well as image Pin
bob169721-Dec-07 19:40
bob169721-Dec-07 19:40 
QuestionWhere to initialize the dialog in CDialogBar? Pin
followait1-Dec-07 15:50
followait1-Dec-07 15:50 
AnswerRe: Where to initialize the dialog in CDialogBar? Pin
Mark Salsbery1-Dec-07 16:27
Mark Salsbery1-Dec-07 16:27 
AnswerRe: Where to initialize the dialog in CDialogBar? Pin
bob169721-Dec-07 17:36
bob169721-Dec-07 17:36 
AnswerRe: Where to initialize the dialog in CDialogBar? Pin
Mark Salsbery1-Dec-07 18:25
Mark Salsbery1-Dec-07 18:25 
GeneralRe: Where to initialize the dialog in CDialogBar? Pin
followait1-Dec-07 19:42
followait1-Dec-07 19:42 
Questionparameters vs members Pin
bob169721-Dec-07 14:06
bob169721-Dec-07 14:06 
AnswerRe: parameters vs members Pin
Mark Salsbery1-Dec-07 15:56
Mark Salsbery1-Dec-07 15:56 
GeneralRe: parameters vs members Pin
bob169721-Dec-07 17:14
bob169721-Dec-07 17:14 
QuestionHeader Wrapper Symbol Pin
steph51-Dec-07 11:21
steph51-Dec-07 11:21 
AnswerRe: Header Wrapper Symbol Pin
Bram van Kampen1-Dec-07 11:56
Bram van Kampen1-Dec-07 11:56 
AnswerRe: Header Wrapper Symbol Pin
bob169721-Dec-07 14:22
bob169721-Dec-07 14:22 
Questionreg: error C2440: 'specialization' : cannot convert from '' to ' (__cdecl *)(const char *)' [modified] Pin
naresh_t1-Dec-07 3:45
naresh_t1-Dec-07 3:45 

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.