Click here to Skip to main content
15,916,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How To create new XML file using msxml.dll? Pin
Rassul Yunussov12-Aug-04 21:13
Rassul Yunussov12-Aug-04 21:13 
GeneralRe: How To create new XML file using msxml.dll? Pin
*Dreamz12-Aug-04 23:12
*Dreamz12-Aug-04 23:12 
QuestionHow can I put a scrollbar's tap on any locatation I want? Pin
dashi2512-Aug-04 14:29
dashi2512-Aug-04 14:29 
GeneralProblem With My Child Window Title Bar Pin
Anonymous12-Aug-04 13:51
Anonymous12-Aug-04 13:51 
GeneralMS Access Question Pin
Anonymous12-Aug-04 13:03
Anonymous12-Aug-04 13:03 
GeneralRe: MS Access Question Pin
Member 129553312-Aug-04 19:34
Member 129553312-Aug-04 19:34 
GeneralDll Injection Problem - An Unusual Case Pin
Dr Memory12-Aug-04 11:33
Dr Memory12-Aug-04 11:33 
GeneralHDC to BitBlt (Visual C) Pin
marqua12-Aug-04 11:15
marqua12-Aug-04 11:15 
How can I get the HDC from CBitmap or HBITMAP in Visual C???

I need to use BitBlt:
BOOL BitBlt(
HDC hdcDest, // handle to destination DC
int nXDest, // x-coord of destination upper-left corner
int nYDest, // y-coord of destination upper-left corner
int nWidth, // width of destination rectangle
int nHeight, // height of destination rectangle
HDC hdcSrc, // handle to source DC
int nXSrc, // x-coordinate of source upper-left corner
int nYSrc, // y-coordinate of source upper-left corner
DWORD dwRop // raster operation code
);

but I don't know how to get the HDC from a CBitmap or a HBITMAP from BMP files.

Tkz

MarQua
GeneralRe: HDC to BitBlt (Visual C) Pin
Antony M Kancidrowski12-Aug-04 13:04
Antony M Kancidrowski12-Aug-04 13:04 
GeneralRe: HDC to BitBlt (Visual C) Pin
mahade112-Aug-04 20:06
mahade112-Aug-04 20:06 
GeneralRe: HDC to BitBlt (Visual C) Pin
Ryan Binns12-Aug-04 20:52
Ryan Binns12-Aug-04 20:52 
GeneralArray of Variables Pin
Grahamfff12-Aug-04 11:09
Grahamfff12-Aug-04 11:09 
GeneralRe: Array of Variables Pin
tlerner12-Aug-04 11:14
tlerner12-Aug-04 11:14 
GeneralRe: Array of Variables Pin
mahade112-Aug-04 20:00
mahade112-Aug-04 20:00 
GeneralRe: Array of Variables Pin
Ryan Binns12-Aug-04 20:56
Ryan Binns12-Aug-04 20:56 
GeneralCharacter Counter in MFC Pin
tlerner12-Aug-04 10:20
tlerner12-Aug-04 10:20 
GeneralRe: Character Counter in MFC Pin
wb12-Aug-04 22:51
wb12-Aug-04 22:51 
GeneralRe: Character Counter in MFC Pin
tlerner13-Aug-04 7:15
tlerner13-Aug-04 7:15 
GeneralRe: Character Counter in MFC Pin
wb13-Aug-04 20:44
wb13-Aug-04 20:44 
GeneralRe: Character Counter in MFC Pin
tlerner16-Aug-04 9:02
tlerner16-Aug-04 9:02 
GeneralChild frame outside of main frame Pin
Dababa12-Aug-04 10:20
Dababa12-Aug-04 10:20 
GeneralCorrupted arguments in WinMain Pin
KernKraft3312-Aug-04 10:11
KernKraft3312-Aug-04 10:11 
GeneralRe: Corrupted arguments in WinMain Pin
Neville Franks12-Aug-04 11:22
Neville Franks12-Aug-04 11:22 
GeneralRe: Corrupted arguments in WinMain Pin
Tim Smith13-Aug-04 3:54
Tim Smith13-Aug-04 3:54 
GeneralWheel issue Pin
smack_2k212-Aug-04 8:51
smack_2k212-Aug-04 8:51 

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.