Click here to Skip to main content
15,917,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 6:30
David Crow16-Sep-04 6:30 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 8:01
0v3rloader16-Sep-04 8:01 
GeneralOleThreadMainWndName Pin
shiraztk16-Sep-04 1:53
shiraztk16-Sep-04 1:53 
GeneralProblem about char array Pin
sacoskun16-Sep-04 1:49
sacoskun16-Sep-04 1:49 
GeneralRe: Problem about char array Pin
Aamir Butt16-Sep-04 1:55
Aamir Butt16-Sep-04 1:55 
GeneralRe: Problem about char array Pin
Paolo Ponzano16-Sep-04 2:36
Paolo Ponzano16-Sep-04 2:36 
GeneralRe: Problem about char array Pin
sacoskun16-Sep-04 2:56
sacoskun16-Sep-04 2:56 
GeneralFrom CBitmap casting to HBitmap Pin
Andreas BäckerII16-Sep-04 1:30
Andreas BäckerII16-Sep-04 1:30 
HI i have a problem that i can not cast a Cbitmap to HBITMAP to have a CWND handle. the code below should show my created Bitmap. Please

need a TIP......................!!!!!!!!!!!!

CBitmap pic1;
pic1.CreateBitmap( nWidth, nHeight, nPlanes, nBitCount, lpstr);


pic1.Attach(HBITMAP(pic1));//????????????????????????????????
BITMAP bild_header1;
pic1.GetBitmap(&bild_header1);
CWnd* wp1 = GetDlgItem( IDC_STATIC3);// IDC_STATIC_CAM1
CDC *pDC1 = wp1->GetDC();
CDC imageDC1;
imageDC1.CreateCompatibleDC(pDC1);
imageDC1.SelectObject(&pic1);
pDC1->BitBlt(0,0,bild_header1.bmWidth,bild_header1.bmHeight,&imageDC1,0,0,SRCCOPY);
imageDC1.DeleteDC();
GeneralRe: From CBitmap casting to HBitmap Pin
Arsalan Malik16-Sep-04 1:46
Arsalan Malik16-Sep-04 1:46 
GeneralRe: From CBitmap casting to HBitmap Pin
Andreas BäckerII16-Sep-04 23:39
Andreas BäckerII16-Sep-04 23:39 
GeneralRe: From CBitmap casting to HBitmap Pin
Andreas BäckerII17-Sep-04 4:35
Andreas BäckerII17-Sep-04 4:35 
GeneralWebcam Pin
Member 136868816-Sep-04 1:12
Member 136868816-Sep-04 1:12 
GeneralRe: Webcam Pin
geo_m16-Sep-04 5:24
geo_m16-Sep-04 5:24 
Generalwav file resampling Pin
sinha_abhijeet16-Sep-04 0:52
sinha_abhijeet16-Sep-04 0:52 
GeneralRe: wav file resampling Pin
Alexander M.,16-Sep-04 9:49
Alexander M.,16-Sep-04 9:49 
GeneralGetting IPv6 address Pin
Alpha Siera16-Sep-04 0:47
Alpha Siera16-Sep-04 0:47 
GeneralRe: Getting IPv6 address [modified] Pin
Antony M Kancidrowski16-Sep-04 2:31
Antony M Kancidrowski16-Sep-04 2:31 
GeneralRe: Getting IPv6 address [modified] Pin
Alpha Siera16-Sep-04 18:27
Alpha Siera16-Sep-04 18:27 
Generalfile Pin
swarup16-Sep-04 0:46
swarup16-Sep-04 0:46 
GeneralRe: file Pin
Paolo Ponzano16-Sep-04 2:23
Paolo Ponzano16-Sep-04 2:23 
GeneralRe: file Pin
swarup18-Sep-04 2:06
swarup18-Sep-04 2:06 
GeneralWindows .libs Pin
JensB16-Sep-04 0:27
JensB16-Sep-04 0:27 
GeneralRe: Windows .libs Pin
geo_m16-Sep-04 5:20
geo_m16-Sep-04 5:20 
GeneralDLL Pin
swarup16-Sep-04 0:03
swarup16-Sep-04 0:03 
GeneralRe: DLL Pin
Paolo Ponzano16-Sep-04 2:31
Paolo Ponzano16-Sep-04 2:31 

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.