Hi again!
I want to save memBitmap to a bitmap File. what should I do
this my code:
CPaintDC dc(this) ;
CDC memDC ;
CBitmap memBitmap ;
CBitmap* oldBitmap ;
memDC.CreateCompatibleDC(&dc) ;
memBitmap.CreateCompatibleBitmap(&dc,(2+myRect.Width()),(2+3*myRect.Height())) ;
oldBitmap = (CBitmap *)memDC.SelectObject(&memBitmap) ;
if (memDC.GetSafeHdc() != NULL)
{
memDC.BitBlt(1,1,(2+myRect.Width()),(2+3*myRect.Height())
,&dc,(3+myRect.left) ,(3+myRect.top) ,SRCCOPY );
}
memDC.SelectObject(oldBitmap) ;
thank for Answer.

How to save (DC member) to bitmapfile? Please Help!
Raghunandan Sharma
Searching the web will give you a quicker answer than waiting for someone else to search the web for you. :)
Ribeye
thank brian!
thank for your help! I said that you are online for ever(or every time that you want) but I can be online for 60'-80' min
for a day!
bye.