The following code fragment responds to a WM_MEASUREITEM message.

    case WM_MEASUREITEM:
        ((POWNERITEM) mp2)->rclItem.xRight = 26;
        ((POWNERITEM) mp2)->rclItem.yTop = 10;
        return 0;


[Back] [Next]