Click here to Skip to main content
15,898,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Cursor help: Pin
Maximilien30-Oct-07 7:19
Maximilien30-Oct-07 7:19 
QuestionRe: Cursor help: Pin
Hamid_RT31-Oct-07 4:20
Hamid_RT31-Oct-07 4:20 
QuestionNeed an alternative for StretchBlt()?? Pin
Kiran Satish30-Oct-07 7:00
Kiran Satish30-Oct-07 7:00 
AnswerRe: Need an alternative for StretchBlt()?? Pin
led mike30-Oct-07 7:09
led mike30-Oct-07 7:09 
AnswerRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger30-Oct-07 7:19
professionalChris Losinger30-Oct-07 7:19 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish31-Oct-07 6:34
Kiran Satish31-Oct-07 6:34 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger31-Oct-07 7:28
professionalChris Losinger31-Oct-07 7:28 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish1-Nov-07 11:18
Kiran Satish1-Nov-07 11:18 
Thanks for the reply, I tried as you suggested...
<br />
CClientDC dc(this);<br />
CDC tempDC;<br />
tempDC.CreateCompatibleDC(NULL);<br />
CBitmap tempBMP;<br />
tempBMP.CreateCompatibleBitmap(&tempDC, w*zoom_const,h*zoom_const);<br />
tempDC.SelectObject(tempBMP);<br />
dib->Draw(&tempDC, 0,0,w*zoom_const,h*zoom_const,0,0,w,h);		<br />
dc.BitBlt( 0, 0, w*zoom_const,h*zoom_const, &tempDC, sp.x, sp.y, SRCCOPY);


it still shows me a black image.... am I still doing wrong??, sorry I am not soo familiar with CBitmaps and DCs. Just learning now Smile | :)

-PNT



PKNT

GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger1-Nov-07 12:09
professionalChris Losinger1-Nov-07 12:09 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish1-Nov-07 12:57
Kiran Satish1-Nov-07 12:57 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish1-Nov-07 13:45
Kiran Satish1-Nov-07 13:45 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger1-Nov-07 14:04
professionalChris Losinger1-Nov-07 14:04 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish2-Nov-07 8:03
Kiran Satish2-Nov-07 8:03 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger2-Nov-07 8:15
professionalChris Losinger2-Nov-07 8:15 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish6-Nov-07 13:13
Kiran Satish6-Nov-07 13:13 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger6-Nov-07 14:49
professionalChris Losinger6-Nov-07 14:49 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish7-Nov-07 6:50
Kiran Satish7-Nov-07 6:50 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish8-Nov-07 7:17
Kiran Satish8-Nov-07 7:17 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger10-Nov-07 7:13
professionalChris Losinger10-Nov-07 7:13 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish14-Nov-08 13:21
Kiran Satish14-Nov-08 13:21 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger14-Nov-08 17:59
professionalChris Losinger14-Nov-08 17:59 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish17-Nov-08 6:50
Kiran Satish17-Nov-08 6:50 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger17-Nov-08 7:08
professionalChris Losinger17-Nov-08 7:08 
Questiontwo dialogs placing problem? Pin
Gofur Halmurat30-Oct-07 6:57
Gofur Halmurat30-Oct-07 6:57 
AnswerRe: two dialogs placing problem? Pin
led mike30-Oct-07 7:06
led mike30-Oct-07 7:06 

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.