Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > TTaeRichEdit - inserting bitmap or icon (smiley)
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 22nd July 08:04
jeff slavin
External User
 
Posts: 1
Default TTaeRichEdit - inserting bitmap or icon (smiley)



i've tried using TTaeRichEdit->InsertBitmap(....)

and i have a global variable (just for testing) called
Graphics::TBitmap * bitmap1;

then when the user clicks a button i have
bitmap1 = new Graphics::TBitmap();
bitmap1->LoadFromFile(filename);
rchView->InsertBitmap(bitmap1);

(i also delete teh bitmap1 when the form is closed)..

for some reason the bitmap never shows up.

but the bitmap does not show up.
  Reply With Quote


  sponsored links


2 22nd July 08:04
jeff slavin
External User
 
Posts: 1
Default TTaeRichEdit - inserting bitmap or icon (smiley)



anyone happen to know how to insert a bitmap file (or an icon) into a
TTaeRichEdit component? i basically want to search to see if the user typed
":-)" anywhere and replace it with the bitmap i have stored. i know how to
find the smiley, just not sure about inserting the bitmap.. i'm pretty sure
i need to use the OLE support...

any help will be appreciated.

Thanks in advance,
Jeff Slavin
JSlavinNU@aol.com
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666