Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMap, CString and pointers... Pin
John R. Shaw11-Mar-07 19:30
John R. Shaw11-Mar-07 19:30 
GeneralRe: CMap, CString and pointers... Pin
John R. Shaw11-Mar-07 19:36
John R. Shaw11-Mar-07 19:36 
GeneralRe: CMap, CString and pointers... Pin
John R. Shaw11-Mar-07 22:40
John R. Shaw11-Mar-07 22:40 
GeneralRe: CMap, CString and pointers... Pin
John R. Shaw11-Mar-07 23:04
John R. Shaw11-Mar-07 23:04 
GeneralSTART HERE please. Pin
devvvy12-Mar-07 22:07
devvvy12-Mar-07 22:07 
QuestionRe: CMap, CString and pointers... Pin
prasad_som11-Mar-07 18:37
prasad_som11-Mar-07 18:37 
AnswerRe: CMap, CString and pointers... Pin
prasad_som11-Mar-07 18:49
prasad_som11-Mar-07 18:49 
QuestionHow to convert a html to bmp? Pin
yeahe8311-Mar-07 16:16
yeahe8311-Mar-07 16:16 
First come....;)
Hello, I have a question....

I try to convert a html to bmp.
(First of all, put the html file in a WebBrowser, and then paint to a bmp.)

The html file is big, when convert,
there is a warning - the memory is not enough.

Maybe I should try to part the html file.
I donnot know which function can do this....

e.g,

I tried those functions below, but show memory error......

SendMessage(
hw, // Handle of webBrowser
WM_PRINT,
(WPARAM)bmp->Canvas->Handle,
PRF_CHILDREN | PRF_CLIENT | PRF_ERASEBKGND | PRF_OWNED
);

pViewObject->Draw(
DVASPECT_CONTENT,
1,
NULL,
NULL,
hw, // Handle of webBrowser
bmp->Canvas->Handle,
(LPRECTL)&Rect,
NULL,
NULL,
0
);

e.g,

English is hard to learn... Dead | X|
AnswerRe: How to convert a html to bmp? Pin
John R. Shaw11-Mar-07 17:05
John R. Shaw11-Mar-07 17:05 
QuestionRe: How to convert a html to bmp? Pin
Hamid_RT11-Mar-07 18:57
Hamid_RT11-Mar-07 18:57 
GeneralRe: How to convert a html to bmp? Pin
yeahe8311-Mar-07 19:34
yeahe8311-Mar-07 19:34 
GeneralRe: How to convert a html to bmp? Pin
John R. Shaw11-Mar-07 20:23
John R. Shaw11-Mar-07 20:23 
GeneralRe: How to convert a html to bmp? Pin
yeahe8311-Mar-07 21:38
yeahe8311-Mar-07 21:38 
GeneralRe: How to convert a html to bmp? Pin
John R. Shaw11-Mar-07 23:22
John R. Shaw11-Mar-07 23:22 
AnswerRe: How to convert a html to bmp? Pin
ThatsAlok11-Mar-07 22:18
ThatsAlok11-Mar-07 22:18 
GeneralRe: How to convert a html to bmp? Pin
yeahe8312-Mar-07 23:53
yeahe8312-Mar-07 23:53 
QuestionMFC problem Pin
Ali Tavakol11-Mar-07 15:07
Ali Tavakol11-Mar-07 15:07 
AnswerRe: MFC problem Pin
Stephen Hewitt11-Mar-07 16:04
Stephen Hewitt11-Mar-07 16:04 
GeneralRe: MFC problem Pin
John R. Shaw11-Mar-07 17:20
John R. Shaw11-Mar-07 17:20 
Questionchar* p and char *p ....Difference ? Pin
Software_Specialist11-Mar-07 14:00
Software_Specialist11-Mar-07 14:00 
AnswerRe: char* p and char *p ....Difference ? Pin
Mike_V11-Mar-07 14:10
Mike_V11-Mar-07 14:10 
GeneralRe: char* p and char *p ....Difference ? Pin
Software_Specialist11-Mar-07 14:23
Software_Specialist11-Mar-07 14:23 
GeneralRe: char* p and char *p ....Difference ? Pin
Mike_V11-Mar-07 13:44
Mike_V11-Mar-07 13:44 
GeneralRe: char* p and char *p ....Difference ? Pin
John R. Shaw11-Mar-07 15:22
John R. Shaw11-Mar-07 15:22 
GeneralRe: char* p and char *p ....Difference ? Pin
Mike_V11-Mar-07 15:26
Mike_V11-Mar-07 15:26 

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.