Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPlaying avi file Pin
AnayKulkarni8-May-09 20:18
AnayKulkarni8-May-09 20:18 
AnswerRe: Playing avi file Pin
Nuri Ismail8-May-09 22:53
Nuri Ismail8-May-09 22:53 
AnswerRe: Playing avi file Pin
Hamid_RT9-May-09 0:20
Hamid_RT9-May-09 0:20 
QuestionMS Access with MFC Pin
mathy8-May-09 20:07
mathy8-May-09 20:07 
AnswerRe: MS Access with MFC Pin
Nuri Ismail8-May-09 23:06
Nuri Ismail8-May-09 23:06 
AnswerRe: MS Access with MFC Pin
Hamid_RT9-May-09 0:12
Hamid_RT9-May-09 0:12 
QuestionMessageBox Pin
Davitor8-May-09 20:00
Davitor8-May-09 20:00 
AnswerRe: MessageBox Pin
Nuri Ismail8-May-09 22:43
Nuri Ismail8-May-09 22:43 
QuestionHow to send a message Pin
john56328-May-09 19:57
john56328-May-09 19:57 
AnswerRe: How to send a message Pin
Hamid_RT9-May-09 0:22
Hamid_RT9-May-09 0:22 
AnswerRe: How to send a message Pin
«_Superman_»9-May-09 4:34
professional«_Superman_»9-May-09 4:34 
QuestionWindow taskbar activation issue [modified] Pin
andrew_dk8-May-09 19:56
andrew_dk8-May-09 19:56 
AnswerRe: Window taskbar activation issue Pin
Stuart Dootson9-May-09 0:37
professionalStuart Dootson9-May-09 0:37 
QuestionHelp creating a help dialog Pin
xzing8-May-09 19:48
xzing8-May-09 19:48 
AnswerRe: Help creating a help dialog Pin
Hamid_RT9-May-09 0:15
Hamid_RT9-May-09 0:15 
AnswerRe: Help creating a help dialog Pin
Stuart Dootson9-May-09 0:22
professionalStuart Dootson9-May-09 0:22 
QuestionText with backspace in Transparent window Pin
gcorrea8-May-09 16:18
gcorrea8-May-09 16:18 
AnswerRe: Text with backspace in Transparent window Pin
Stuart Dootson9-May-09 0:20
professionalStuart Dootson9-May-09 0:20 
GeneralRe: Text with backspace in Transparent window Pin
gcorrea9-May-09 5:26
gcorrea9-May-09 5:26 
GeneralRe: Text with backspace in Transparent window Pin
Stuart Dootson9-May-09 6:01
professionalStuart Dootson9-May-09 6:01 
GeneralRe: Text with backspace in Transparent window Pin
gcorrea9-May-09 8:19
gcorrea9-May-09 8:19 
Hi Mr.Dootson:

I had added
// Operations
public:

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyFrameWnd)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL

in my Class declarations and your PreCreateWindow code as
BOOL CMyFrameWnd::PreCreateWindow(CREATESTRUCT& cs)
{
if (!CWnd::PreCreateWindow(cs))
return FALSE;

cs.dwExStyle |= WS_EX_CLIENTEDGE;
cs.style &= ~WS_BORDER;
cs.lpszClass=AfxRegisterWndClass( NULL, NULL, (HBRUSH) NULL);

return TRUE;
}
How I have to change Create? I used:
Create(NULL, _T("Frame Window")) but it doesn't works.
I get and ASSERT in wincore.cpp Line:722
and there is not any text in my window. What >I am doing wrong?

Thanks
GeneralRe: Text with backspace in Transparent window Pin
Stuart Dootson9-May-09 8:30
professionalStuart Dootson9-May-09 8:30 
GeneralRe: Text with backspace in Transparent window Pin
gcorrea9-May-09 9:58
gcorrea9-May-09 9:58 
GeneralRe: Text with backspace in Transparent window Pin
Stuart Dootson9-May-09 10:09
professionalStuart Dootson9-May-09 10:09 
GeneralRe: Text with backspace in Transparent window Pin
gcorrea9-May-09 10:42
gcorrea9-May-09 10:42 

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.