VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Add Images to Rich Textbox Controls

Michael Drotar  (3 Submissions)   Graphics   Visual Basic 5.0   Beginner   Wed 3rd February 2021

I wanted a simple chatroom for a project I was doing.. and not just something dull and boring, but something that'd be fun. Something with... icons!! So after searching high and low for a way to make it possible, I came up with a fast and easy way to make it possible. Through the SendMessage API call and the WM_PASTE constant, I can quickly put any image I want into my Chatroom (a Microsoft RichTextbox control). I've also developed a way to make use of each images .Tag property to not only hold the character combination that activates the image, but to hold multiple ones! Now, whether the person likes :), :-), :o), :smile: or ... just about anything, they can all activate the same image! Included in this project is a frmReadme that will help familiarize you with how it all works. Please leave your feedback and votes to let me know what you think. If you don't like it, that's fine, just give me some reasons why so I can improve it to fit your tastes, okay? Happy Coding!

Rate Add Images to Rich Textbox Controls (14(14 Vote))

Download Add Images to Rich Textbox Controls

Add Images to Rich Textbox Controls Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters