home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / tools / 1763 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  884 b 

  1. Path: sparky!uunet!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!amber!dialup.athena.lkg.dec.com!mills
  2. From: mills@athena.lkg.dec.com (George Mills)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Re: OWL an ListBoxes
  5. Keywords: windows, OWL
  6. Message-ID: <mills.724696382@dialup.athena.lkg.dec.com>
  7. Date: 18 Dec 92 16:33:02 GMT
  8. References: <pjsmith.724655758@vincent1.iastate.edu>
  9. Lines: 14
  10.  
  11. pjsmith@iastate.edu (Phil J Smith) writes:
  12.  
  13. >I have a listbox in a dialog box that is supposed to display a directory list.
  14. >The problem is that I can't get it to display the directory until I click in
  15. >it.  I would like the directory to be displayed when the dialog box is opened.
  16. >I have tried SendDlgItemMsg(id,LBN_SETFOCUS,0,0) but that does not seem to 
  17. >work.  Any ideas?
  18.  
  19. Create a virtual function for WM_INITDIALOG and initialize your box there.
  20.  
  21. >Thanks,
  22.  
  23. >Phil Smith
  24.