TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Julien Pierre
from: Brian Converse
date: 1995-01-26 04:22:54
subject: OS/2 C++ Class Lib Book

JP> I found myself reading one of the code samples in the book 
JP> and wondering about a strange C++ syntax :
JP> dontBuyList
JP> .setTitle("Unneeded items")...
JP> 
JP> I was going to lookup in my C++ language book when I saw a 
JP> special outlined notice just below this code : one half 
JP> page titled "Chaining Functions" that began with :
JP> "Perhaps you are wondering about the syntax used to set up 
JP> the two containers..."

among the many epiphanies i've had wading along that road. not
that far into the book, yet either. it's humbling to know that you
actually don't know very much about ICLUI. Aside from the rote
slogging thru the first part of the book, i've been jumping around
when it just gets overwhelming and finally pulled down the 2.7
MB of examples to help with that...oops- .EXEs won't run!

NOTE- if you don't have v2.1 of C Set ++, you'll need it to run
the examples. Not fun if you're browsing the more complex sections
and just want to fly the toy they provide while you read the code.
The .EXEs won't work with v2.01 (v2.0 + CSDs) DLLs.  Many of
the examples can be recompiled successfully with v2.01; some
can't, but you lose the immediacy. In particular, in the Container
stuff, the "tree and details view" example (...\cnr\treedet) is
treedet.cpp, which errors off on a .disableUpdate() which seems
to have been added to IContainerControl class in v2.1.  Worse,
the book fails me here, as this member is not covered anyplace
that I can find. Since they got an .EXE out of it, I take it that
it's not a typo for .disableDataUpdate().

Note 2: In no way does the above diminish the value of this
neat book.

___
 X KWQ/2 1.2g X ND 27: the only datum the USA needs.

--- Maximus/2 2.02
* Origin: Fernwood - your source for OS/2 files! (1:141/209)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 141/209 270/101 396/1 3615/50 105/103 42 724/13 600/500 2 82 229/2
@PATH: 12/2442 711/409 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™.