Article View: comp.os.os2
Article #689MLE control problems
From: Paul G. Weiss
Date: Mon, 02 Jul 1990 16:40
Date: Mon, 02 Jul 1990 16:40
45 lines
2128 bytes
2128 bytes
This is addressed to anyone at Microsoft or anyone who has
experience using Multiple Line Edit-Field controls.
I have noticed some odd behavior of MLE's when running under
the debugging kernel. The version of OS/2 I am running is
OS/2 1.20 and the debugging kernel identifies itself with
this message:
Presentation Manager Driver 12.164 (Debug Version) - (WINBLD12)
Here are the problems:
(1) Whenever you change the size of a MLE window it generates
the following message on the debugging screen:
GRE00128E PMERR_INV_HRGN
(2) If you have word wrapping enabled and the MLE is minimized
and you try to insert text using MLM_INSERT the system hangs.
Presumably the word-wrap algorithm is hopelessly confused about
the zero size of the window.
(3) If the control is read-only, the ctrl+ins accelerator (COPY)
does work. It does work if the control is not read-only. Since
COPY does not modify the te, this makes no sense.
(4) This one is what really worries me. If you use n MLE's in
the course of an application, when you close the application you
get n copies of the following message on the debugging screen:
Process Termination -- Deleting a region...
It appears that the MLE is leaving something around even after it
is destroyed. My application uses MLE's to display information
and creates and destroys them constantly during the course of a
session. I am concerned that I am using up a system resource by
doing this, since the MLE's don't appear to be releasing all of
its resources properly.
Questions:
(A) Has this problem been fixed in OS/2 1.21?
(B) If not, is there a known workaround, e.g. can I subclass the
control and destroy this region by handling WM_DESTROY?
Thanks,
Paul Weiss
Technical Details
Message-ID:
<WEISS.90Jul2124036@toucan.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!mintaka!mintaka!weissShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!mintaka!mintaka!weiss From: weiss@theory.lcs.mit.edu (Paul G. Weiss) Newsgroups: comp.os.os2 Subject: MLE control problems Message-ID: <WEISS.90Jul2124036@toucan.lcs.mit.edu> Date: 2 Jul 90 16:40:36 GMT Sender: news@mintaka.lcs.mit.edu Distribution: comp Organization: MIT Lab for Computer Science Lines: 45