TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Erwin Hogeweg
from: Johan Siegers
date: 1996-07-15 17:02:18
subject: Notebook-pages?

Hi Erwin,


 EH> I am absolute novice to OS/2 programming and I have some problems with
 EH> making the pages in my notebook visable. The notebook itself appears but
 EH> the pages are missing. I have looked through all issues of EDMI but I can
 EH> not find it.

There are multiple ways of writing a notebook control. If I compare your
source with mine, I see one big difference: In your source I cannot find
the part in which you insert the pages.  Something like:


    ulPageId = (ULONG) WinSendMsg( hwndNB, BKM_INSERTPAGE, NULL,
                            MPFROM2SHORT( nbpage[ iPage ].usTabType |
                                          BKA_STATUSTEXTON | BKA_AUTOPAGESIZE,
                                          BKA_LAST ) );

There is an excellent example of a notebook control from OS/2 developers
magazine. It can be found on CompuServe, but perhaps CHAT BBS has it too.
The filename is NB*.zip  
I don't have it handy at this moment, but I will try to find it back. If
you cannot get it, let me know. I will send it to you via Netmail.


Bye, Johan.

--- The-Box Point 0.15+ PC
* Origin: johan{at}bitbike.com - CIS: 100120,2502 (2:283/512.16)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 624 628 713/888 800/1
@PATH: 283/512 280/801 270/101 712/515 711/808 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™.