home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!amber!dialup.athena.lkg.dec.com!mills
- From: mills@athena.lkg.dec.com (George Mills)
- Newsgroups: comp.os.ms-windows.programmer.tools
- Subject: Re: OWL an ListBoxes
- Keywords: windows, OWL
- Message-ID: <mills.724696382@dialup.athena.lkg.dec.com>
- Date: 18 Dec 92 16:33:02 GMT
- References: <pjsmith.724655758@vincent1.iastate.edu>
- Lines: 14
-
- pjsmith@iastate.edu (Phil J Smith) writes:
-
- >I have a listbox in a dialog box that is supposed to display a directory list.
- >The problem is that I can't get it to display the directory until I click in
- >it. I would like the directory to be displayed when the dialog box is opened.
- >I have tried SendDlgItemMsg(id,LBN_SETFOCUS,0,0) but that does not seem to
- >work. Any ideas?
-
- Create a virtual function for WM_INITDIALOG and initialize your box there.
-
- >Thanks,
-
- >Phil Smith
- >
-