home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / NBEZ.ZIP / NBEZ.DOC < prev    next >
Text File  |  1992-12-05  |  2KB  |  37 lines

  1. NBEZ.EXE is a sample program that demonstrates setting up a notebook control.
  2. It creates a frame/client window and a notebook control is created as a child
  3. of the client window, similar to how the Settings notebook does it.
  4.  
  5. The Notebook created by this program only has pages with MAJOR tabs.
  6.  
  7. All the Notebook pages are associated with dialog boxes. Those dialog boxes are
  8. loaded and associated with the page at notebook initialization.
  9.  
  10. A Notebook control is actually a rather simple control. Think of it as just a
  11. way to stack up all your dialogs into a neat pile. If you have ever had an
  12. application that needed the user to go thru more than one dialog to accomplish
  13. something, you will appreciate that a notebook is the way to go. You can
  14. picture all those dialogs being scattered about on the screen. The Notebook's
  15. sole purpose is to take those dialogs and organize them so the user can input
  16. all their information in an organized fashion.
  17.  
  18. The Notebook *does* bring with it some issues. The main one that I see is how
  19. to validate the fields in each dialog - when the user tabs out of the field,
  20. when the user switches notebook pages or when the user closes the notebook. In
  21. my notebooks I usually use a combination of the 3.
  22.  
  23. For a more functional Notebook sample that demonstrates a lot more of the
  24. Notebook messages, loads the dialogs on demand and has pages with MINOR tabs,
  25. get NBBASE.ZIP. I essentially took that program and pared it down to provide
  26. this sample.
  27.  
  28. Hopefully NBEZ will be of some use to beginning notebook programmers.
  29.  
  30. Rick Fishman
  31. Code Blazers, Inc.
  32. 4113 Apricot
  33. Irvine, CA 92720
  34.  
  35. CIS ID: 72251,750
  36.  
  37.