Click here to Skip to main content
16,005,682 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ Beginer wants to resize a pic (make it smaller) and store it on his hard disc Pin
nne-vitamin23-Oct-05 14:34
nne-vitamin23-Oct-05 14:34 
GeneralRe: VC++ Beginer wants to resize a pic (make it smaller) and store it on his hard disc Pin
normanS23-Oct-05 19:30
normanS23-Oct-05 19:30 
GeneralRe: VC++ Beginer wants to resize a pic (make it smaller) and store it on his hard disc Pin
Christian Graus23-Oct-05 19:31
protectorChristian Graus23-Oct-05 19:31 
GeneralRe: VC++ Beginer wants to resize a pic (make it smaller) and store it on his hard disc Pin
normanS23-Oct-05 21:50
normanS23-Oct-05 21:50 
Questiontime critical thread Pin
LeeeNN23-Oct-05 11:56
LeeeNN23-Oct-05 11:56 
AnswerRe: time critical thread Pin
khan++23-Oct-05 18:18
khan++23-Oct-05 18:18 
AnswerRe: time critical thread Pin
Bob Stanneveld24-Oct-05 0:03
Bob Stanneveld24-Oct-05 0:03 
Questionretrieve DC of window that is hidden behind other windows Pin
Member 231353823-Oct-05 11:14
Member 231353823-Oct-05 11:14 
Hi, I need to detect the color of some pixels in another application running on my desktop. I am able to retrieve the DC of the window just fine when it is the top window, but can't when it is hidden behind another window! Is there a flag I can set or any other way for me to retrieve the color of a pixel on the application window if it is not directly visible to the monitor? i.e. if portion of the window is covered by another window, that new window's display is instead included in the DC I retrieve.

Currently I am using:

CDC *windc = window->GetDCEx( NULL, DCX_PARENTCLIP );

Where 'window' is a handle to the CWnd of the application window. Also I'm not sure that I require the DCX_PARENTCLIP flag -- I don't entirely understand the descriptions provided for the flags for GetDCEx.


Thanks in advance for your help!!
Jeremy.
AnswerRe: retrieve DC of window that is hidden behind other windows Pin
Chris Losinger23-Oct-05 11:40
professionalChris Losinger23-Oct-05 11:40 
AnswerRe: retrieve DC of window that is hidden behind other windows Pin
PJ Arends23-Oct-05 13:49
professionalPJ Arends23-Oct-05 13:49 
QuestionHandling shell command line Pin
Member 230136023-Oct-05 10:56
Member 230136023-Oct-05 10:56 
AnswerRe: Handling shell command line Pin
David Crow24-Oct-05 3:43
David Crow24-Oct-05 3:43 
GeneralRe: Handling shell command line Pin
Allad24-Oct-05 6:51
Allad24-Oct-05 6:51 
GeneralRe: Handling shell command line Pin
David Crow24-Oct-05 7:07
David Crow24-Oct-05 7:07 
GeneralRe: Handling shell command line Pin
Allad26-Oct-05 9:04
Allad26-Oct-05 9:04 
GeneralRe: Handling shell command line Pin
Allad24-Oct-05 6:51
Allad24-Oct-05 6:51 
GeneralRe: Handling shell command line Pin
Allad24-Oct-05 6:51
Allad24-Oct-05 6:51 
Questionpointers to functions Pin
Mohammad A Gdeisat23-Oct-05 10:52
Mohammad A Gdeisat23-Oct-05 10:52 
AnswerRe: pointers to functions Pin
Chris Losinger23-Oct-05 14:53
professionalChris Losinger23-Oct-05 14:53 
GeneralRe: pointers to functions Pin
Mohammad A Gdeisat24-Oct-05 7:09
Mohammad A Gdeisat24-Oct-05 7:09 
QuestionCombo Box, SetCurSel ( 0 ) Pin
kevincwong23-Oct-05 10:01
kevincwong23-Oct-05 10:01 
AnswerRe: Combo Box, SetCurSel ( 0 ) Pin
Graham Bradshaw23-Oct-05 10:22
Graham Bradshaw23-Oct-05 10:22 
AnswerRe: Combo Box, SetCurSel ( 0 ) Pin
Mohammad A Gdeisat23-Oct-05 10:43
Mohammad A Gdeisat23-Oct-05 10:43 
GeneralRe: Combo Box, SetCurSel ( 0 ) Pin
kevincwong23-Oct-05 21:14
kevincwong23-Oct-05 21:14 
GeneralRe: Combo Box, SetCurSel ( 0 ) Pin
S Douglas24-Oct-05 0:17
professionalS Douglas24-Oct-05 0:17 

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.