Click here to Skip to main content
15,904,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Generalapp design question Pin
JabraJabra2-Jul-04 22:12
JabraJabra2-Jul-04 22:12 
GeneralRe: app design question Pin
Johan Rosengren2-Jul-04 23:40
Johan Rosengren2-Jul-04 23:40 
GeneralAdding TextToSpeech control to Dialog Editor Pin
Still learning how to code2-Jul-04 21:58
Still learning how to code2-Jul-04 21:58 
GeneralLast Boot Time Pin
Renjith Ramachandran2-Jul-04 19:34
Renjith Ramachandran2-Jul-04 19:34 
GeneralRe: Last Boot Time Pin
parths2-Jul-04 19:40
parths2-Jul-04 19:40 
GeneralRe: Last Boot Time Pin
Renjith Ramachandran2-Jul-04 21:30
Renjith Ramachandran2-Jul-04 21:30 
GeneralRe: Last Boot Time Pin
Graham Bradshaw3-Jul-04 2:54
Graham Bradshaw3-Jul-04 2:54 
GeneralCString to const char* conversion Pin
sugumar2-Jul-04 19:14
sugumar2-Jul-04 19:14 
GeneralRe: CString to const char* conversion Pin
Ken Mazaika2-Jul-04 19:19
Ken Mazaika2-Jul-04 19:19 
GeneralRe: CString to const char* conversion Pin
sugumar2-Jul-04 19:27
sugumar2-Jul-04 19:27 
GeneralRe: CString to const char* conversion Pin
PJ Arends2-Jul-04 19:38
professionalPJ Arends2-Jul-04 19:38 

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.