🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #706

Re: OWL an ListBoxes

#706
From: George Mills
Date: Fri, 18 Dec 1992 16:33
14 lines
908 bytes
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
> 
Technical Details
Message-ID: <mills.724696382@dialup.athena.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!amber!dialup.athena.lkg.dec.com!mills
References: <pjsmith.724655758@vincent1.iastate.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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