Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Force WM_COMMAND Pin
ThatsAlok20-Jul-06 23:11
ThatsAlok20-Jul-06 23:11 
QuestionRead Lippman C++ Primer - what next? Pin
brett5432120-Jul-06 10:06
brett5432120-Jul-06 10:06 
AnswerRe: Read Lippman C++ Primer - what next? Pin
led mike20-Jul-06 10:57
led mike20-Jul-06 10:57 
AnswerRe: Read Lippman C++ Primer - what next? Pin
earl20-Jul-06 11:55
earl20-Jul-06 11:55 
AnswerRe: Read Lippman C++ Primer - what next? Pin
Christian Graus20-Jul-06 16:45
protectorChristian Graus20-Jul-06 16:45 
GeneralRe: Read Lippman C++ Primer - what next? Pin
brett5432120-Jul-06 21:25
brett5432120-Jul-06 21:25 
AnswerRe: Read Lippman C++ Primer - what next? Pin
ThatsAlok20-Jul-06 23:17
ThatsAlok20-Jul-06 23:17 
QuestionPicture Control to load BMP Pin
goodoljosh198020-Jul-06 9:22
goodoljosh198020-Jul-06 9:22 
What am I missing to show a BMP correclty using the CStatic variable assigned to a Picture Control through MFC...

BITMAP test;
CBitmap m_bitmap;
HBITMAP m_hbitmap;

m_bitmap.LoadBitmap(IDB_BITMAP1);
m_bitmap.GetBitmap(&test);
m_hbitmap = m_bitmap.operator HBITMAP();

m_S1S2_Arrow.MoveWindow(40,50,test.bmWidth,test.bmHeight,1);
m_S1S2_Arrow.SetBitmap(m_hbitmap);
m_S1S2.Arrow.ShowWindow(1);

I would presume that the BMP would be loaded in and shown at this point, but I get nothing back. Any ideas would be great. Thanks so much.


QuestionRe: Picture Control to load BMP Pin
David Crow20-Jul-06 10:41
David Crow20-Jul-06 10:41 
AnswerRe: Picture Control to load BMP Pin
goodoljosh198021-Jul-06 0:55
goodoljosh198021-Jul-06 0:55 
QuestionCan I get a GMail invite? Pin
Warren Stevens20-Jul-06 7:43
Warren Stevens20-Jul-06 7:43 
AnswerRe: Can I get a GMail invite? Pin
toxcct20-Jul-06 7:48
toxcct20-Jul-06 7:48 
GeneralRe: Can I get a GMail invite? Pin
ThatsAlok20-Jul-06 23:23
ThatsAlok20-Jul-06 23:23 
GeneralRe: Can I get a GMail invite? Pin
toxcct20-Jul-06 23:29
toxcct20-Jul-06 23:29 
GeneralRe: Can I get a GMail invite? Pin
ThatsAlok20-Jul-06 23:37
ThatsAlok20-Jul-06 23:37 
GeneralRe: Can I get a GMail invite? Pin
ThatsAlok20-Jul-06 23:37
ThatsAlok20-Jul-06 23:37 
GeneralRe: Can I get a GMail invite? Pin
toxcct20-Jul-06 23:39
toxcct20-Jul-06 23:39 
GeneralRe: Can I get a GMail invite? Pin
ThatsAlok20-Jul-06 23:53
ThatsAlok20-Jul-06 23:53 
GeneralRe: Can I get a GMail invite? Pin
toxcct20-Jul-06 23:57
toxcct20-Jul-06 23:57 
AnswerRe: Can I get a GMail invite? Pin
ThatsAlok20-Jul-06 23:11
ThatsAlok20-Jul-06 23:11 
QuestionFile downloader (C++) [modified] Pin
Asesh20-Jul-06 7:35
Asesh20-Jul-06 7:35 
AnswerRe: File downloader (C++) Pin
led mike20-Jul-06 9:30
led mike20-Jul-06 9:30 
AnswerRe: File downloader (C++) Pin
Michael Dunn20-Jul-06 10:28
sitebuilderMichael Dunn20-Jul-06 10:28 
AnswerRe: File downloader (C++) Pin
ThatsAlok20-Jul-06 23:25
ThatsAlok20-Jul-06 23:25 
Questionhow to store float number (4 bytes) to a byte array Pin
mmhu20-Jul-06 7:30
mmhu20-Jul-06 7:30 

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.