Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FFT for dummies Pin
Steve Messer2-Sep-03 7:58
Steve Messer2-Sep-03 7:58 
Questionhow to hide the view of MDI program at startup Pin
mr20031-Sep-03 8:06
mr20031-Sep-03 8:06 
AnswerRe: how to hide the view of MDI program at startup Pin
KaЯl1-Sep-03 10:45
KaЯl1-Sep-03 10:45 
GeneralRe: how to hide the view of MDI program at startup Pin
mr20032-Sep-03 8:07
mr20032-Sep-03 8:07 
GeneralRe: how to hide the view of MDI program at startup Pin
KaЯl2-Sep-03 8:29
KaЯl2-Sep-03 8:29 
Questionhow to hide the view of MDI program Pin
Anonymous1-Sep-03 8:05
Anonymous1-Sep-03 8:05 
QuestionHow to fit a bitmap into a CStatic control Pin
tico_tech1-Sep-03 7:38
tico_tech1-Sep-03 7:38 
AnswerRe: How to fit a bitmap into a CStatic control Pin
Anonymous1-Sep-03 10:46
Anonymous1-Sep-03 10:46 
CString szFilename="C:\\test\\bmptest.bmp";

HBITMAP hBmp = (HBITMAP)::LoadImage(NULL,szFilename, IMAGE_BITMAP, 0, 0,
LR_LOADFROMFILE|LR_CREATEDIBSECTION);

CBitmap pic;
pic.Attach(hBmp);

BITMAP pic_header;
pic.GetBitmap(&pic_header);


CWnd* wp = GetDlgItem(IDC_STATIC_BITMAP_GLASROHR);
CDC *pDC = wp->GetDC();
CDC imageDC;

imageDC.CreateCompatibleDC(pDC);

imageDC.SelectObject( &pic);

pDC->BitBlt(3, 3, pic_header.bmWidth, pic_header.bmHeight, &imageDC, 0,
0, SRCCOPY);

imageDC.DeleteDC();

wp->ReleaseDC(pDC);
GeneralAnybody please help with linked list implementation Pin
digiman20031-Sep-03 6:02
digiman20031-Sep-03 6:02 
GeneralRe: Anybody please help with linked list implementation Pin
DViggiano1-Sep-03 7:11
DViggiano1-Sep-03 7:11 
GeneralOnPaint problem Pin
YaronNir1-Sep-03 5:59
YaronNir1-Sep-03 5:59 
GeneralRe: OnPaint problem Pin
Stefan Pedersen1-Sep-03 10:34
Stefan Pedersen1-Sep-03 10:34 
GeneralRe: OnPaint problem Pin
YaronNir2-Sep-03 4:08
YaronNir2-Sep-03 4:08 
GeneralRe: OnPaint problem Pin
Neville Franks1-Sep-03 10:47
Neville Franks1-Sep-03 10:47 
GeneralRe: OnPaint problem Pin
YaronNir2-Sep-03 4:08
YaronNir2-Sep-03 4:08 
GeneralI would like to calculate pi. Pin
Snyp1-Sep-03 4:23
Snyp1-Sep-03 4:23 
GeneralRe: I would like to calculate pi. Pin
Ted Ferenc1-Sep-03 4:53
Ted Ferenc1-Sep-03 4:53 
GeneralRe: I would like to calculate pi. Pin
Dominik Reichl1-Sep-03 6:32
Dominik Reichl1-Sep-03 6:32 
GeneralRe: I would like to calculate pi. Pin
User 66581-Sep-03 5:31
User 66581-Sep-03 5:31 
GeneralRe: I would like to calculate pi. Pin
Anonymous1-Sep-03 6:52
Anonymous1-Sep-03 6:52 
GeneralSTL deque container question Pin
YaronNir1-Sep-03 3:59
YaronNir1-Sep-03 3:59 
GeneralRe: STL deque container question Pin
ZoogieZork1-Sep-03 4:20
ZoogieZork1-Sep-03 4:20 
GeneralRe: STL deque container question Pin
YaronNir1-Sep-03 4:21
YaronNir1-Sep-03 4:21 
GeneralRe: STL deque container question Pin
ZoogieZork1-Sep-03 4:24
ZoogieZork1-Sep-03 4:24 
GeneralRe: STL deque container question Pin
YaronNir1-Sep-03 4:29
YaronNir1-Sep-03 4:29 

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.