[comp.windows.ms.programmer] Adding controls to a non-dialog window

tom@mims-iris.waterloo.edu (Tom Haapanen) (11/09/90)

Someone asked a question a few weeks ago (more than 2, it has expired on
our system) about how to add controls to a non-dialog box window.  I
thought it'd be a good item to add to the FAQ list --- could someone let
me know the answer by mail?  Thanks...

[ \tom haapanen --- university of waterloo --- tom@mims-iris.waterloo.edu ]
[ "i don't even know what street canada is on"               -- al capone ]

spolsky-joel@cs.yale.edu (Joel Spolsky) (11/09/90)

In article <1990Nov9.131252.6330@watserv1.waterloo.edu> tom@mims-iris.waterloo.edu (Tom Haapanen) writes:
>Someone asked a question a few weeks ago (more than 2, it has expired on
>our system) about how to add controls to a non-dialog box window.  

Easy - just create a child window using CreateWindow, with the style
being "button", "listbox", or whatever. Controls are just child
windows.

Joel Spolsky
spolsky@cs.yale.edu                                     Silence = Death