Click here to Skip to main content
15,918,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWord Document Automation in MFC Pin
Andre123424-Nov-03 6:02
Andre123424-Nov-03 6:02 
Generalusing serverxmlhttp from a service or existing process Pin
noahsarf24-Nov-03 5:52
noahsarf24-Nov-03 5:52 
GeneralReturning a 2 dimensional array from function Pin
IrishSonic24-Nov-03 5:24
IrishSonic24-Nov-03 5:24 
GeneralRe: Returning a 2 dimensional array from function Pin
jason9924-Nov-03 5:27
jason9924-Nov-03 5:27 
GeneralRe: Returning a 2 dimensional array from function Pin
David Crow24-Nov-03 5:30
David Crow24-Nov-03 5:30 
GeneralQuestion about CImageList.ExtractIcon(),thanks! Pin
Anonymous24-Nov-03 5:06
Anonymous24-Nov-03 5:06 
GeneralRe: Question about CImageList.ExtractIcon(),thanks! Pin
Roger Allen24-Nov-03 5:39
Roger Allen24-Nov-03 5:39 
GeneralRe: Question about CImageList.ExtractIcon(),thanks! Pin
YanBin24-Nov-03 6:04
YanBin24-Nov-03 6:04 
HICON nIcon;
nIcon=images.ExtractIcon(0);
if(!nIcon) AfxMessageBox("Icon NULL");
Bitmap bp(nIcon); //Bitmap is GDI+ class
graphics->DrawImage(&bp,(float)x1-8.0f,(float)y1-8.0f,16.0f,16.0f);
delete &bp;
DestroyIcon(nIcon);

Upwords code,memory leak out,all the same .why?

Thanks,I'm the Anonymous member just now.

VC/MFC fans.
GeneralRe: Question about CImageList.ExtractIcon(),thanks! Pin
Roger Allen24-Nov-03 6:43
Roger Allen24-Nov-03 6:43 
GeneralRe: Question about CImageList.ExtractIcon(),thanks! Pin
David Crow24-Nov-03 5:50
David Crow24-Nov-03 5:50 
GeneralRe: Question about CImageList.ExtractIcon(),thanks! Pin
YanBin24-Nov-03 15:40
YanBin24-Nov-03 15:40 
GeneralRe: Question about CImageList.ExtractIcon(),thanks! Pin
David Crow25-Nov-03 2:43
David Crow25-Nov-03 2:43 
GeneralMulti-threading problem Pin
BHulme24-Nov-03 4:57
BHulme24-Nov-03 4:57 
GeneralRe: Multi-threading problem Pin
valikac24-Nov-03 5:39
valikac24-Nov-03 5:39 
GeneralRe: Multi-threading problem Pin
BHulme24-Nov-03 6:30
BHulme24-Nov-03 6:30 
GeneralRe: Multi-threading problem Pin
John M. Drescher24-Nov-03 5:58
John M. Drescher24-Nov-03 5:58 
GeneralRe: Multi-threading problem Pin
David Crow24-Nov-03 6:00
David Crow24-Nov-03 6:00 
GeneralRe: Multi-threading problem Pin
John M. Drescher24-Nov-03 6:02
John M. Drescher24-Nov-03 6:02 
GeneralRe: Multi-threading problem Pin
BHulme24-Nov-03 6:23
BHulme24-Nov-03 6:23 
GeneralRe: Multi-threading problem Pin
John M. Drescher24-Nov-03 6:30
John M. Drescher24-Nov-03 6:30 
GeneralRe: Multi-threading problem Pin
John M. Drescher24-Nov-03 7:04
John M. Drescher24-Nov-03 7:04 
Generalterminating thread in button on-event Pin
jason9924-Nov-03 4:54
jason9924-Nov-03 4:54 
GeneralRe: terminating thread in button on-event Pin
David Crow24-Nov-03 5:15
David Crow24-Nov-03 5:15 
GeneralRe: terminating thread in button on-event Pin
jason9924-Nov-03 5:25
jason9924-Nov-03 5:25 
GeneralRe: terminating thread in button on-event Pin
David Crow24-Nov-03 5:46
David Crow24-Nov-03 5:46 

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.