By macosxnerd101
via dreamincode.net
Published: Nov 25 2012 / 07:38
In this tutorial, we will address that issue by handling the WM_PASTE message. This will intercept the WM_PASTE message, trim any leading and trailing spaces/tabs, check the length of the text to be pasted, and check for a valid IP address, then if all is good, write the modified text back to the clipboard and allow pasting.
Add your comment