CreateWindowEx( 0,STATUSCLASSNAME,TEXT(""),
WS_CHILD | WS_BORDER | WS_VISIBLE | WS_CLIPSIBLINGS,
                                   -100, -100,
                                   10, 10,
                                   hwnd,
                                   HMENU(IDB_STATUS),
                                   g_hinst,
                                   NULL);

解决方案 »

  1.   

    第一个参数是扩充风格设置,为0的话应该就是没有任何扩充风格吧。楼主为什么不查MSDN呢?上面说的很详细啊。
      

  2.   

    dwExStyle
    [in] Specifies the extended window style of the window being created. This parameter can be one or more of the following values.
    WS_EX_ACCEPTFILES
    Specifies that a window created with this style accepts drag-drop files.
    WS_EX_APPWINDOW
    Forces a top-level window onto the taskbar when the window is visible. 
    WS_EX_CLIENTEDGE
    Specifies that a window has a border with a sunken edge.
    WS_EX_COMPOSITED
    Windows XP: Paints all descendants of a window in bottom-to-top painting order using double-buffering. For more information, see Res. This cannot be used if the window has a class style of either CS_OWNDC or CS_CLASSDC. 
    WS_EX_CONTEXTHELP.......
      

  3.   

    不知道NULL==0吗?好像应该是吧