|
|
Let the user insert OLE objects in a RichTextBox control
|
Total Hit (2618) |
A little-known feature of the RichTextBox control allows you to insert an OLE object in the text being edited. However, you can do so only programmatically, by adding an element to the OleObjects collection. An easy way to let the user select the object to be embedded in the control is using the Ins
....Read More |
Rating
|
|
|
Insert a picture into a RichTextBox control
|
Total Hit (4044) |
Here's a simple method to programmatically insert an image into a RichTextBox control, by copying it into the clipboard and then pasting it into the control:
«Code LangId=1»
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _
hwnd As Long, ByVal wMsg As Long, By
....Read More |
Rating
|
|
|
Let the user add tab characters to a RichTextBox control
|
Total Hit (3077) |
Here's a simple method to programmatically insert an image into a RichTextBox control, by copying it into the clipboard and then pasting it into the control:
«Code LangId=1»
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _
hwnd As Long, ByVal wMsg As Long, ByV
....Read More |
Rating
|
|
|
|
How to disable word wrap in RichTextBox control
|
Total Hit (2985) |
By default rich textbox control wrap a long line. Sometimes we want to disable this inbuilt feature then here is some trick.
set RightMargin property to an arbitary high value which will not wrap your long line.
Happy Programming....
|
Rating
|
|
|
|