Three different labels in the head of a notebook control - OS2

This is a discussion on Three different labels in the head of a notebook control - OS2 ; Hi, is it possible that the title of the selected notebook page is different from the text in the selected tab? E.g.: __________ _________ /Category 1\ /Category2\ _____________/ \__________________________________ | | | +--------------------------------------------------+---+ | | | |\ +| | | ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Three different labels in the head of a notebook control

  1. Three different labels in the head of a notebook control

    Hi,

    is it possible that the title of the selected notebook page is different
    from the text in the selected tab?

    E.g.:

    __________ _________
    /Category 1\ /Category2\
    _____________/ \__________________________________
    | |
    | +--------------------------------------------------+---+ |
    | | |\ +| |
    | | Subcategory Page 1/3 | \ | |
    | | |- \| |
    | +--------------------------------------------------+---+ |


    Marcel

  2. Re: Three different labels in the head of a notebook control

    On Sat, 5 Jul 2008 15:33:22 UTC, Marcel Müller
    wrote:

    > is it possible that the title of the selected notebook page is
    > different from the text in the selected tab?


    Yes. Use BKM_SETPAGEINFO and specify both pszMajorTab and
    pszMinorTab in your BOOKPAGEINFO structure.

    Not sure about Warp3 compatibility...


    --
    Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany]
    http://www.s-t.de
    Please remove all characters left of the "R" in my email address


  3. Re: Three different labels in the head of a notebook control

    Ruediger Ihle wrote:
    > Yes. Use BKM_SETPAGEINFO and specify both pszMajorTab and
    > pszMinorTab in your BOOKPAGEINFO structure.


    Oh, my documentation states that BKM_SETPAGEINFO takes a pointer to a
    PAGEINFO structure rather than BOOKPAGEINFO. However, PAGEINFO seems to
    be used for some SOM functions of the WPS. And the last programmer
    avoided BKM_SETPAGEINFO for some reason. There are more things between
    heaven and earth...


    > Not sure about Warp3 compatibility...


    Nothing seems to be sure anyway.

    At least it finally worked for me. Thanks!


    Marcel

+ Reply to Thread