Every type of control behaves good, except a single line edit:

    * Cannot type within
    * Don't see a caret
    * _Can_ "navigate" (scroll left<->right)  with arrow keys
    * Can mark text
    * Can paste text via Ctrl+V


Try to experiment with AfxRegisterWndClass like this:

BOOL CTMozillaFormView::PreCreateWindow(CREATESTRUCT& cs)
{
    if (!CView::PreCreateWindow(cs))
        return FALSE;

    cs.dwExStyle |= WS_EX_CLIENTEDGE;
    cs.style &= ~WS_BORDER;
    cs.style |= WS_CLIPCHILDREN;
    cs.lpszClass = AfxRegisterWndClass(CS_DBLCLKS,
        ::LoadCursor(NULL, IDC_ARROW), HBRUSH(COLOR_WINDOW+1), NULL);

}

jan
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to