TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Doug Swenson
date: 1995-10-22 15:16:00
subject: Notebook Problem

I am having a problem w/ my first notebook.  I am able to get the
notebook created and the skeleton is functional, w/ my page insertion
routine working as expected.  However, I am not able to increase the
size of the major tabs.  They are only large enough to handle the first
character of the tab-text, but the notebook logic handles the hot-key
character as expected.  I AM able to control the size of the
page-button, however.  I am at a loss.  I have varied the size
parameters all over the place.  I have check the return code and it is
TRUE.


 // Set the Notebook style
 ulNotebookStyle = BKS_SPIRALBIND     |  BKS_BACKPAGESBR    |
                   BKS_MAJORTABBOTTOM |  BKS_SQUARETABS     |
                   BKS_TABTEXTLEFT    |  BKS_STATUSTEXTLEFT ;

 // Set the page button size
 WinSendMsg ( hwndNotebook,
              BKM_SETDIMENSIONS,
              MPFROM2SHORT ( 20, 20 ),
              MPFROMSHORT ( BKA_PAGEBUTTON ) );

 // Set the major tab size: DOESN'T WORK
 WinSendMsg ( hwndNotebook,
              BKM_SETDIMENSIONS,
              MPFROM2SHORT ( 170, 30 ),
              MPFROMSHORT ( BKA_MAJOR ) ) ;
___
 X OLX 1.53 X The scenery only changes for the lead dog!

--- Maximus/2 3.00
* Origin: Pebble in the Sky (1:202/1207)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 202/1207 777 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.