Click here to Skip to main content
15,920,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Maximum number of threads.. Pin
Laing,James4-Jul-04 0:13
Laing,James4-Jul-04 0:13 
GeneralRe: Maximum number of threads.. Pin
Graham Bradshaw4-Jul-04 0:48
Graham Bradshaw4-Jul-04 0:48 
GeneralRe: Maximum number of threads.. Pin
Laing,James4-Jul-04 1:08
Laing,James4-Jul-04 1:08 
QuestionHow to Capture Screen with DirectX 8 or 9 ? >"< Pin
cher88230333-Jul-04 6:42
cher88230333-Jul-04 6:42 
GeneralCustom Controls in/within MFC Pin
0v3rloader3-Jul-04 4:33
0v3rloader3-Jul-04 4:33 
GeneralRe: Custom Controls in/within MFC Pin
Johan Rosengren3-Jul-04 6:01
Johan Rosengren3-Jul-04 6:01 
GeneralRe: Custom Controls in/within MFC Pin
0v3rloader3-Jul-04 6:59
0v3rloader3-Jul-04 6:59 
QuestionSave a CString ??? Pin
Larsson3-Jul-04 3:47
Larsson3-Jul-04 3:47 
AnswerRe: Save a CString ??? Pin
Ken Mazaika3-Jul-04 4:40
Ken Mazaika3-Jul-04 4:40 
GeneralRe: Save a CString ??? Pin
Larsson3-Jul-04 5:20
Larsson3-Jul-04 5:20 
GeneralRe: Save a CString ??? Pin
User 66583-Jul-04 6:17
User 66583-Jul-04 6:17 
AnswerRe: Save a CString ??? Pin
PJ Arends3-Jul-04 6:42
professionalPJ Arends3-Jul-04 6:42 
GeneralRe: Save a CString ??? Pin
Graham Bradshaw3-Jul-04 7:35
Graham Bradshaw3-Jul-04 7:35 
GeneralRe: Save a CString ??? Pin
PJ Arends3-Jul-04 8:02
professionalPJ Arends3-Jul-04 8:02 
GeneralRe: Save a CString ??? Pin
Graham Bradshaw3-Jul-04 13:03
Graham Bradshaw3-Jul-04 13:03 
Generalinvisible window with activex control Pin
maruku3-Jul-04 1:58
maruku3-Jul-04 1:58 
GeneralRe: invisible window with activex control Pin
Ryan Binns4-Jul-04 18:39
Ryan Binns4-Jul-04 18:39 
GeneralRe: invisible window with activex control Pin
maruku5-Jul-04 22:46
maruku5-Jul-04 22:46 
GeneralRe: invisible window with activex control Pin
Ryan Binns5-Jul-04 22:58
Ryan Binns5-Jul-04 22:58 
That's what you'd have to do. You can't use Windows to make a parent invisible and its children visible, so you'll have to subclass the parent window and do no drawing (not just in OnPaint()/OnEraseBackground(), but anywhere), and also add the WS_EX_TRANSPARENT extended window style so that mouse clicks go "through" the window to the window underneath.

Be careful with your definitions. There is a difference between an invisible window (one hidden with ShowWindow()) and a window that you simply don't paint. For instance, if I create a top-level window that covers the entire screen and don't do any drawing, then whatever is underneath it will be visible (it will be "invisible") but it will still capture mouse clicks and prevent the user from interacting with any other windows. If the window is hidden with ShowWindow(), it doesn't have any side-effects.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralCDateTimeCtrl init Pin
JabraJabra3-Jul-04 0:48
JabraJabra3-Jul-04 0:48 
GeneralRe: CDateTimeCtrl init Pin
Gary R. Wheeler3-Jul-04 2:38
Gary R. Wheeler3-Jul-04 2:38 
GeneralRe: CDateTimeCtrl init Pin
JabraJabra5-Jul-04 5:52
JabraJabra5-Jul-04 5:52 
Questionhow can i make setup of my application Pin
Anonymous2-Jul-04 23:30
Anonymous2-Jul-04 23:30 
AnswerRe: how can i make setup of my application Pin
eugi3-Jul-04 0:14
eugi3-Jul-04 0:14 
AnswerRe: how can i make setup of my application Pin
Brad Bruce3-Jul-04 2:34
Brad Bruce3-Jul-04 2:34 

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.