ID_MESSAGEWINDOW,
(USHORT)mMsgWindowAtom,
    NS_IMETHOD Create() {        // Register the window class.        NS_ENSURE_TRUE( WinRegisterClass( 0, className(),                                           (PFNWP)&MessageWindow::WindowProc,                                           0L, 0 ),                         NS_ERROR_FAILURE );        /* Giving a size but offscreen so that won't be seen, even if all         * goes wrong.  Giving a size so that can be seen and understood by         * tools         */        const char * pszClassName = className();        mHandle = WinCreateWindow( HWND_OBJECT,                                   pszClassName,                                   NULL,        // name                                   WS_DISABLED, // style                                   0,0,     // x, y                                   0,0,       // cx,cy                                   HWND_DESKTOP,// owner                                   HWND_BOTTOM,  // hwndbehind                                   ID_MESSAGEWINDOW, // id                                   NULL,        // pCtlData                                   NULL );      // pres params#if MOZ_DEBUG_DDE        printf( "Message window = 0x%08X\n", (int)mHandle );#endif        return NS_OK;    }