how insert animated images on Richtextbox?
i can paste the images using clipboard and SendMessage() with WM_PASTE(i'm using windows 7). but the images pasted aren't animated. just copy the 1st frame. can anyone advice me?
Printable View
how insert animated images on Richtextbox?
i can paste the images using clipboard and SendMessage() with WM_PASTE(i'm using windows 7). but the images pasted aren't animated. just copy the 1st frame. can anyone advice me?
Maybe this article: https://www.codeproject.com/Articles...-which-can-dis - will give you some ideas ofwhat would the problem and how to fix it / implement what you need.
that project just add controls:
the big problem is the controls don't be embed.Code:private void button2_Click(object sender, EventArgs e)
{
openFileDialog1.Filter = "Image files(*.jpg,*.gif,*.bmp,*.png)|*.jpg;*.gif;*.bmp;*.png";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
Image theImage = Image.FromFile(openFileDialog1.FileName);
if (!Trestan.Utility.isImageCorrupted(theImage))
{
PseudoHeaderLine();
PictureBox thePic = new PictureBox();
thePic.Image = theImage;
thePic.Size = theImage.Size;
this.richTextBox1.AddControl(thePic);
}
else
{
MessageBox.Show("Say something.");
}
}
}
what you can tell me more?
Nothing...
Just try to search for...
maybe... maybe i found something:
https://www.codeproject.com/Articles...-in-a-ListView
that link is confused for i convert it from C# to VB 2010.
do you know any link for use API OLE for insert controls on richtextbox?