Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem with IPicture-Object and Render Pin
masanne9-Jun-06 0:55
masanne9-Jun-06 0:55 
GeneralRe: Problem with IPicture-Object and Render Pin
Hamid_RT9-Jun-06 1:10
Hamid_RT9-Jun-06 1:10 
GeneralRe: Problem with IPicture-Object and Render Pin
masanne9-Jun-06 1:20
masanne9-Jun-06 1:20 
GeneralRe: Problem with IPicture-Object and Render Pin
Hamid_RT9-Jun-06 2:18
Hamid_RT9-Jun-06 2:18 
GeneralRe: Problem with IPicture-Object and Render [modified] Pin
masanne9-Jun-06 2:49
masanne9-Jun-06 2:49 
GeneralRe: Problem with IPicture-Object and Render [modified] Pin
masanne9-Jun-06 3:00
masanne9-Jun-06 3:00 
GeneralRe: Problem with IPicture-Object and Render Pin
Hamid_RT9-Jun-06 3:22
Hamid_RT9-Jun-06 3:22 
GeneralRe: Problem with IPicture-Object and Render Pin
masanne9-Jun-06 3:55
masanne9-Jun-06 3:55 
If include this code in GetImage()-Methode , it happens nothing
(no File under the path " C:\work\test\test.bmp".

HBITMAP hBmp = (HBITMAP)bmp.GetSafeHandle();<br />
CImage m_Image;<br />
m_Image.Attach(hBmp);<br />
m_Image.Save("C:\work\test\test.bmp");<br />
m_Image.Detach();


And if i include the follow code in the Application under OnBnClickedButton1

pPicture->get_Handle((OLE_HANDLE FAR *) &hBmp);<br />
<br />
<br />
CImage m_Image;<br />
m_Image.Attach(hBmp);<br />
m_Image.Save("C:\work\test\test.bmp");<br />
m_Image.Detach();


it happens nothing
(no File under the path " C:\work\test\test.bmp") and it comes to a error.
GeneralRe: Problem with IPicture-Object and Render Pin
Hamid_RT9-Jun-06 6:43
Hamid_RT9-Jun-06 6:43 
GeneralRe: Problem with IPicture-Object and Render Pin
masanne15-Jun-06 23:11
masanne15-Jun-06 23:11 
QuestionDoubt regarding the combo box Pin
Member 30398439-Jun-06 0:27
Member 30398439-Jun-06 0:27 
AnswerRe: Doubt regarding the combo box Pin
_AnsHUMAN_ 9-Jun-06 0:34
_AnsHUMAN_ 9-Jun-06 0:34 
AnswerRe: Doubt regarding the combo box Pin
Jesal Rana9-Jun-06 0:37
Jesal Rana9-Jun-06 0:37 
AnswerRe: Doubt regarding the combo box Pin
_AnsHUMAN_ 9-Jun-06 0:43
_AnsHUMAN_ 9-Jun-06 0:43 
GeneralRe: Doubt regarding the combo box Pin
Laxman Auti9-Jun-06 0:47
Laxman Auti9-Jun-06 0:47 
AnswerRe: Doubt regarding the combo box Pin
David Crow9-Jun-06 3:29
David Crow9-Jun-06 3:29 
QuestionReading order of the language of current locale Pin
Cool Ju9-Jun-06 0:13
Cool Ju9-Jun-06 0:13 
AnswerRe: Reading order of the language of current locale Pin
David Crow9-Jun-06 3:37
David Crow9-Jun-06 3:37 
GeneralRe: Reading order of the language of current locale Pin
Cool Ju11-Jun-06 19:14
Cool Ju11-Jun-06 19:14 
QuestionCOleControl? Pin
raghuji.rao8-Jun-06 23:45
raghuji.rao8-Jun-06 23:45 
QuestionHow do I open file excel in VC++. Pin
Vu Ngoc Quyen8-Jun-06 23:35
Vu Ngoc Quyen8-Jun-06 23:35 
AnswerRe: How do I open file excel in VC++. Pin
raghuji.rao8-Jun-06 23:42
raghuji.rao8-Jun-06 23:42 
GeneralRe: How do I open file excel in VC++. Pin
XalanXalan9-Jun-06 1:30
XalanXalan9-Jun-06 1:30 
GeneralRe: How do I open file excel in VC++. Pin
raghuji.rao9-Jun-06 22:18
raghuji.rao9-Jun-06 22:18 
QuestionRe: How do I open file excel in VC++. Pin
David Crow9-Jun-06 3:39
David Crow9-Jun-06 3:39 

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.