Click here to Skip to main content
15,066,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to copy from CBitmap to CBitmap Pin
ThatsAlok6-Jun-06 18:41
MemberThatsAlok6-Jun-06 18:41 
GeneralRe: How to copy from CBitmap to CBitmap Pin
Hamid_RT6-Jun-06 2:21
MemberHamid_RT6-Jun-06 2:21 
GeneralRe: How to copy from CBitmap to CBitmap Pin
ThatsAlok6-Jun-06 18:42
MemberThatsAlok6-Jun-06 18:42 
GeneralRe: How to copy from CBitmap to CBitmap Pin
Hamid_RT6-Jun-06 18:56
MemberHamid_RT6-Jun-06 18:56 
AnswerRe: How to copy from CBitmap to CBitmap Pin
ThatsAlok6-Jun-06 1:59
MemberThatsAlok6-Jun-06 1:59 
GeneralRe: How to copy from CBitmap to CBitmap Pin
gomez_a6-Jun-06 2:43
Membergomez_a6-Jun-06 2:43 
GeneralRe: How to copy from CBitmap to CBitmap Pin
Hamid_RT6-Jun-06 2:52
MemberHamid_RT6-Jun-06 2:52 
GeneralRe: How to copy from CBitmap to CBitmap Pin
gomez_a6-Jun-06 5:24
Membergomez_a6-Jun-06 5:24 
I wrote a class in MFC (MyClass : public CWnd), in this class I have a field
CBitmap mBitmap; // not a pointer
I set the bitmap using method:
SetBitmap(UINT nIDResource)
{
return m_Bitmap.LoadBitmap(nIDResource);
}
But now I want to set the bitmap using:
SetBitmap(CBitmap *pBitmap);

I don't know how to assign (change?) CBitmap *pBitmap to CBitmap mBitmap.
This is only a practice, but I want to understand it.

Regards

GeneralRe: How to copy from CBitmap to CBitmap Pin
Hamid_RT6-Jun-06 18:57
MemberHamid_RT6-Jun-06 18:57 
GeneralRe: How to copy from CBitmap to CBitmap Pin
gomez_a6-Jun-06 23:45
Membergomez_a6-Jun-06 23:45 
GeneralRe: How to copy from CBitmap to CBitmap Pin
Hamid_RT7-Jun-06 2:03
MemberHamid_RT7-Jun-06 2:03 
GeneralRe: How to copy from CBitmap to CBitmap Pin
ThatsAlok6-Jun-06 18:13
MemberThatsAlok6-Jun-06 18:13 
QuestionShared Memory Writing Pin
velayudhan_raj6-Jun-06 1:03
Membervelayudhan_raj6-Jun-06 1:03 
AnswerRe: Shared Memory Writing Pin
Laxman Auti6-Jun-06 1:13
MemberLaxman Auti6-Jun-06 1:13 
GeneralRe: Shared Memory Writing Pin
velayudhan_raj6-Jun-06 1:15
Membervelayudhan_raj6-Jun-06 1:15 
GeneralRe: Shared Memory Writing Pin
ThatsAlok6-Jun-06 1:57
MemberThatsAlok6-Jun-06 1:57 
AnswerRe: Shared Memory Writing Pin
Viorel.6-Jun-06 1:29
MemberViorel.6-Jun-06 1:29 
AnswerRe: Shared Memory Writing Pin
Hamid_RT6-Jun-06 1:41
MemberHamid_RT6-Jun-06 1:41 
AnswerRe: Shared Memory Writing Pin
James R. Twine6-Jun-06 3:13
MemberJames R. Twine6-Jun-06 3:13 
QuestionKernal32.lib .....Error at run Pin
zahid_ash6-Jun-06 0:55
Memberzahid_ash6-Jun-06 0:55 
AnswerRe: Kernal32.lib .....Error at run Pin
_AnsHUMAN_ 6-Jun-06 1:04
Member_AnsHUMAN_ 6-Jun-06 1:04 
QuestionRe: Kernal32.lib .....Error at run Pin
David Crow6-Jun-06 3:31
MemberDavid Crow6-Jun-06 3:31 
Questioncompiler creation Pin
c076-Jun-06 0:46
Memberc076-Jun-06 0:46 
AnswerRe: compiler creation Pin
Sarath C6-Jun-06 1:01
MemberSarath C6-Jun-06 1:01 
GeneralRe: compiler creation Pin
c076-Jun-06 4:00
Memberc076-Jun-06 4:00 

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.