mle help

new topic     » topic index » view thread      » older message » newer message

Thanks for the help on the crashing routine_id.  Moving the call to =
WinMain to the bottom of the main program rather than in the include files =
worked like a charm.  Now to my next dilemma.

My window consists of three MLEs only.  The first two need to be read-only,=
 while the third is editable.  But I need to be able to scroll the first =
two.  I tried using SetEnable(mle1,0) which did the read-only thing, but =
then I couldn't scroll.  So I enabled the first two, which let me scroll, =
but then they were editable.  I added a LostFocus trap for the third MLE =
which SetFocus back to itself.  So far, so good -- I can scroll the first =
two boxes, and they remain read-only.  But now, I have no caret in the =
third MLE.
So I say to myself, I'll just change the background color to the first two =
using SetWindowBackColor.  That didn't work, so I'd use SetBackColor.  =
Still no go.  Try repaintWindow after setting a background color.  No =
dice.  Set the background color of the MLE, the whole window, both -- =
nothing.
So I say again, Let's just change the text color with SetTextColor.  Argh! =
 It's doesn't work.  I can change the font and the font size, but why not =
the color? =20
No caret, no background color, no text color.  BTW: I'm using setText to =
control what appears in the first two MLEs.  Any suggestions other than =
using wPuts?
Also, when I setText(mle3,""), I still get a blank line in the box.  How =
do I get rid of it?

TIA,
Michael J. Sabal
mjs at osa.att.ne.jp=20

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu