得到windows mobile的title bar的宽度.

    HWND hTaskBar;
    RECT rcWindow;

    hTaskBar = NULL;

    hTaskBar = ::FindWindow(L"HHTASKBAR", NULL);
    if (hTaskBar)
    {
        ::GetWindowRect(hTaskBar, &rcWindow);

    }

你可能感兴趣的:(windows,null,mobile)