🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1567

Re: Problems with LN_ENTER & DID_OK

#1567
From: Lawrence W Salomon
Date: Thu, 11 Oct 1990 14:15
13 lines
1167 bytes
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
Technical Details
Message-ID: <10909@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!samsung!emory!hubcap!omni!lsalomo
References: <SO-ECS.90Oct10133953@stekt.oulu.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <SO-ECS.90Oct10133953@stekt.oulu.fi>
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