Click here to Skip to main content
15,889,842 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Enumerate threads in Process? Pin
David Crow15-Jul-04 4:22
David Crow15-Jul-04 4:22 
QuestionHow to make screenShot to file? Pin
vgrigor115-Jul-04 1:15
vgrigor115-Jul-04 1:15 
AnswerRe: How to make screenShot to file? Pin
ThatsAlok15-Jul-04 1:38
ThatsAlok15-Jul-04 1:38 
GeneralRe: How to make screenShot to file? Pin
vgrigor115-Jul-04 1:58
vgrigor115-Jul-04 1:58 
GeneralLoad Bitmap from a specified path Pin
S.DARWIN PAUL RAJ15-Jul-04 0:57
S.DARWIN PAUL RAJ15-Jul-04 0:57 
GeneralRe: Load Bitmap from a specified path Pin
ThatsAlok15-Jul-04 1:12
ThatsAlok15-Jul-04 1:12 
GeneralRe: Load Bitmap from a specified path Pin
David Crow15-Jul-04 4:03
David Crow15-Jul-04 4:03 
GeneralRe: Load Bitmap from a specified path Pin
S.DARWIN PAUL RAJ15-Jul-04 15:08
S.DARWIN PAUL RAJ15-Jul-04 15:08 
Thank you,
I got the result
CBitmap bmp;
HBITMAP bmp1;
bmp1 =SHLoadDIBitmap(_T("D:\\codeproject\\a.bmp"));
bmp.Attach(bmp1);
BITMAP bminfo;
bmp.GetBitmap(&bminfo);
CDC dcMem;
HBITMAP hbmpOld;
dcMem.CreateCompatibleDC(pDC);
hbmpOld =(HBITMAP)dcMem.SelectObject(&bmp);
pDC->StretchBlt(0,0,rc.Width(),rc.Height(),&dcMem, 0,0, bminfo.bmWidth, bminfo.bmHeight, SRCCOPY);
dcMem.SelectObject(hbmpOld);

Still one more problem,
When I stretched this bitmap into the entire screen, the controls(Button) which I placed above the bitmap not moved with bitmap, I want that todo,
Give your hand on this issue

regards

DARWIN PAUL RAJ
GeneralCEdit text justification using ModifyStyle Pin
srev15-Jul-04 0:56
srev15-Jul-04 0:56 
GeneralRe: CEdit text justification using ModifyStyle Pin
David Crow15-Jul-04 4:06
David Crow15-Jul-04 4:06 
GeneralEvents from the back/forward buttons in a 5-button mouse Pin
Franc Morales15-Jul-04 0:51
Franc Morales15-Jul-04 0:51 
GeneralDoes anyone has experiences on processing gigabyte image with C++ Pin
swandream15-Jul-04 0:30
swandream15-Jul-04 0:30 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
Maximilien15-Jul-04 0:37
Maximilien15-Jul-04 0:37 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
swandream15-Jul-04 2:04
swandream15-Jul-04 2:04 
GeneralRe: Does anyone has experiences on processing gigabyte image with C++ Pin
Maximilien15-Jul-04 3:11
Maximilien15-Jul-04 3:11 
Generalfloat into array of bytes Pin
pankajdaga15-Jul-04 0:23
pankajdaga15-Jul-04 0:23 
GeneralRe: float into array of bytes Pin
pankajdaga15-Jul-04 1:10
pankajdaga15-Jul-04 1:10 
GeneralRe: float into array of bytes Pin
V.15-Jul-04 1:24
professionalV.15-Jul-04 1:24 
GeneralRe: float into array of bytes Pin
Roger Allen15-Jul-04 3:33
Roger Allen15-Jul-04 3:33 
GeneralMFC and Windows.Forms integration Pin
EinarJon15-Jul-04 0:19
EinarJon15-Jul-04 0:19 
GeneralEnumFontFamilies Pin
Galisteo15-Jul-04 0:17
Galisteo15-Jul-04 0:17 
GeneralRe: EnumFontFamilies Pin
David Crow15-Jul-04 4:23
David Crow15-Jul-04 4:23 
GeneralRe: EnumFontFamilies Pin
Galisteo15-Jul-04 6:23
Galisteo15-Jul-04 6:23 
GeneralLinking error ?? y Pin
Zeeshan Bilal15-Jul-04 0:14
Zeeshan Bilal15-Jul-04 0:14 
GeneralHiding a dialog box of another process Pin
UlrichG15-Jul-04 0:05
UlrichG15-Jul-04 0:05 

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.