Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About Class CImage::GetPixel Pin
CPallini16-Sep-09 23:32
mveCPallini16-Sep-09 23:32 
QuestionAccess a shared folder form server to client by giving usename ,password in program Pin
ranjithgoud16-Sep-09 21:21
ranjithgoud16-Sep-09 21:21 
AnswerRe: Access a shared folder form server to client by giving usename ,password in program Pin
CPallini16-Sep-09 21:53
mveCPallini16-Sep-09 21:53 
GeneralRe: Access a shared folder form server to client by giving usename ,password in program Pin
ranjithgoud17-Sep-09 1:49
ranjithgoud17-Sep-09 1:49 
AnswerRe: Access a shared folder form server to client by giving usename ,password in program Pin
David Crow17-Sep-09 2:30
David Crow17-Sep-09 2:30 
GeneralRe: Access a shared folder form server to client by giving usename ,password in program Pin
ranjithgoud18-Sep-09 2:44
ranjithgoud18-Sep-09 2:44 
AnswerRe: Access a shared folder form server to client by giving usename ,password in program Pin
David Crow18-Sep-09 4:15
David Crow18-Sep-09 4:15 
Questionbitblt prob Pin
Game-point16-Sep-09 21:14
Game-point16-Sep-09 21:14 
CImage imageOriginal;<br />
imageOriginal.Load(_T( "read.tif" ));<br />
<br />
// Here is the rect that we will copy from the original image (in this case 1/4 of it)<br />
//CRect rectCopy(0, 0, imageOriginal.GetWidth() / 2, imageOriginal.GetHeight() / 2);<br />
<br />
CRect rectCopy(9177,68, 10566, 635);<br />
<br />
// Make a copy of the specific part<br />
CImage imageNew;<br />
imageNew.Create(rectCopy.Width(), rectCopy.Height(), imageOriginal.GetBPP());<br />
imageOriginal.BitBlt(imageNew.GetDC(), rectCopy, rectCopy.TopLeft());<br />
imageNew.Save(_T("D://imgnew.jpg"));<br />
<br />
imageNew.ReleaseDC();


when i pass the 9177, 68 ,10566,635 these rectangular portion ..the output of image contains only black.

the whole area of images are black ...how to pass these rectagular portion ..??

~~~~~~~~~~~~~Raju~~~~~~~~~~~~~


AnswerRe: bitblt prob Pin
CPallini16-Sep-09 21:46
mveCPallini16-Sep-09 21:46 
GeneralRe: bitblt prob Pin
Game-point16-Sep-09 22:04
Game-point16-Sep-09 22:04 
GeneralRe: bitblt prob Pin
Nuri Ismail16-Sep-09 22:11
Nuri Ismail16-Sep-09 22:11 
GeneralRe: bitblt prob Pin
CPallini16-Sep-09 22:12
mveCPallini16-Sep-09 22:12 
QuestionHow to get threads in a custom threadpool to not require locks when enabling/disabling threads? Pin
Cyrilix16-Sep-09 21:00
Cyrilix16-Sep-09 21:00 
AnswerRe: How to get threads in a custom threadpool to not require locks when enabling/disabling threads? Pin
Stuart Dootson16-Sep-09 21:24
professionalStuart Dootson16-Sep-09 21:24 
GeneralRe: How to get threads in a custom threadpool to not require locks when enabling/disabling threads? Pin
Cyrilix17-Sep-09 6:25
Cyrilix17-Sep-09 6:25 
GeneralRe: How to get threads in a custom threadpool to not require locks when enabling/disabling threads? Pin
Stuart Dootson17-Sep-09 6:53
professionalStuart Dootson17-Sep-09 6:53 
AnswerRe: How to get threads in a custom threadpool to not require locks when enabling/disabling threads? Pin
Randor 17-Sep-09 7:31
professional Randor 17-Sep-09 7:31 
GeneralRe: How to get threads in a custom threadpool to not require locks when enabling/disabling threads? Pin
Cyrilix17-Sep-09 7:53
Cyrilix17-Sep-09 7:53 
QuestionWeb Filter Pin
Aseem Sharma16-Sep-09 17:44
Aseem Sharma16-Sep-09 17:44 
AnswerRe: Web Filter Pin
N a v a n e e t h16-Sep-09 18:38
N a v a n e e t h16-Sep-09 18:38 
QuestionClass or Library to support MFC Document Windows borders Pin
WylieCoyoteUsa16-Sep-09 17:21
WylieCoyoteUsa16-Sep-09 17:21 
QuestionRe: Class or Library to support MFC Document Windows borders Pin
CPallini16-Sep-09 21:06
mveCPallini16-Sep-09 21:06 
AnswerRe: Class or Library to support MFC Document Windows borders Pin
WylieCoyoteUsa17-Sep-09 2:58
WylieCoyoteUsa17-Sep-09 2:58 
QuestionPassing Objects UI threads VS worker threads Pin
ForNow16-Sep-09 14:57
ForNow16-Sep-09 14:57 
AnswerRe: Passing Objects UI threads VS worker threads Pin
Chris Losinger16-Sep-09 16:03
professionalChris Losinger16-Sep-09 16:03 

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.