🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1877

OWL TListBox Selection Change

#1877
From: Dave Plummer
Date: Sun, 27 Dec 1992 19:41
19 lines
1340 bytes
I've got an application that uses a Dialog as the main window, and in that
dialog is a listbox.  When the user selects a line from the listbox, the
dialog gets the LBL_SELCHANGE and updates some other info on the screen.
That works fine.

However, I also have a speedsearch function, which also works.  The problem
is, when the speedsearch within the listbox changes the selection, the dialog
has no way of knowing, and can't update the other screen information.  The
listbox doesn't have access back to the dialog, so I can't call the routine
manually.

What I really need to do is fake an LBL_SELCHANGE message when I change
the selection manually.  Then the dialog will handle it.  Unfortunately,
SetSelString() doesn't do this... and I don't know how.

Any suggestions greatly appreciated.  Please email me, if you can.

Thanks,
Dave
Technical Details
Message-ID: <1992Dec27.194112.706683@sue.cc.uregina.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!sue!hercules.cs.uregina.ca!plummer

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!sue!hercules.cs.uregina.ca!plummer
From: plummer@hercules.cs.uregina.ca (Dave Plummer)
Subject: OWL TListBox Selection Change
Sender: news@sue.cc.uregina.ca
Message-ID: <1992Dec27.194112.706683@sue.cc.uregina.ca>
Date: Sun, 27 Dec 1992 19:41:12 GMT
Organization: University of Regina, SK, Canada
Lines: 20