Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!samsung!emory!hubcap!omni!lsalomo From: lsalomo@omni.uucp (Lawrence W Salomon) Newsgroups: comp.os.os2.programmer Subject: Re: Problems with LN_ENTER & DID_OK Message-ID: <10909@hubcap.clemson.edu> Date: 11 Oct 90 14:15:32 GMT References: Sender: news@hubcap.clemson.edu Reply-To: lsalomo@omni.UUCP (Lawrence W Salomon) Distribution: comp.os.os2.programmer Organization: Clemson University Engineering Department Lines: 13 1: I think that it has something to do with protect mode and stack switching when a function gate is invoked. 2: I'm not sure what you are asking. If you are stating that when you have a default pushbutton and the listbox has the focus when enter is pressed, that a WM_COMMAND/DID_OK and WM_CONTROL/LN_ENTER get generated, then you are correct (in 1.2, that is). I never really bothered to try and get around this, but what you could do is take out the default pushbutton and generate the WM_COMMAND/DID_OK yourself (say, when ENTER was pressed and a FILE was highlighted.). Cheers, Q