Click here to Skip to main content
15,916,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to add reference of a dll in a Visual Studio Project Pin
«_Superman_»17-Mar-11 19:52
professional«_Superman_»17-Mar-11 19:52 
GeneralRe: How to add reference of a dll in a Visual Studio Project Pin
pandit8418-Mar-11 0:28
pandit8418-Mar-11 0:28 
GeneralRe: How to add reference of a dll in a Visual Studio Project Pin
«_Superman_»18-Mar-11 0:32
professional«_Superman_»18-Mar-11 0:32 
GeneralRe: How to add reference of a dll in a Visual Studio Project Pin
Richard MacCutchan18-Mar-11 0:43
mveRichard MacCutchan18-Mar-11 0:43 
GeneralRe: How to add reference of a dll in a Visual Studio Project Pin
pandit8418-Mar-11 0:53
pandit8418-Mar-11 0:53 
QuestionDraw Using Graphics object from Window Handle Pin
002comp17-Mar-11 18:41
002comp17-Mar-11 18:41 
AnswerRe: Draw Using Graphics object from Window Handle Pin
«_Superman_»17-Mar-11 19:49
professional«_Superman_»17-Mar-11 19:49 
AnswerRe: Draw Using Graphics object from Window Handle Pin
Parthi_Appu17-Mar-11 23:10
Parthi_Appu17-Mar-11 23:10 
I hope the window you are finding is not the foreground window? Is that correct?

Here is the reason, even though we get separate DC for each window, keep it in mind that the screen space is shared by all the windows.
So if you try to get the DC of window which is not in foreground and when we paint it other than in WM_PAINT cycle then it'll be painted on the shared screen space.
This is why you are seeing the bitmap image at top of all the windows and not in the found window.



Do your Duty and Don't expect the Result

QuestionMFC wizard does not see properties on my dispinterface, fails to create code Pin
EricFowler17-Mar-11 15:20
EricFowler17-Mar-11 15:20 
Questionlibcmt.lib problem ... Pin
_Flaviu17-Mar-11 6:04
_Flaviu17-Mar-11 6:04 
AnswerRe: libcmt.lib problem ... Pin
Hans Dietrich17-Mar-11 7:40
mentorHans Dietrich17-Mar-11 7:40 
GeneralRe: libcmt.lib problem ... Pin
_Flaviu17-Mar-11 8:29
_Flaviu17-Mar-11 8:29 
QuestionUsing SetFocus() in a push button. Pin
dipuks17-Mar-11 5:44
dipuks17-Mar-11 5:44 
AnswerRe: Using SetFocus() in a push button. Pin
Klaus-Werner Konrad17-Mar-11 6:59
Klaus-Werner Konrad17-Mar-11 6:59 
GeneralRe: Using SetFocus() in a push button. Pin
dipuks17-Mar-11 7:01
dipuks17-Mar-11 7:01 
GeneralRe: Using SetFocus() in a push button. Pin
Klaus-Werner Konrad17-Mar-11 9:17
Klaus-Werner Konrad17-Mar-11 9:17 
GeneralRe: Using SetFocus() in a push button. Pin
Albert Holguin17-Mar-11 8:24
professionalAlbert Holguin17-Mar-11 8:24 
GeneralRe: Using SetFocus() in a push button. [modified] Pin
Klaus-Werner Konrad17-Mar-11 9:14
Klaus-Werner Konrad17-Mar-11 9:14 
GeneralRe: Using SetFocus() in a push button. Pin
Albert Holguin17-Mar-11 9:26
professionalAlbert Holguin17-Mar-11 9:26 
QuestionRe: Using SetFocus() in a push button. Pin
David Crow17-Mar-11 10:43
David Crow17-Mar-11 10:43 
AnswerRe: Using SetFocus() in a push button. Pin
dipuks17-Mar-11 11:07
dipuks17-Mar-11 11:07 
GeneralRe: Using SetFocus() in a push button. Pin
Klaus-Werner Konrad17-Mar-11 12:46
Klaus-Werner Konrad17-Mar-11 12:46 
QuestionVisual C++ properties (Teaching an old dog old tricks)... Pin
bob1697217-Mar-11 5:13
bob1697217-Mar-11 5:13 
QuestionObject movement in OpenGl Pin
GAJERA16-Mar-11 22:03
GAJERA16-Mar-11 22:03 
AnswerRe: Object movement in OpenGl Pin
Cedric Moonen16-Mar-11 22:08
Cedric Moonen16-Mar-11 22:08 

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.