Click here to Skip to main content
16,012,116 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Partial Specialisation Pin
Leo Davidson7-Dec-00 9:17
Leo Davidson7-Dec-00 9:17 
GeneralRe: Partial Specialisation Pin
Erik Funkenbusch7-Dec-00 9:30
Erik Funkenbusch7-Dec-00 9:30 
GeneralRe: Partial Specialisation Pin
Jonathan Gilligan7-Dec-00 21:30
Jonathan Gilligan7-Dec-00 21:30 
GeneralRe: Partial Specialisation (again) Pin
Erik Funkenbusch8-Dec-00 10:28
Erik Funkenbusch8-Dec-00 10:28 
GeneralODBC API stuff Pin
Steve Driessens5-Dec-00 16:34
Steve Driessens5-Dec-00 16:34 
GeneralRe: ODBC API stuff Pin
6-Dec-00 5:12
suss6-Dec-00 5:12 
GeneralRe: ODBC API stuff Pin
Steve Driessens6-Dec-00 17:22
Steve Driessens6-Dec-00 17:22 
GeneralMFC ACctiveX Pin
5-Dec-00 14:56
suss5-Dec-00 14:56 
I am trying to create a webbased text editor using MFC ActiveX.

To do this, I created an MFC activeX file with all the default options.

Then, I created a new class using the Wizard, which subclasses RichEditCtrl.

I included the header file of this class to my main ActiveX file(i.e. xxxCtl.h
file ) , created a member variable for the RichEditCtrl class inside my xxxCtl.h
file and then, used its Create method, to create an instance of it within
my ActiveX's OnCreate method.

i.e.
in my header, I got

CRichEditor x;

in my ActiveX cpp, I got

CMainCtrl::OnCreate()
{
...
x.Create(.......);

}

That's all fine as I get one big honking Edit box.

But now, I want to add menus and stuff and can't figure out a way to do that.

Anyone out there would know about this? Typically, menus are part of the
CMainFrame, but since this is an AcitveX and has no frame, I am not sure
where I could create it!

I would really appreciate the feedback!

thanks

GeneralRe: MFC ACctiveX Pin
Erik Funkenbusch6-Dec-00 10:56
Erik Funkenbusch6-Dec-00 10:56 
GeneralRe: MFC ACctiveX Pin
7-Dec-00 12:00
suss7-Dec-00 12:00 
GeneralNetbios Pin
Den5-Dec-00 10:50
Den5-Dec-00 10:50 
GeneralRe: Netbios Pin
Christian Graus5-Dec-00 13:59
protectorChristian Graus5-Dec-00 13:59 
GeneralRe: Netbios Pin
Den8-Dec-00 3:06
Den8-Dec-00 3:06 
Generalcreate a template list class assignment please help Pin
5-Dec-00 10:12
suss5-Dec-00 10:12 
GeneralMFC Objective Edit Control inside ATL CWindowImpl class Pin
Alexander Klinsky5-Dec-00 8:50
Alexander Klinsky5-Dec-00 8:50 
QuestionHow to update running EXE? Pin
Matt Philmon5-Dec-00 8:19
Matt Philmon5-Dec-00 8:19 
AnswerRe: How to update running EXE? Pin
Jim Howard5-Dec-00 8:39
Jim Howard5-Dec-00 8:39 
GeneralRe: How to update running EXE? Pin
Matt Philmon5-Dec-00 9:40
Matt Philmon5-Dec-00 9:40 
GeneralRe: How to update running EXE? Pin
ColinDavies5-Dec-00 10:42
ColinDavies5-Dec-00 10:42 
AnswerRe: How to update running EXE? Pin
10-Dec-00 17:31
suss10-Dec-00 17:31 
GeneralBug in ListCtrl with GRIDLINES (ComCtl32.dll) Pin
5-Dec-00 7:37
suss5-Dec-00 7:37 
GeneralSubclassDlgItem Pin
5-Dec-00 7:34
suss5-Dec-00 7:34 
GeneralSmall Icons with CDC::DrawIcon Pin
5-Dec-00 7:22
suss5-Dec-00 7:22 
GeneralRe: Small Icons with CDC::DrawIcon Pin
Michael Dunn5-Dec-00 9:15
sitebuilderMichael Dunn5-Dec-00 9:15 
GeneralAccessing the scroll bars of a CView Pin
5-Dec-00 6:28
suss5-Dec-00 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.