VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Add Images to Rich Textbox Controls

by Michael Drotar (3 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (14 Votes)

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

Download Add Images to Rich Textbox Controls

Download Add Images to Rich Textbox Controls (5 KB)

Add Images to Rich Textbox Controls Comments

No comments have been posted about Add Images to Rich Textbox Controls. Why not be the first to post a comment about Add Images to Rich Textbox Controls.

Post your comment

Subject:
Message:
0/1000 characters