Programming the Be Operating System

Programming the Be Operating System

Writing Programs for the Be Operating System

By Dan Parks Sydow
July 1999

This book is out of print.


Book Contents | Example Programs | Errata | Colophon | Open Books Project | Author Website

Programming the Be Operating System
Example Programs

The book "Programming the Be Operating System" by Dan Parks Sydow, published by O'Reilly & Associates, includes discussions of a number of example programs. To save you the effort of typing the source code, and to facilitate your studying and experimenting with these examples, the enclosed files supply you with the source code for the examples. The files contain directories that each hold the source code and resource files necessary to build an executable. As described in the book, for each example you'll use the Be integrated development environment (BeIDE) to create a project file and add one set of source code files and a resource file to that project. From that project you'll build an executable.

The source code distributed with this book can be redistributed in source or binary form so long as an acknowledgment appears in derived source files. The citation should list the title of the book, the author, and the publisher.

This code is under copyright and cannot be included in any other book, publication, or educational product without permission from O'Reilly & Associates. No warranty is attached; we cannot take responsibility for errors or fitness for use.

The source code is available for the following sample applications:

1. BeOS Programming Overview
SimpleApp

2. BeIDE Projects
HelloWorld
MyHelloWorld

3. BeOS API Overview
Alert
MyHelloWorld

4. Windows, Views, and Messages
FindByName
FrontWindow
FrontWindowView
MyHelloWorld
NewMyHelloWorld
OneSmallView
OneView
TwoViewClasses
TwoViews
ViewDataMember
ViewsKeyMessages
ViewsMouseMessages
WindowTester

5. Drawing
ColorControl
Ellipse
MovePen
Pattern
PenSize
Picture
PointAndLine
Polygon
Rectangle
Region
RegionTest
RGBColor
RoundRectangle
Triangle

6. Controls and Messages
CheckBoxLater
CheckBoxNow
ControlDemo
PictureButton
RadioButtonGroup
RadioButtonGroupFramed
TextField
TwoButtons

7. Menus
DisableMenuItem
FindItemByMark
MarkMenuItem
MenuAndControl
MenuAndPopup
MenusAndSubmenu
SimpleMenuBar
TwoMenus

8. Text
FontSetting
ScrollViewPicture
ScrollViewWindow
Stringview
TextView
TextViewEdit
TextViewFont
TextViewScrollBar

9. Messages and Threads
AddDataMessage
AlertMessage
BRosterExample
ClipboardMessage
WindowMessage1
WindowMessage2

10. Files
ScrollViewWindow


Book Contents | Example Programs | Errata | Colophon | Open Books Project | Author Website
All contents © 2003, O'Reilly & Associates, Inc.