Originally posted by: junk
Hi All
I Use CImageDataObject in MFC Based ActiveX Control
but when call '::OleCreateStaticFromData()'
function return fail....T.T
any body know about this problem??
Originally posted by: Leon
Hi to all!
Can anybody tell me how to show and print tables and boxes in rtf file?
please help me because im stuk with it for few weeks and i dont know how to do that.
thanks!
my email is:Leon@galor.com
Originally posted by: Zunyun Ma
when i insert a bitmap in the CRichEditCtrl which geted from a CRichEditView,but when i exit my program which run in debug mode,it's bring a ASSERT error in the cmdtarg.cpp's function CCmdTarget::~CCmdTarget()
{
#ifndef _AFX_NO_OLE_SUPPORT
if (m_xDispatch.m_vtbl != 0)
((COleDispatchImpl*)&m_xDispatch)->Disconnect();
ASSERT(m_dwRef <= 1);//at the time m_dwRef==2
#endif
#ifdef _AFXDLL
m_pModuleState = NULL;
#endif
}
when i didn't use the function CImageDataObject::InsertBitmap(IRichEditOle* pRichEditOle, HBITMAP hBitmap),then didn't bring on this error.
my program is based on DOC/VIEW/FRAME structure.
can anyone tell me the why?
regards!
Zunyun Ma
Originally posted by: Nghia
Hi
I was able to insert a BITMAP into my Rich Edit Control (REC) using Hani Atassi's technique. Now, how do you retrieve the BITMAP from the REC and any/all of its associated data (eg, width, height, current portion that's displayed, etc) from the REC?. I want to do the drawing of this BITMAP myself.
Thanks in Advance.
Originally posted by: D2MAC
I want to use it in project developed under API programing only. Without MFC???
Does anyone have any idea?
Thanks
Hi,
Originally posted by: James
your answers will be greatly appreciated.
Thanks.
Hi,
I have already insertd a bitmap into a Rich Edit control. but I want to the text circleing the image like MS Word.
(Image ToolBar->Circle)
Originally posted by: Mani
Hi,
I used the static method
static void InsertBitmap(IRichEditOle* pRichEditOle,
HBITMAP hBitmap);
to insert a bitmap into a Rich Edit control. Could someone tell me as to how I can position the bitmap i.e., I need to insert the bitmap at a specific point (x,y) with specific width and height.
your answers will be greatly appreciated.
Thanks.
-ms.
ReplyOriginally posted by: Manuel Riezebosch
Hi,
I want to use the provided code with MFC, but I can't find the last step in the example: finaly putting the bitmap in de CRichEditCtrl...
"Using the returned lpDataObject and the other objects you can insert the Object in the RichEdit."
What function do I have to call? The GetRichEditOle() isn't a (standard) function of CRichEditCtrl.
Please, mail also an answer to me (and post it for other users)
Originally posted by: Lee, Sungshin
I am an engineer developing a messenger solution similar to MSN messenger. I am having a problem regarding bitmap image in the OLE controller and I would appreicate your help.
When I insert bitmap image in the OLE controller provided by RICH EDIT, as expected the memory is increased by the size of bitmap image and when I release the OLE controller the bitmap image is erased. However, I am facing a problem with the size of memory not being decresed by the size of the bitmap erased. Therefore, the memory continues to build up despite the fact I released the OLE controller.
For example, when you colse MSN chatting window after using emoticons, then all the momories are released. However, when I tried this I noticed the memory remains the same and not erased even if I close the chatting window.
I would appreciate if you could provide me with some insight regarding this matter.
Thanks.
ReplyOriginally posted by: devulder
please
thanks,