Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Text with backspace in Transparent window Pin
Stuart Dootson9-May-09 10:48
professionalStuart Dootson9-May-09 10:48 
GeneralRe: Text with backspace in Transparent window Pin
gcorrea11-May-09 13:09
gcorrea11-May-09 13:09 
GeneralRe: Text with backspace in Transparent window Pin
gcorrea20-May-09 7:29
gcorrea20-May-09 7:29 
QuestionHow To Get Cursor position in Edit Control Pin
jeansea8-May-09 16:03
jeansea8-May-09 16:03 
AnswerRe: How To Get Cursor position in Edit Control Pin
Madhu Nair8-May-09 16:31
Madhu Nair8-May-09 16:31 
Questionipod program Pin
john3468-May-09 12:55
john3468-May-09 12:55 
AnswerRe: ipod program Pin
Electron Shepherd8-May-09 13:46
Electron Shepherd8-May-09 13:46 
AnswerRe: ipod program Pin
bulg8-May-09 16:37
bulg8-May-09 16:37 
QuestionDuplex pipes Pin
HungryHorace8-May-09 12:03
HungryHorace8-May-09 12:03 
AnswerRe: Duplex pipes Pin
Stuart Dootson8-May-09 13:55
professionalStuart Dootson8-May-09 13:55 
AnswerRe: OT - your ID Pin
Stuart Dootson8-May-09 23:55
professionalStuart Dootson8-May-09 23:55 
GeneralRe: OT - your ID Pin
HungryHorace9-May-09 5:07
HungryHorace9-May-09 5:07 
GeneralRe: OT - your ID Pin
Stuart Dootson9-May-09 5:55
professionalStuart Dootson9-May-09 5:55 

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.