Text Editor using VC++
|
Newbie Member
|
|
| 29Jul2008,08:04 | #1 |
|
Want to develop text editor using VC++.Can somebody help me?...
|
|
Go4Expert Founder
|
![]() |
| 29Jul2008,10:29 | #2 |
|
You can use the wizard to have a basic Text Editor Setup in VC
|
|
Newbie Member
|
|
| 30Jul2008,06:36 | #3 |
|
Thanks Shabbir but could you please explain it little bit more
|
|
Go4Expert Founder
|
![]() |
| 30Jul2008,09:14 | #4 |
|
What explanation you need. All you need to do is make the Wizard such that the last Step is Derived from CEditView ( or something similar )
|
|
Newbie Member
|
|
| 31Jul2008,13:59 | #5 |
|
Code:
#include<afxwin.h>
#include "resource.h"
class myframe:public CFrameWnd
{
public:
myframe()
{
Create(0,"Text Editor",WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX|WS_MAXIMIZEBOX,rectDefault,
0,MAKEINTRESOURCE(IDR_MENU1));
}
};
class myapp:public CWinApp
{
public:
int InitInstance()
{
myframe *p;
p=new myframe;
p->ShowWindow(1);
m_pMainWnd = p;
return 1;
}
};
myapp a;
|

