Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Filling a Solid Rect Pin
Jon Hulatt4-Oct-01 22:58
Jon Hulatt4-Oct-01 22:58 
GeneralRe: Filling a Solid Rect Pin
Bret Faller5-Oct-01 6:46
Bret Faller5-Oct-01 6:46 
GeneralRight click on taskbar button. Pin
Christian Graus4-Oct-01 13:44
protectorChristian Graus4-Oct-01 13:44 
GeneralRe: Right click on taskbar button. Pin
Mike Nordell4-Oct-01 14:07
Mike Nordell4-Oct-01 14:07 
GeneralRe: Right click on taskbar button. Pin
Christian Graus4-Oct-01 14:40
protectorChristian Graus4-Oct-01 14:40 
GeneralRe: Right click on taskbar button. Pin
Mike Nordell4-Oct-01 15:17
Mike Nordell4-Oct-01 15:17 
QuestionMaximized MDI Child window flicker? Pin
gh4-Oct-01 13:10
gh4-Oct-01 13:10 
GeneralCRichEditView Pin
4-Oct-01 12:45
suss4-Oct-01 12:45 
First of all.. I'm new to MFC Smile | :)

In my mdi app I have a class which derives from CRichEditView. Since I want to be able to use the extended capabilities of Rich Edit 2.0 I added this to my class.

BOOL MyTextView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Add your specialized code here and/or call the base class
CCtrlView::m_strClass = "RICHEDIT_CLASS";
return CRichEditView::PreCreateWindow(cs);
}

This works fine except from when I try to create the window. The call to CreateWindowEx in CWnd fails, GetLastError returns 0 and I get the message that an empty document couldn't be created. It's feels like I'm on the right track but I have no idea what to do next

/Eric
GeneralRe: CRichEditView Pin
Tomasz Sowinski4-Oct-01 12:53
Tomasz Sowinski4-Oct-01 12:53 
QuestionHelp button on tool window titlebar? Pin
4-Oct-01 12:18
suss4-Oct-01 12:18 
GeneralCatching special key-presses in an ActiveX within IE Pin
4-Oct-01 11:54
suss4-Oct-01 11:54 
GeneralOL2k Addin DLL Problem Pin
DVryce4-Oct-01 8:42
DVryce4-Oct-01 8:42 
GeneralRe: OL2k Addin DLL Problem Pin
Bret Faller4-Oct-01 9:10
Bret Faller4-Oct-01 9:10 
GeneralRe: OL2k Addin DLL Problem Pin
DVryce5-Oct-01 8:54
DVryce5-Oct-01 8:54 
GeneralPassing Arguments Pin
luke_ratliff4-Oct-01 8:06
luke_ratliff4-Oct-01 8:06 
GeneralRe: Passing Arguments Pin
Chris Losinger4-Oct-01 8:19
professionalChris Losinger4-Oct-01 8:19 
GeneralPulling info from other apps Pin
RobJones4-Oct-01 7:21
RobJones4-Oct-01 7:21 
GeneralRe: Pulling info from other apps Pin
#realJSOP4-Oct-01 8:21
professional#realJSOP4-Oct-01 8:21 
GeneralRe: Pulling info from other apps Pin
RobJones4-Oct-01 11:22
RobJones4-Oct-01 11:22 
GeneralGrid probs Pin
Jon Hulatt4-Oct-01 7:03
Jon Hulatt4-Oct-01 7:03 
GeneralRe: Grid probs Pin
Christian Graus4-Oct-01 11:54
protectorChristian Graus4-Oct-01 11:54 
GeneralRe: Grid probs Pin
Jon Hulatt4-Oct-01 22:20
Jon Hulatt4-Oct-01 22:20 
GeneralBitmap and clipboard Pin
#realJSOP4-Oct-01 6:44
professional#realJSOP4-Oct-01 6:44 
GeneralRe: Bitmap and clipboard Pin
Chris Losinger4-Oct-01 7:00
professionalChris Losinger4-Oct-01 7:00 
GeneralRe: Bitmap and clipboard Pin
#realJSOP4-Oct-01 7:18
professional#realJSOP4-Oct-01 7:18 

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.