Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAVI file to play using Animation control Pin
YUANGE30-Apr-07 20:51
YUANGE30-Apr-07 20:51 
AnswerRe: AVI file to play using Animation control Pin
Hamid_RT30-Apr-07 21:34
Hamid_RT30-Apr-07 21:34 
GeneralRe: AVI file to play using Animation control Pin
YUANGE30-Apr-07 21:52
YUANGE30-Apr-07 21:52 
GeneralRe: AVI file to play using Animation control Pin
Hamid_RT1-May-07 5:29
Hamid_RT1-May-07 5:29 
GeneralRe: AVI file to play using Animation control Pin
Mark Salsbery1-May-07 6:01
Mark Salsbery1-May-07 6:01 
GeneralRe: AVI file to play using Animation control Pin
YUANGE2-May-07 7:02
YUANGE2-May-07 7:02 
GeneralRe: AVI file to play using Animation control Pin
Mark Salsbery2-May-07 9:40
Mark Salsbery2-May-07 9:40 
QuestionDisplay Bitmap By adding resource VC++ 2003 MFC Pin
YUANGE30-Apr-07 20:36
YUANGE30-Apr-07 20:36 
Hi guys,

I have tried to add a bitmap on my picture control using the add resource method.

this is the code that i place on my button the display the bitmap.

void CPictureDlg::OnBnClickedOk()
{
// TODO: Add your control notification handler code here
CBitmap Bmp;
Bmp.LoadBitmap(IDB_BITMAP1);
m_pic.SetBitmap(Bmp);

}



However no picture was display on the picture control please advice..

Thanks in advance.


AnswerRe: Display Bitmap By adding resource VC++ 2003 MFC Pin
John R. Shaw30-Apr-07 21:14
John R. Shaw30-Apr-07 21:14 
GeneralRe: Display Bitmap By adding resource VC++ 2003 MFC Pin
YUANGE30-Apr-07 21:27
YUANGE30-Apr-07 21:27 
AnswerRe: Display Bitmap By adding resource VC++ 2003 MFC Pin
Hamid_RT30-Apr-07 21:28
Hamid_RT30-Apr-07 21:28 
QuestionDynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 18:04
C_Zealot30-Apr-07 18:04 
AnswerRe: Dynamic memory allocation revisited. Pin
David Nash30-Apr-07 18:38
David Nash30-Apr-07 18:38 
GeneralRe: Dynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 19:34
C_Zealot30-Apr-07 19:34 
AnswerRe: Dynamic memory allocation revisited. Pin
Eytukan30-Apr-07 19:25
Eytukan30-Apr-07 19:25 
GeneralRe: Dynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 19:37
C_Zealot30-Apr-07 19:37 
GeneralRe: Dynamic memory allocation revisited. Pin
Eytukan30-Apr-07 20:37
Eytukan30-Apr-07 20:37 
GeneralRe: Dynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 20:39
C_Zealot30-Apr-07 20:39 
AnswerRe: Dynamic memory allocation revisited. Pin
John R. Shaw30-Apr-07 22:37
John R. Shaw30-Apr-07 22:37 
GeneralRe: Dynamic memory allocation revisited. Pin
C_Zealot30-Apr-07 22:40
C_Zealot30-Apr-07 22:40 
Questionscanf () loop question. Pin
C_Zealot30-Apr-07 17:24
C_Zealot30-Apr-07 17:24 
AnswerRe: scanf () loop question. Question withdrawn Pin
C_Zealot30-Apr-07 17:51
C_Zealot30-Apr-07 17:51 
GeneralRe: scanf () loop question. Question withdrawn Pin
Eytukan30-Apr-07 21:58
Eytukan30-Apr-07 21:58 
GeneralRe: scanf () loop question. Question withdrawn Pin
C_Zealot30-Apr-07 22:29
C_Zealot30-Apr-07 22:29 
GeneralRe: scanf () loop question. Question withdrawn Pin
James R. Twine1-May-07 2:34
James R. Twine1-May-07 2:34 

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.