home *** CD-ROM | disk | FTP | other *** search
-
-
-
- T A B L E O F C O N T E N T S
-
- 1. Introduction...............................................1
-
- 2. Technical Nitty Gritties...................................1
-
- 3. User Supported Software....................................2
- 3.1. Registering...........................................2
- 3.2. Support Services......................................2
- 3.2.1. Electronic Support.............................3
-
- 4. The Basics.................................................4
- 4.1. Window Basics.........................................5
- 4.2. Data Entry Basics.....................................6
- 4.3. Form Basics...........................................7
- 4.4. Popup Menu Basics.....................................8
- 4.4.1. Notes.........................................13
- 4.5. Help System Basics...................................14
- 4.5.1. Notes.........................................16
- 4.6. Mouse Basics.........................................19
- 4.7. Important Concepts...................................22
- 4.7.1. WINBOSS.H.....................................22
- 4.7.2. Window Handles................................22
- 4.7.3. Mouse Handles.................................22
- 4.7.4. Window Origin.................................22
- 4.7.5. Text and Data Field Origins...................22
- 4.7.6. Attributes....................................22
- 4.7.7. Fields and Forms..............................23
- 4.7.8. Return Values.................................23
- 4.7.9. Closing Forms and Windows.....................23
- 4.7.10. Overlapping Windows..........................24
- 4.7.11. Functions....................................25
-
- 5. Distribution Methods & Media Kits ........................26
- 5.1. CompuServe, GENIE, BIX, & Bulletin Board Files.......26
- 5.2. The SHAREWARE Distribution Diskette(s)...............26
- 5.3. The SOURCE Distribution Diskette(s)..................30
-
- 6. Installation, Compiling, Linking .........................38
- 6.1. Installation.........................................38
- 6.1.1. Installation Notes and Cautions...............39
- 6.2. Compiling (Command line).............................40
- 6.3. Linking (Command line)...............................41
-
- 7. General and Compiler Specific Notes.......................43
- 7.1. Upgrading - Existing Applications Impact.............44
- 7.2. Current Compilers & Libraries........................44
- 7.3. EGA & VGA Expanded Line & Column Modes...............44
- 7.4. Terminate and Stay Resident (TSR) Programming........44
- 7.5. Important Globals....................................45
- 7.5.1. wns_dmaflg....................................45
- 7.5.2. wn_sbit.......................................45
- 7.5.3. wns_escape....................................45
- 7.6. Microsoft C..........................................46
- 7.7. Microsoft QuickC.....................................46
-
-
-
- 7.8. Microsoft Quick C for Windows........................47
- 7.9. Borland Turbo C, Borland C++ and Borland Turbo C++...48
- 7.10. MIX Power C.........................................48
- 7.11. TopSpeed C..........................................49
- 7.12. Zortech C...........................................50
- 7.13. Lattice C...........................................50
- 7.14. Feedback............................................50
-
- 8. Hints on Resolving Common Problems........................51
- 8.1. Unresolved Externals.................................51
- 8.2. Fixup Offset Errors..................................51
- 8.3. Bad Handle Exits.....................................51
- 8.4. Fatal Compilation Errors.............................51
- 8.5. Missing Files........................................51
- 8.6. Linking Errors.......................................52
- 8.7. Other Problems.......................................52
-
- 9. Making Changes............................................53
- 9.1. General Considerations...............................53
- 9.2. Specific Changes to Consider.........................54
- 9.3. TopSpeed C ..........................................55
- 9.4. Microsoft, Borland, Watcom .........................57
- 9.5. Zortech, Lattice, Mix Power C........................57
- 9.5.1. Assembly Language Object Files................57
- 9.5.2. Assembly Language Object File Matrix..........58
- 9.5.3. Assembler Code................................60
- 9.6. C Code...............................................61
-
- 10. Function Call Synopsis....................................62
- 10.1. wn_init -- init window system.......................63
- 10.2. wn_exit -- exit window system.......................63
- 10.3. wn_psinit() -- init window system - physical size...63
- 10.4. wn_dmode -- set window display mode.................64
- 10.5. wn_open -- open window .............................65
- 10.6. wn_title -- title window............................67
- 10.7. wn_titla -- title window with attribute.............67
- 10.8. wn_stitle -- super title window.....................68
- 10.9. wn_stitla -- super title window with attribute......69
- 10.10. wn_close -- close window...........................70
- 10.11. wn_save -- save screen image ......................70
- 10.12. wn_restore -- restore saved screen image...........71
- 10.13. wn_move -- move window.............................71
- 10.14. wn_locate -- locate cursor in window...............72
- 10.15. wn_printf -- window printf.........................73
- 10.16. wn_puts -- put string (high speed).................74
- 10.17. wn_putc -- put character ..........................74
- 10.18. wn_gets -- get string with validation..............75
- 10.19. wn_putsa -- put string and attribute (high speed)..76
- 10.20. wn_putca -- put character and attribute............76
- 10.21. wn_insrow -- insert row in window..................78
- 10.22. wn_delrow -- delete row from window................78
- 10.23. wn_clr -- window: clear entire window..............79
- 10.24. wn_clrrow -- window: clear single row .............79
- 10.25. wn_clreol -- window: clear cursor to end of line...79
- 10.26. wn_clreow -- window: clear cursor to end of window.79
-
-
-
- 10.27. wn_activate -- activate window.....................79
- 10.28. wn_color -- set window & border attribute..........80
- 10.29. wn_wrap -- set/clear line wrap flag................81
- 10.30. wn_sync -- set/clear cursor synchronization flag...81
- 10.31. wn_scroll -- set scrolling method for window.......82
- 10.32. wn_dma -- set/clear write RAM directly flag........83
- 10.33. wn_fixcsr -- update window cursor position.........83
- 10.34. wn_boxset -- set box drawing character set.........84
- 10.35. wn_natrib -- set new attribute in window NOW!......84
- 10.36. wn_dborder -- draw (replace) border on window......85
- 10.37. wn_input -- general purpose window input...........86
- 10.38. wn_frmopn -- open data entry form..................91
- 10.39. wn_frmget -- get (read) data entry form............92
- 10.40. wn_frmcls -- close data entry form.................93
- 10.41. wn_gdate - input date in window (MM/DD/YY).........94
- 10.42. wn_gedate - input European date in window (DD/MM/Y.96
- 10.43. wn_gtime -- input time in window...................98
- 10.44. wn_gphone -- input phone number in window.........100
- 10.45. wn_gssn -- input social security number in window.102
- 10.46. wn_gtext -- input text in window..................104
- 10.47. wn_gutext -- input upper case text in window......104
- 10.48. wn_gltext -- input lower case text in window......104
- 10.49. wn_gatext -- input text & graphics characters ...104
- 10.50. wn_gmltext -- input multi-line text in window.....106
- 10.51. wn_gpword -- input password in window.............108
- 10.52. wn_gint -- input integer in window................110
- 10.53. wn_guint - input unsigned integer in window.......112
- 10.54. wn_glong -- input long integer in window..........114
- 10.55. wn_gulong -- input unsigned long integer in windo.116
- 10.56. wn_gfloat -- input float in window................118
- 10.57. wn_gdouble -- input double in window..............120
- 10.58. wn_gbool -- input logical in window...............122
- 10.59. wn_dtext -- display text on input form............124
- 10.60. wn_iemsg -- display input error message...........125
- 10.61. wn_ihmsg -- display input help message............126
- 10.62. wn_shkey -- set HELP key code.....................126
- 10.63. wn_popup -- display and act on popup menu.........127
- 10.64. wn_qpopup -- display quick popup window...........128
- 10.65. wh_hlinit -- initialize help system...............129
- 10.66. wn_help -- display help message ..................132
- 10.67. wn_sleftj -- (string) left justify ...............133
- 10.68. wn_srightj -- (string) right justify .............133
- 10.69. wn_scenter -- (string) center ....................134
- 10.70. wn_sdelspc -- (string) delete leading/trailing sp.135
- 10.71. wn_strndx -- (string) return index of s2 in s1....135
- 10.72. mo_reset -- reset/init mouse......................136
- 10.73. mo_show -- show mouse.............................137
- 10.74. mo_hide -- hide mouse.............................138
- 10.75. mo_pos -- get mouse pixel position & status.......139
- 10.76. mo_move -- move mouse pixel cursor................140
- 10.77. mo_pbinfo -- get pressed mouse botton status......141
- 10.78. mo_rbinfo -- get released mouse button status.....142
- 10.79. mo_clim -- set mouse min/max pixel column limits..143
- 10.80. mo_rlim -- set mouse min/max pixel row limits.....143
- 10.81. mo_sgcursor -- set mouse graphics cursor..........144
-
-
-
- 10.82. mo_scursor -- set mouse cursor....................145
- 10.83. mo_motion -- get mouse motion counters...........147
- 10.84. mo_task -- define mouse event handler.............148
- 10.85. mo_lpon -- mouse light pen emulation on...........149
- 10.86. mo_lpoff -- mouse light pen emulation off.........149
- 10.87. mo_ratio -- set motion to pixel ratio.............149
- 10.88. mo_rcpos -- return current position of mouse......150
- 10.89. mo_locate -- locate (position) mouse cursor.......152
- 10.90. mo_press -- get mouse button press status.........153
- 10.91. mo_release -- get mouse button release status.....155
- 10.92. mo_reigon -- set mouse region.....................157
- 10.93. mo_setptr -- set mouse pointer and attributes.....158
- 10.94. mo_wait -- wait for mouse to settle...............159
- 10.95. mo_nbutt -- get mouse button count................160
- 10.96. _getca -- get character and attribute.............161
- 10.97. _putca -- put character and attribute ............161
- 10.98. _vidblt -- video block transfer...................162
- 10.99. v_spage -- set active display page................162
- 10.100. v_cls -- clear entire video screen ..............163
- 10.101. v_smode -- set video mode........................163
- 10.102. v_wca -- write character and attribute...........164
- 10.103. v_wtty -- write character TTY mode...............164
- 10.104. v_locate -- locate (position) cursor.............165
- 10.105. v_hidec -- hide cursor...........................165
- 10.106. v_sctype -- set cursor type (style)..............166
- 10.107. v_gctype -- get cursor type (style)..............166
- 10.108. v_sapu -- scroll active display page up..........167
- 10.109. v_sapd -- scroll active display page down........168
- 10.110. v_rcpos -- return current cursor position........168
- 10.111. v_rcvs -- return current video state.............169
- 10.112. v_getch -- get keyboard character and scan code..169
- 10.113. v_kstat -- get keyboard status...................170
- 10.114. v_kflush -- flush keyboard buffer................170
- 10.115. v_border -- set border color.....................170
- 10.116. v_setatr -- set color attribute..................171
- 10.117. v_setrev -- set reverse attribute................171
-
- 11. Registration Form........................................172
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1