Click here to Skip to main content
15,889,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DirectX Beginner Pin
Mr_Byte26-Sep-01 6:53
Mr_Byte26-Sep-01 6:53 
GeneralRe: DirectX Beginner Pin
26-Sep-01 6:59
suss26-Sep-01 6:59 
GeneralRe: DirectX Beginner Pin
Mr_Byte26-Sep-01 7:12
Mr_Byte26-Sep-01 7:12 
GeneralCDC Resource/Memor Leaks... (continued)... Pin
26-Sep-01 6:42
suss26-Sep-01 6:42 
GeneralRe: CDC Resource/Memor Leaks... (continued)... Pin
Tomasz Sowinski26-Sep-01 6:50
Tomasz Sowinski26-Sep-01 6:50 
GeneralRe: CDC Resource/Memor Leaks... (continued)... Pin
26-Sep-01 8:18
suss26-Sep-01 8:18 
GeneralRe: CDC Resource/Memor Leaks... (continued)... Pin
Tomasz Sowinski26-Sep-01 8:23
Tomasz Sowinski26-Sep-01 8:23 
GeneralRe: CDC Resource/Memor Leaks... (continued)... Pin
26-Sep-01 8:32
suss26-Sep-01 8:32 
BeginPaint(&PAINTSTRUCT) and EndPaint(&PAINTSTRUCT) should cover
that right?

This isn't my whole OnPaint() function, but it should cover important
issues.
PAINTSTRUCT ps;
CPaintDC *paintDC;
paintDC = (CPaintDC *)this->BeginPaint(&ps);

paintDC->StretchBlt(m_rectHead0.left, m_rectHead0.top,
		    m_rectHead0.Width(), m_rectHead0.Height(),
		    m_dcHead0, 
		    m_rectHead0Source.left, m_rectHead0Source.top, 
		    m_rectHead0Source.Width(), m_rectHead0Source.Height(), 
		    SRCCOPY);

	
this->EndPaint(&ps);



-t²
GeneralRe: CDC Resource/Memor Leaks... (continued)... Pin
Tomasz Sowinski26-Sep-01 8:39
Tomasz Sowinski26-Sep-01 8:39 
GeneralExport function Pin
Jose Fco Bonnin26-Sep-01 4:49
Jose Fco Bonnin26-Sep-01 4:49 
GeneralRe: Export function Pin
Michael P Butler26-Sep-01 4:59
Michael P Butler26-Sep-01 4:59 
GeneralRe: Export function Pin
Jose Fco Bonnin26-Sep-01 5:22
Jose Fco Bonnin26-Sep-01 5:22 
GeneralRe: Export function Pin
Carlos Antollini26-Sep-01 6:02
Carlos Antollini26-Sep-01 6:02 
GeneralRe: Export function Pin
Rashid Thadha26-Sep-01 11:36
Rashid Thadha26-Sep-01 11:36 
GeneralAudio program works under Win2k but not Win98 Pin
groston26-Sep-01 4:47
groston26-Sep-01 4:47 
GeneralCListCtl Pin
otvac26-Sep-01 4:29
otvac26-Sep-01 4:29 
GeneralRe: CListCtl Pin
Michael P Butler26-Sep-01 5:02
Michael P Butler26-Sep-01 5:02 
GeneralRe: CListCtl Pin
Tomasz Sowinski26-Sep-01 6:43
Tomasz Sowinski26-Sep-01 6:43 
GeneralRe: CListCtl Pin
Michael P Butler26-Sep-01 8:37
Michael P Butler26-Sep-01 8:37 
GeneralRe: CListCtl Pin
Tomasz Sowinski26-Sep-01 8:47
Tomasz Sowinski26-Sep-01 8:47 
GeneralRe: CListCtl Pin
Rashid Thadha26-Sep-01 11:32
Rashid Thadha26-Sep-01 11:32 
GeneralThe browser and the registry Pin
26-Sep-01 4:00
suss26-Sep-01 4:00 
GeneralRe: The browser and the registry Pin
Tomasz Sowinski26-Sep-01 4:07
Tomasz Sowinski26-Sep-01 4:07 
GeneralRe: The browser and the registry Pin
26-Sep-01 4:18
suss26-Sep-01 4:18 
GeneralRe: The browser and the registry Pin
Tomasz Sowinski26-Sep-01 4:23
Tomasz Sowinski26-Sep-01 4:23 

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.