Path: utzoo!attcan!uunet!husc6!yale!cs.yale.edu!spolsky-joel From: spolsky-joel@cs.yale.edu (Joel Spolsky) Newsgroups: comp.windows.ms.programmer Subject: Re: Adding controls to a non-dialog window Message-ID: <27184@cs.yale.edu> Date: 9 Nov 90 14:28:51 GMT References: <1990Nov9.131252.6330@watserv1.waterloo.edu> Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 10 Nntp-Posting-Host: zoo-gw.cs.yale.edu Originator: spolsky@suned.CS.Yale.Edu 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