statusbar sizegrip

  • Compiled with Visual Studio (last version).
    This produces a statusbar with a "sizegrip".

    status_hnd = CreateWindowEx(0,STATUSCLASSNAME,NULL,WS_CHILD|WS_VISIBLE,0,0,0,0,hWnd,NULL,hInstance,NULL);

    Compiled with dev-cpp.
    This produces a statusbar without a "sizegrip".

    status_hnd = CreateWindowEx(0,STATUSCLASSNAME,0,WS_CHILD|WS_VISIBLE,0,0,0,0,mainwin_hnd,0,hInstance,NULL);

    Can someone explain me how to define "with or without sizegrip", please ?

    ok. I realized this.
    I change the dev-cpp to:

    Now there is a sizegrip.

    But, how to avoid it in Visual Studio

  • @Th69 ,
    If I creare the mainwindow like this:
    HWND hWnd = CreateWindowW(szWindowClass,szTitle, WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX,

    there is no sizegrip, but not everybody wants to create this type of window

Log in to reply