Click here to Skip to main content
15,921,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWriting a Smart OnPaint Routine Pin
BobInNJ29-May-09 7:15
BobInNJ29-May-09 7:15 
AnswerRe: Writing a Smart OnPaint Routine Pin
CPallini29-May-09 7:39
mveCPallini29-May-09 7:39 
GeneralRe: Writing a Smart OnPaint Routine Pin
BobInNJ29-May-09 9:30
BobInNJ29-May-09 9:30 
QuestionRe: Writing a Smart OnPaint Routine Pin
David Crow6-Nov-09 17:23
David Crow6-Nov-09 17:23 
AnswerRe: Writing a Smart OnPaint Routine Pin
CPallini7-Nov-09 11:23
mveCPallini7-Nov-09 11:23 
GeneralRe: Writing a Smart OnPaint Routine Pin
Michael Dunn30-May-09 18:44
sitebuilderMichael Dunn30-May-09 18:44 
GeneralRe: Writing a Smart OnPaint Routine Pin
BobInNJ31-May-09 4:13
BobInNJ31-May-09 4:13 
QuestionSetwindowPos problem Pin
extreme00129-May-09 6:09
extreme00129-May-09 6:09 
Hi gurus!

I coded an app that searches for another window to overlay it. I used SetLayeredWindowAttributes to make a color transparent in my window. When the the window with right handle was found i want to set place my window over it. For that i created a timer that runs every 10ms. To place my window over the other i used

::SetWindowPos(hndWin, hndOverlayWin, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);

That works. But when hndWin (that one that should be overlayed) is in background of another window...and i click in hndwin it shortly flickers and the it's send back to background. But when i click a control in my overlaying transparent window the underlying window comes to front. But not if i click an area in the window that's overlayed.

The next thing is that the overlayed window is minimized and clicked in the taksbar, both windows should appear in front.


I'm happy if someone can help!!!

Thank you!
QuestionVisual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
Mark C. Malburg29-May-09 5:19
Mark C. Malburg29-May-09 5:19 
AnswerRe: Visual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
BobInNJ29-May-09 6:56
BobInNJ29-May-09 6:56 
Answer[OT] Re: Visual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
David Crow29-May-09 7:36
David Crow29-May-09 7:36 
GeneralRe: [OT] Re: Visual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
Mark C. Malburg29-May-09 8:13
Mark C. Malburg29-May-09 8:13 
AnswerRe: Visual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
Joe Woodbury29-May-09 13:30
professionalJoe Woodbury29-May-09 13:30 
AnswerRe: Visual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
bodhi rayo11-Oct-10 7:24
bodhi rayo11-Oct-10 7:24 
GeneralRe: Visual C++ 6.0 - can't "File Open" after IE 8 and Vista SP2 Pin
Mark C. Malburg11-Oct-10 8:09
Mark C. Malburg11-Oct-10 8:09 
QuestionCRichtEditView Vertical Auto Scrolling Pin
susanne129-May-09 4:50
susanne129-May-09 4:50 
QuestionWhy the caret of edit control disappeared when it was associated the class encapsulated with my own dll built with CEdit? Pin
bdwzz29-May-09 4:05
bdwzz29-May-09 4:05 
QuestionC + + by diary Pin
anassamar29-May-09 3:12
anassamar29-May-09 3:12 
QuestionRe: C + + by diary Pin
Michael Schubert29-May-09 3:21
Michael Schubert29-May-09 3:21 
AnswerRe: C + + by diary Pin
anassamar1-Jun-09 10:57
anassamar1-Jun-09 10:57 
GeneralRe: C + + by diary Pin
Michael Schubert1-Jun-09 13:02
Michael Schubert1-Jun-09 13:02 
JokeRe: C + + by diary Pin
_AnsHUMAN_ 29-May-09 3:47
_AnsHUMAN_ 29-May-09 3:47 
GeneralRe: C + + by diary Pin
Hamid_RT29-May-09 4:20
Hamid_RT29-May-09 4:20 
AnswerRe: C + + by diary Pin
Single Step Debugger29-May-09 4:11
Single Step Debugger29-May-09 4:11 
AnswerRe: C + + by diary Pin
Hamid_RT29-May-09 4:16
Hamid_RT29-May-09 4:16 

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.