Hi!
I´d like to create a pattern-brush from a bitmap in a CPictureHolder-object. I´ve tried it this way:
IPicture* iPicture=m_Picture.m_pPict;
HBRUSH PatternBrush=NULL;
OLE_HANDLE hPic;
iPicture->get_Handle(&hPic);
PatternBrush=CreatePatternBrush((HBITMAP)hPic);
m_Picture is the...
Hi Friends!
I´ve created an ActiveX Control with the Visual C++ MFC-ActiveX-Control-Wizard.
My Control is to be used (besides the normal use for example in VB forms) as OLE-object in Microsoft Word. When inserting it in a Word-document it is a windowless control in an inactive state.
What i want...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.