Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpenGL Pin
Dennis L18-Aug-05 7:10
Dennis L18-Aug-05 7:10 
GeneralRe: OpenGL Pin
johnny18218-Aug-05 12:32
johnny18218-Aug-05 12:32 
GeneralHelp with SetItemData/GetItemData of CTreeCtrl Pin
johnnyXP18-Aug-05 6:43
johnnyXP18-Aug-05 6:43 
GeneralRe: Help with SetItemData/GetItemData of CTreeCtrl Pin
David Crow18-Aug-05 7:57
David Crow18-Aug-05 7:57 
GeneralRe: Help with SetItemData/GetItemData of CTreeCtrl Pin
Anonymous18-Aug-05 9:11
Anonymous18-Aug-05 9:11 
GeneralPrinting my Custom Control Pin
AnTri18-Aug-05 5:55
AnTri18-Aug-05 5:55 
Generaldraw in internet explorer Pin
Member 203712118-Aug-05 5:46
Member 203712118-Aug-05 5:46 
GeneralChecking if region only contains background color Pin
skonopa18-Aug-05 4:46
skonopa18-Aug-05 4:46 
If given a region (could be CRgn or even just an area described by a CRect), is there a way to check if that region only contains background color (nothing really drawn in there, i.e., no characters, dots, etc)? The simplist way I could think is looping through the region and getting each pixel via the CDC::GetPixel () method, and checking it against the background color. I am basically looking for a way to determine if something is drawn in a specific area.

I was hoping if there was a more "elegant" solution. Searches both here and on the 'Net as a whole seemed to turn up nothing regarding this.

Thanks
Steven Konopa
Generalprinting Pin
mikobi18-Aug-05 4:27
mikobi18-Aug-05 4:27 
GeneralRe: printing Pin
David Crow18-Aug-05 5:19
David Crow18-Aug-05 5:19 
GeneralRe: printing Pin
mikobi18-Aug-05 5:54
mikobi18-Aug-05 5:54 
GeneralRe: printing Pin
David Crow18-Aug-05 6:15
David Crow18-Aug-05 6:15 
GeneralRe: printing Pin
mikobi18-Aug-05 21:06
mikobi18-Aug-05 21:06 
GeneralRe: printing Pin
mikobi18-Aug-05 21:07
mikobi18-Aug-05 21:07 
GeneralRe: printing Pin
mikobi18-Aug-05 21:09
mikobi18-Aug-05 21:09 
GeneralRe: printing Pin
David Crow19-Aug-05 2:13
David Crow19-Aug-05 2:13 
GeneralRe: printing Pin
mikobi19-Aug-05 6:13
mikobi19-Aug-05 6:13 
Generalbuild gui by using vc++ 6.0 Pin
meiyueh18-Aug-05 3:41
meiyueh18-Aug-05 3:41 
GeneralRe: build gui by using vc++ 6.0 Pin
Trollslayer18-Aug-05 4:30
mentorTrollslayer18-Aug-05 4:30 
GeneralRe: build gui by using vc++ 6.0 Pin
David Crow18-Aug-05 5:32
David Crow18-Aug-05 5:32 
GeneralBrowser using Proxy with VC++ 6.0 Pin
downtown7918-Aug-05 3:19
downtown7918-Aug-05 3:19 
QuestionHow to get the name of the files in the zip file! Pin
PCzhangtl18-Aug-05 3:18
PCzhangtl18-Aug-05 3:18 
AnswerRe: How to get the name of the files in the zip file! Pin
BadJerry18-Aug-05 3:26
BadJerry18-Aug-05 3:26 
QuestionHow? Pin
Ali Tavakol18-Aug-05 3:09
Ali Tavakol18-Aug-05 3:09 
AnswerRe: How? Pin
BadJerry18-Aug-05 3:25
BadJerry18-Aug-05 3:25 

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.