Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionexception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 2:28
Farhat Aisha13-Mar-06 2:28 
AnswerRe: exception in stl set class in Release mode Pin
Monty213-Mar-06 2:33
Monty213-Mar-06 2:33 
GeneralRe: exception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 2:37
Farhat Aisha13-Mar-06 2:37 
GeneralRe: exception in stl set class in Release mode Pin
toxcct13-Mar-06 2:38
toxcct13-Mar-06 2:38 
GeneralRe: exception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 3:00
Farhat Aisha13-Mar-06 3:00 
GeneralRe: exception in stl set class in Release mode Pin
James R. Twine13-Mar-06 2:59
James R. Twine13-Mar-06 2:59 
GeneralRe: exception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 3:01
Farhat Aisha13-Mar-06 3:01 
Questionhow to paint a bitmap on client? Pin
derek713-Mar-06 2:00
derek713-Mar-06 2:00 
case WM_PAINT:
hdc = BeginPaint (hwnd, &ps) ;

hdcMem = CreateCompatibleDC (hdc) ;
SelectObject (hdcMem, hBitmap) ;

BitBlt (hdc, 0, 0, cx , cy, hdcMem, 0, 0, SRCCOPY) ;


DeleteDC (hdcMem) ;
EndPaint (hwnd, &ps) ;
return 0 ;
it is a way,but how to paint without memory device context?
but SelectObject (hdc, hBitmap) does not put bitmap on screen.
AnswerRe: how to paint a bitmap on client? Pin
Chris Losinger13-Mar-06 2:09
professionalChris Losinger13-Mar-06 2:09 
AnswerRe: how to paint a bitmap on client? Pin
Hamid_RT13-Mar-06 2:16
Hamid_RT13-Mar-06 2:16 
GeneralRe: how to paint a bitmap on client? Pin
James R. Twine13-Mar-06 3:01
James R. Twine13-Mar-06 3:01 
GeneralRe: how to paint a bitmap on client? Pin
Hamid_RT13-Mar-06 3:13
Hamid_RT13-Mar-06 3:13 
QuestionVisual C++ Express and Visual C++6 ? Pin
thierrypp13-Mar-06 1:37
thierrypp13-Mar-06 1:37 
AnswerRe: Visual C++ Express and Visual C++6 ? Pin
Kevin McFarlane13-Mar-06 2:04
Kevin McFarlane13-Mar-06 2:04 
GeneralRe: Visual C++ Express and Visual C++6 ? Pin
thierrypp13-Mar-06 8:41
thierrypp13-Mar-06 8:41 
Questionget motherboard serial number Pin
ss200613-Mar-06 1:15
ss200613-Mar-06 1:15 
AnswerRe: get motherboard serial number Pin
David Crow13-Mar-06 3:09
David Crow13-Mar-06 3:09 
Questionhow can i set size of dialog box Pin
baldha rakesh13-Mar-06 1:08
baldha rakesh13-Mar-06 1:08 
AnswerRe: how can i set size of dialog box Pin
toxcct13-Mar-06 1:10
toxcct13-Mar-06 1:10 
AnswerRe: how can i set size of dialog box Pin
Cedric Moonen13-Mar-06 1:10
Cedric Moonen13-Mar-06 1:10 
AnswerRe: how can i set size of dialog box Pin
Hamid_RT13-Mar-06 1:28
Hamid_RT13-Mar-06 1:28 
GeneralRe: how can i set size of dialog box Pin
baldha rakesh13-Mar-06 1:45
baldha rakesh13-Mar-06 1:45 
GeneralRe: how can i set size of dialog box Pin
Monty213-Mar-06 2:00
Monty213-Mar-06 2:00 
GeneralRe: how can i set size of dialog box Pin
Hamid_RT13-Mar-06 2:52
Hamid_RT13-Mar-06 2:52 
GeneralRe: how can i set size of dialog box Pin
David Crow13-Mar-06 3:11
David Crow13-Mar-06 3:11 

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.