Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
ForNow5-Mar-13 2:09
ForNow5-Mar-13 2:09 
AnswerRe: CFileDialog Problem breakpoint int 3 Pin
Albert Holguin5-Mar-13 10:00
professionalAlbert Holguin5-Mar-13 10:00 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
ForNow5-Mar-13 10:15
ForNow5-Mar-13 10:15 
AnswerRe: CFileDialog Problem breakpoint int 3 Pin
Richard MacCutchan4-Mar-13 23:04
mveRichard MacCutchan4-Mar-13 23:04 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
ForNow5-Mar-13 2:12
ForNow5-Mar-13 2:12 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
Richard MacCutchan5-Mar-13 3:20
mveRichard MacCutchan5-Mar-13 3:20 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
ForNow5-Mar-13 4:57
ForNow5-Mar-13 4:57 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
Richard MacCutchan5-Mar-13 5:59
mveRichard MacCutchan5-Mar-13 5:59 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
ForNow5-Mar-13 6:04
ForNow5-Mar-13 6:04 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
Richard MacCutchan5-Mar-13 6:18
mveRichard MacCutchan5-Mar-13 6:18 
SuggestionRe: CFileDialog Problem breakpoint int 3 Pin
David Crow5-Mar-13 6:05
David Crow5-Mar-13 6:05 
QuestionRe: CFileDialog Problem breakpoint int 3 Pin
David Crow5-Mar-13 3:58
David Crow5-Mar-13 3:58 
QuestionRe: CFileDialog Problem breakpoint int 3 Pin
David Crow5-Mar-13 4:03
David Crow5-Mar-13 4:03 
AnswerRe: CFileDialog Problem breakpoint int 3 Pin
ForNow5-Mar-13 5:41
ForNow5-Mar-13 5:41 
QuestionRe: CFileDialog Problem breakpoint int 3 Pin
David Crow5-Mar-13 6:05
David Crow5-Mar-13 6:05 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
AbbeytekMD6-Mar-13 0:24
AbbeytekMD6-Mar-13 0:24 
GeneralRe: CFileDialog Problem breakpoint int 3 Pin
David Crow6-Mar-13 3:22
David Crow6-Mar-13 3:22 
QuestionDirectShow is "no show so far" - need basic help Pin
Vaclav_4-Mar-13 7:18
Vaclav_4-Mar-13 7:18 
AnswerRe: DirectShow is "no show so far" - need basic help Pin
Richard MacCutchan4-Mar-13 22:57
mveRichard MacCutchan4-Mar-13 22:57 
AnswerRe: DirectShow is "no show so far" - need basic help Pin
SoMad4-Mar-13 23:49
professionalSoMad4-Mar-13 23:49 
GeneralJUST update Re: DirectShow is "no show so far" - need basic help Pin
Vaclav_7-Mar-13 5:03
Vaclav_7-Mar-13 5:03 
QuestionHow to adjust Bitmap onto a picture control in mfc.? Pin
mbatra314-Mar-13 2:01
mbatra314-Mar-13 2:01 
Hi,

I have Dialog in a Property Sheet. I have a picture control on that dialog box. I have a Bitmap which I want to use on that Picture control. I am using the below code for this part:
C#
if(::IsWindow(m_CapScreen.m_hWnd ))
{
    tempbmp.LoadBitmapW(IDB_BMP_VIDEO_SCREEN_BOX);
    tempbmp.GetBitmap (&bm);
    m_CapScreen.MoveWindow( rt.left + 51, rt.top + 25, m.bmWidth, bm.bmHeight, 1 );
    tempbmp.DeleteObject();
}


where m_CapScreen in a variable declared for picture control.

When I change the position of the picture control, the Bitmap Image doesn't move with the picture control. It will remain at a fixed position.

The "Type" property of Picture control is set to "Frame".

Any help will be appreciated.

Regards,
Mbatra
AnswerRe: How to adjust Bitmap onto a picture control in mfc.? Pin
Richard MacCutchan4-Mar-13 23:09
mveRichard MacCutchan4-Mar-13 23:09 
GeneralRe: How to adjust Bitmap onto a picture control in mfc.? Pin
mbatra314-Mar-13 23:15
mbatra314-Mar-13 23:15 
GeneralRe: How to adjust Bitmap onto a picture control in mfc.? Pin
Richard MacCutchan5-Mar-13 0:26
mveRichard MacCutchan5-Mar-13 0: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.