home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / ARQS_ZIP / STBAR.ZIP / README.TXT < prev    next >
Encoding:
Text File  |  1992-04-26  |  2.8 KB  |  78 lines

  1. Here is real nice custom control status bar. It allows you to create
  2. a status bar similar to those seen in qcwin, excel, winword etc.
  3.  
  4. You build a status bar in sections. Each section can have its own set
  5. of properties (I'll get into the properties in a sec). You can have
  6. as many status bars on a form as you like/will fit. The bars
  7. themselves are "glued" to the bottom of the screen at run time and
  8. will also automatically "glue" to the bottom at design time when you
  9. size the form. 
  10.  
  11. I tried to make this thing look and act just like the status bars
  12. that we have all seen in other apps. When the user sizes the form the
  13. bar is glued to the bottom. If the user stretches the form, the
  14. first section of the bar grows/shrinks and the others are flushed
  15. right. (It's kinda hard to explain in writing here, so just play with
  16. the example and it'll be clear).
  17.  
  18. As for the properties, here are some of the hightlights.
  19.  
  20. 1. Toggle Keys.
  21.     This property allows for automatic detection and
  22. display of caps lock, num lock, scroll lock and insert/overwrite
  23. keys. Just select which key you want and it will be displayed in the
  24. bar that the property was set in. All toggle keys except the insert
  25. key are system wide, so even if you hit the caps lock in another app,
  26. it will be updated automatically. The insert key is application
  27. dependent and therefore can be different in different applications.
  28.  
  29. 2. Drawing Mode
  30.     You can display your status bars in one of three 3d modes -
  31. flat, down or up. The default is down. 
  32.  
  33. 3. About 
  34.     Most Important! (grin). Tells who did it and how to get hold
  35. of him.
  36.  
  37. 4. TextAlign
  38.     Allows for left, center and right justification of text
  39. within status bars.
  40.  
  41. 5. Most of the standard properties, including font, color, visible
  42. etc.
  43.  
  44.  
  45. We had a good time putting this thing together, and have found it to
  46. be very useful. If you have any ideas, comments, thoughts or
  47. suggestions, please let us know.
  48.  
  49. We worked hard on this. If you like it and use it in your apps, how about 
  50. sending us $25. It'll warm our hearts. For your $25 we'll send you the C
  51. source code. Even if you can't send us the $25 drop us a line and let us 
  52. know how you are using it. Check the (About) property on the control for 
  53. a phone number and CompuServe ID.
  54.  
  55.  
  56. Thanks and enjoy!
  57.  
  58.  
  59. Ed Staffin & Suriya Narayanan
  60.  
  61.  
  62.  
  63. Ed's changes on 3/17/92 - 
  64.     Added Text Alignment
  65.     Replaced MoveWindow Functions with DeferWindowPos
  66.  
  67. Suri's changes on 4/11/92
  68.     Fixed a minor bug. We were freeing the task tables even if there
  69.     were no tasks. It caused a message but did no harm.
  70.  
  71. Ed's changes on 4/26/92
  72.     Fixed a bug. We were trying to reposition status bars on 
  73.     a WM_SIZE message even after all status bars had been 
  74.     deleted in design mode. Amazing that this had not come up
  75.     sooner. Naturally it had to come up when demoing it for
  76.     someone!
  77.  
  78.