Re: child window copies from parent "under" it
Wolf,
I tried (& probably originally also tried) just using "WS_CHILD", and the
result was a *borderless* window, with no caption bar, which isn't really
what I was hoping for; that's why I tried combining the frame and menu
styles that I did.
And nothing I saw at MS library site said I shouldn't; here's what it said
about WS_CHILD: Creates a child window. A window with this style cannot
have a menu bar. This style cannot be used with the WS_POPUP style."
So now I have tried, not necessarily for any good reason, "WS_CLIPCHILDREN"
for my parent window, but I get no sysmenu on it to close the main, AND no
sysmenu on the child either, so I can't close either.
I've gotta assume that *someone* has at one time or another for one reason
or another created a "child" window that *works* and isn't strange??
All I'm trying to do is to create an *example* of how to create a child
window, to include with my "examples gateway" for Win32Lib, so if any one
has a better, functional example, please send it to me.
Dan
----- Original Message -----
From: "wolfgang fritz" <wolfritz at KING.IGS.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, September 17, 2000 7:37 AM
Subject: Re: child window copies from parent "under" it
> To answer my own previous question, and clarify my 'complaint' about Dan's
> peculiar child window....
> All the 'rules' regarding WS_ can be found under/after, 'General Window
> Styles' in win32.hlp.
> According to this, one cannot ( legally ! ) combine:
> WS_DLGFRAME, WS_SYSMENU, and WS_CAPTION
> ... and this created the 'strange' window I complained about.
>
> Wolf
|
Not Categorized, Please Help
|
|