Click here to Skip to main content
15,868,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Quick ideas for activation Pin
Sebastian Schneider5-Jan-06 20:37
Sebastian Schneider5-Jan-06 20:37 
AnswerRe: Quick ideas for activation Pin
TheGreatAndPowerfulOz5-Jan-06 20:33
TheGreatAndPowerfulOz5-Jan-06 20:33 
GeneralRe: Quick ideas for activation Pin
Alex Korchemniy6-Jan-06 7:32
Alex Korchemniy6-Jan-06 7:32 
Questionresolve crossed-bounds text Pin
s o v a n n5-Jan-06 14:51
s o v a n n5-Jan-06 14:51 
QuestionRetrofitting an MFC app to ActiveX Pin
Graham Reeds5-Jan-06 12:57
Graham Reeds5-Jan-06 12:57 
AnswerRe: Retrofitting an MFC app to ActiveX Pin
John R. Shaw5-Jan-06 13:20
John R. Shaw5-Jan-06 13:20 
GeneralRe: Retrofitting an MFC app to ActiveX Pin
Graham Reeds5-Jan-06 13:27
Graham Reeds5-Jan-06 13:27 
GeneralRe: Retrofitting an MFC app to ActiveX Pin
John R. Shaw6-Jan-06 17:17
John R. Shaw6-Jan-06 17:17 
Generalizing/Seperating is a problem, in MFC you can create an CRichEditView. But the CRichEditView is the top of the food chain, at the bottom is the actual RichEdit control. You can use the control seperate from the the view (like in a dialog), but you would might have to provide your own programmers interface.

CRichEditView provides a programmers interface that provides wrapping for the CRichEditCtrl programmers interface, which provides wrapping for the actual RichEdit control interface (IRichEditOle). The RichEdit control is not dependent on MFC (as far as I know).

The general idea is to seperate the code that actualy does the work from the type of window where the results are displayed, if possible.

Yes, I know it sounds very complicate (and it is), but that is what it amounts to.

Personaly I hate dealing with COM at the lowest level, that's why wizards are so important. Imagine trying to write all that code youself.

If you can and are allowed to convert the code into C#, provided it will make life easier, then go ahead. From what I have seen, sooner or later, some one will be asking if there is a programmer that can convert the C# code to C++.

I know none of this realy helps you, but I thought I would give you my general veiws on the subject.



INTP
Every thing is relative...
Questionstl list<>::iterator for derived classes ?!? Pin
tbrake5-Jan-06 11:49
tbrake5-Jan-06 11:49 
AnswerRe: stl list<>::iterator for derived classes ?!? Pin
Christian Graus5-Jan-06 11:58
protectorChristian Graus5-Jan-06 11:58 
GeneralRe: stl list::iterator for derived classes ?!? Pin
tbrake5-Jan-06 12:08
tbrake5-Jan-06 12:08 
GeneralRe: stl list::iterator for derived classes ?!? Pin
Christian Graus5-Jan-06 12:11
protectorChristian Graus5-Jan-06 12:11 
QuestionRe: stl list::iterator for derived classes ?!? Pin
tbrake5-Jan-06 12:29
tbrake5-Jan-06 12:29 
AnswerRe: stl list::iterator for derived classes ?!? Pin
Christian Graus5-Jan-06 12:32
protectorChristian Graus5-Jan-06 12:32 
GeneralRe: stl list::iterator for derived classes ?!? Pin
tbrake5-Jan-06 12:43
tbrake5-Jan-06 12:43 
GeneralRe: stl list::iterator for derived classes ?!? Pin
Christian Graus5-Jan-06 12:46
protectorChristian Graus5-Jan-06 12:46 
AnswerRe: stl list<>::iterator for derived classes ?!? Pin
Christian Graus5-Jan-06 12:55
protectorChristian Graus5-Jan-06 12:55 
QuestionGet Status of Comm Port Pin
tj_cts5-Jan-06 9:00
tj_cts5-Jan-06 9:00 
AnswerRe: Get Status of Comm Port Pin
KellyR5-Jan-06 9:12
KellyR5-Jan-06 9:12 
GeneralRe: Get Status of Comm Port Pin
tj_cts5-Jan-06 10:12
tj_cts5-Jan-06 10:12 
GeneralRe: Get Status of Comm Port Pin
Blake Miller5-Jan-06 12:31
Blake Miller5-Jan-06 12:31 
QuestionHow to submit information from an application? Pin
kevincwong5-Jan-06 8:47
kevincwong5-Jan-06 8:47 
AnswerRe: How to submit information from an application? Pin
Office Lineman5-Jan-06 9:19
Office Lineman5-Jan-06 9:19 
GeneralRe: How to submit information from an application? Pin
kevincwong6-Jan-06 11:50
kevincwong6-Jan-06 11:50 
GeneralRe: How to submit information from an application? Pin
Office Lineman6-Jan-06 12:19
Office Lineman6-Jan-06 12:19 

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.