Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Edit Control Overstrike

Status
Not open for further replies.

victorv

Vendor
Aug 20, 2002
862
IT
hi,
Is it possible set an Edit Control (ie in a Dialog Box)
in Overstrike Mode ?

I have looked for it, but nothing found.

I have implemented a solution which captures EN_CHANGE
message, but is almost complicated.

bye
 
what do you mean(sorry for stupid question)

Ion Filipski
1c.bmp
 
hi, Ion Filipski
for "Overstrike Mode", I mean the opposite of "Insert Mode":
when you go to write in a Control that already contains
text, your chars do not insert inside previous,
but they OverWrite them.

Thank.
 
why do you need to insert overwrite some existing string with an identiall one? You may just check if it exists there and do not insert if yes.

Ion Filipski
1c.bmp
 
hi, the previuos post was appreciable: the word
overstrike (common in other system) may be not
extremely clear in windows environment (however
the key Ins, exists also in PC Keyboard, and it is not
a my invention).
Also using Word, its behaviour changes if Ins key is
pressed or not, owerwriting previous characters (under caret) or not.

My problem is in an intesive data entry program that I am building. If I have a Line and in it I have to substitute
just a part of it, it is more ergonomic and sure, to overwrite the old word, rather than erase it, and re-write.

However, Ion Filipski, I don't need to write "Black" over
"Black" word, but write "Red ", without needing to erase first old chars.

I ensure you, that this was an interesting programming argument, before spending 4 posts to say trivial things.

I suggest to refrain posting similar comment as "overwrite some existing string with an identiall one".



 
I suggest you to reformulate your question and be more explicitly.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top