Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!tedb From: tedb@hpcvra.cv.hp.com. (Ted Beers) Newsgroups: comp.windows.ms Subject: Re: buttons in the main window Message-ID: <25690003@hpcvra.cv.hp.com.> Date: 19 Mar 91 19:55:03 GMT References: Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 15 / hpcvra.cv.hp.com:comp.windows.ms / dick@prisma.cv.ruu.nl (Dick Bakker) / 1:43 pm Mar 18, 1991 / > My problem is: I want to have some controls : buttons/listboxes etc > in my main window that can directly be selected by the user. > I used a modeless dialog box that I positioned next to my drawing area > but this is highlighted every time you switch from the graphics area to > the dialog box. > Dick Bakker You can create controls within your main window, without having them be contained in a dialog box. See the Windows SDK Guide to Programming, Chapter 8 ("Controls"), for more information. Ted W. Beers