Article View: comp.windows.ms.programmer
Article #3203Re: Read-only Edit Windows
From: John Allen on wsl
Date: Tue, 11 Jun 1991 22:14
Date: Tue, 11 Jun 1991 22:14
17 lines
1079 bytes
1079 bytes
In article <5266@servax0.essex.ac.uk> whisd@essex.ac.uk (Whiteside S D B) writes: > >I had a query about Read-Only Edit windows. > >Many thanks to all who sent me suggestions on how to implement them. > >Following up on some of them, I have found one solution to the problem: > >i) Subclass the edit window (using SetWindowLong, GetWindowLong and >CallWindowProc to insert your window procedure before the default one) > Forgive me if I'm missing something, but what is wrong with EnableWnd(hEditWnd, FALSE); // can't edit EnableWnd(hEditWnd, TRUE); // can edit.
Technical Details
Message-ID:
<783@wsl.ie>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!spool.mu.edu!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!wsl!jjaReferences:
<5266@servax0.essex.ac.uk>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!rex!spool.mu.edu!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!wsl!jja From: jja@wsl.ie (John Allen on wsl) Newsgroups: comp.windows.ms.programmer Subject: Re: Read-only Edit Windows Message-ID: <783@wsl.ie> Date: 11 Jun 91 22:14:06 GMT References: <5266@servax0.essex.ac.uk> Reply-To: jja@wsl.ie (John Allen on wsl) Organization: Workhorse Systems Limited, Dublin Lines: 17