Article View: comp.windows.ms.programmer
Article #3404Re: Sensing focus in a dialog box
From: Barry Press
Date: Wed, 26 Jun 1991 00:17
Date: Wed, 26 Jun 1991 00:17
17 lines
1542 bytes
1542 bytes
In article <1991Jun25.210210.3046@beaver.cs.washington.edu> goble@cs.washington.edu (Brian Goble) writes: >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. You should look at the messages related to change of selection in the dialog box. If I recall right, it's EN_SELCHANGE, or something like that. When you get it, then you can do whatever. The actual message you get is the control's ID (forgive me if this is not quite right; I'm doing it from memory) with the notification message in a parameter. Or maybe it's WM_COMMAND with the ID in wParam and the notification in lParam. In any event, it's the standard notification message, and the selection change notification is the ticket. -- Barry Press Internet: press@venice.sedd.trw.com
Technical Details
Message-ID:
<1132@venice.SEDD.TRW.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!aero-c!gumby.dsd.trw.com!trwind!venice!pressReferences:
<1991Jun25.210210.3046@beaver.cs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!aero-c!gumby.dsd.trw.com!trwind!venice!press From: press@venice.SEDD.TRW.COM (Barry Press) Newsgroups: comp.windows.ms.programmer Subject: Re: Sensing focus in a dialog box Message-ID: <1132@venice.SEDD.TRW.COM> Date: 26 Jun 91 00:17:01 GMT References: <1991Jun25.210210.3046@beaver.cs.washington.edu> Reply-To: press@venice.sedd.trw.com (Barry Press) Organization: TRW Systems Engineering & Development Division, Redondo Beach, CA Lines: 17