Re: How to make TextBox read only but look normal

new topic     » goto parent     » topic index » view thread      » older message » newer message
AndyDrummond said...
Dan_M said...

but in this method, couldn't app user still PASTE into the text box?

dan

You're probably right. I wasn't thinking that way. I'm not sure how you could intercept this process; maybe w32HChange would be a better one. I'm not sure if it would be called prior to the change being executed. I suppose I shall have to try it myself now! Back later if I have any answers...

Andy

That's why I thought it would be best to just initially make the edit text a "read only", and then use "removeStyle(EditId,ES_READONLY) to allow editing. Only problem (!) is that it doesn't seem to work, though I can't see why not.

dan

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

Search



Quick Links

User menu

Not signed in.

Misc Menu