🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3400

Sensing focus in a dialog box

#3400
From: Brian Goble
Date: Tue, 25 Jun 1991 21:02
19 lines
1256 bytes
I have a dialog box with a bunch of edit windows (single-line).  
When the user enters info into the first edit box and then tabs to
the next edit box I want to know that something is in that first
edit box and use it to load in some other info.

Right now, I have the user press return and I can determine if they
have only entered info into the first box.  But I want it to be so
they just hit tab or click somewhere else.

How do I have the edit window alert my Dialog Box window function
when it has gained or lost the input focus?  I know there exist messages
that have this info in one of the Params but I can't figure out how to
access the edit control message from the dialog box function.  

Thanx for any help!!!


Brian Goble	|	goble@wolf.cs.washington.edu
Technical Details
Message-ID: <1991Jun25.210210.3046@beaver.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!goble

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!zephyr.ens.tek.com!uw-beaver!goble
From: goble@cs.washington.edu (Brian Goble)
Newsgroups: comp.windows.ms.programmer
Subject: Sensing focus in a dialog box
Message-ID: <1991Jun25.210210.3046@beaver.cs.washington.edu>
Date: 25 Jun 91 21:02:10 GMT
Sender: goble@wolf.cs.washington.edu (Brian Goble)
Organization: University of Washington Computer Science
Lines: 19