Jump to content
Sign in to follow this  

How does ControlSetText work?

Recommended Posts


I am curious what goes on in the background of ControlSetText(), specifically why controls do not inherit the formatting properties of a string. For example, if you copy some bolded text from an MS Word document (maybe using ClipGet() ), then pasted that it into Notepad, why Notepad would not inherit the formatting properties of that text string? I understand by default that Notepad will never inherit the formatting properties of the Clipboard, but there are other Windows Controls that do, yet using ControlSetText() on those controls does not inherit the formatting, like Bold. I am thinking if I can understand the operations of the function, maybe I can come up with a work around. Thanks

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.