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. WINDOWS.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 .........................40
- 6.1. Installation.........................................40
- 6.2. Compiling............................................42
- 6.3. Linking..............................................43
-
- 7. General Notes.............................................45
- 7.1. Upgrading - Existing Applications Impact.............46
- 7.2. Current Compilers & Libraries........................46
- 7.3. EGA & VGA Expanded Line & Column Modes...............46
- 7.4. Terminate and Stay Resident (TSR) Programming........46
- 7.5. Important Globals....................................47
- 7.5.1. wns_dmaflg....................................47
- 7.5.2. wn_sbit.......................................47
- 7.5.3. wns_escape....................................47
- 7.6. Microsoft C..........................................48
- 7.7. Microsoft QuickC.....................................48
- 7.8. Borland Turbo C......................................49
-
-
-
- 7.9. MIX Power C..........................................49
- 7.10. Datalight C.........................................49
- 7.11. Zortech C...........................................49
- 7.12. Watcom C............................................50
- 7.13. Lattice C...........................................50
- 7.14. Aztec C.............................................50
- 7.15. Feedback............................................50
- 7.16. Hints on Resolving Common Problems..................51
-
- 8. Making Changes............................................52
- 8.1. General Considerations...............................52
- 8.2. Specific Changes to Consider.........................53
- 8.3. Making Changes - An Overview by The Numbers .........54
- 8.4. Assembly Language Object Files.......................54
- 8.5. Assembly Language Object File Matrix.................55
- 8.6. Assembler Code.......................................56
- 8.7. C Code...............................................57
-
- 9. Library Rebuilding (MSC5.1, QC2.0, LC 3.41)...............58
-
- 10. Function Call Synopsis....................................59
- 10.1. wn_init -- init window system.......................60
- 10.2. wn_exit -- exit window system.......................60
- 10.3. wn_psinit() -- init window system - physical size...60
- 10.4. wn_dmode -- set window display mode.................61
- 10.5. wn_open -- open window .............................62
- 10.6. wn_title -- title window............................64
- 10.7. wn_titla -- title window with attribute.............64
- 10.8. wn_stitle -- super title window.....................65
- 10.9. wn_stitla -- super title window with attribute......66
- 10.10. wn_close -- close window...........................67
- 10.11. wn_save -- save screen image ......................67
- 10.12. wn_restore -- restore saved screen image...........68
- 10.13. wn_move -- move window.............................68
- 10.14. wn_locate -- locate cursor in window...............69
- 10.15. wn_printf -- window printf.........................70
- 10.16. wn_puts -- put string (high speed).................71
- 10.17. wn_putc -- put character ..........................71
- 10.18. wn_gets -- get string with validation..............72
- 10.19. wn_putsa -- put string and attribute (high speed)..73
- 10.20. wn_putca -- put character and attribute............73
- 10.21. wn_insrow -- insert row in window..................74
- 10.22. wn_delrow -- delete row from window................74
- 10.23. wn_clr -- clear window.............................75
- 10.24. wn_activate -- activate window.....................75
- 10.25. wn_color -- set window & border attribute..........76
- 10.26. wn_wrap -- set/clear line wrap flag................77
- 10.27. wn_sync -- set/clear cursor synchronization flag...77
- 10.28. wn_scroll -- set scrolling method for window.......78
- 10.29. wn_dma -- set/clear write RAM directly flag........79
- 10.30. wn_fixcsr -- update window cursor position.........79
- 10.31. wn_boxset -- set box drawing character set.........80
- 10.32. wn_natrib -- set new attribute in window NOW!......80
- 10.33. wn_dborder -- draw (replace) border on window......81
- 10.34. wn_input -- general purpose window input...........82
-
-
-
- 10.35. wn_frmopn -- open data entry form..................87
- 10.36. wn_frmget -- get (read) data entry form............88
- 10.37. wn_frmcls -- close data entry form.................89
- 10.38. wn_gdate - input date in window....................90
- 10.39. wn_gtime -- input time in window...................92
- 10.40. wn_gphone -- input phone number in window..........94
- 10.41. wn_gtext -- input text in window...................96
- 10.42. wn_gutext -- input upper case text in window.......96
- 10.43. wn_gltext -- input lower case text in window.......96
- 10.44. wn_gatext -- input text & graphics characters ....96
- 10.45. wn_gpword -- input password in window..............98
- 10.46. wn_gint -- input integer in window................100
- 10.47. wn_guint - input unsigned integer in window.......102
- 10.48. wn_glong -- input long integer in window..........104
- 10.49. wn_gulong -- input unsigned long integer in windo.106
- 10.50. wn_gfloat -- input float in window................108
- 10.51. wn_gdouble -- input double in window..............110
- 10.52. wn_gbool -- input logical in window...............112
- 10.53. wn_dtext -- display text on input form............114
- 10.54. wn_iemsg -- display input error message...........115
- 10.55. wn_ihmsg -- display input help message............116
- 10.56. wn_shkey -- set HELP key code.....................116
- 10.57. wn_popup -- display and act on popup menu.........117
- 10.58. wn_qpopup -- display quick popup window...........118
- 10.59. wh_hlinit -- initialize help system...............119
- 10.60. wn_help -- display help message ..................122
- 10.61. wn_sleftj -- (string) left justify ...............123
- 10.62. wn_srightj -- (string) right justify .............123
- 10.63. wn_scenter -- (string) center ....................124
- 10.64. wn_sdelspc -- (string) delete leading/trailing sp.125
- 10.65. wn_strndx -- (string) return index of s2 in s1....125
- 10.66. mo_reset -- reset/init mouse......................126
- 10.67. mo_show -- show mouse.............................127
- 10.68. mo_hide -- hide mouse.............................128
- 10.69. mo_pos -- get mouse pixel position & status.......129
- 10.70. mo_move -- move mouse pixel cursor................130
- 10.71. mo_pbinfo -- get pressed mouse botton status......131
- 10.72. mo_rbinfo -- get released mouse button status.....132
- 10.73. mo_clim -- set mouse min/max pixel column limits..133
- 10.74. mo_rlim -- set mouse min/max pixel row limits.....133
- 10.75. mo_sgcursor -- set mouse graphics cursor..........134
- 10.76. mo_scursor -- set mouse cursor....................135
- 10.77. mo_motion -- get mouse motion counters...........137
- 10.78. mo_task -- define mouse event handler.............138
- 10.79. mo_lpon -- mouse light pen emulation on...........139
- 10.80. mo_lpoff -- mouse light pen emulation off.........139
- 10.81. mo_ratio -- set motion to pixel ratio.............139
- 10.82. mo_rcpos -- return current position of mouse......140
- 10.83. mo_locate -- locate (position) mouse cursor.......142
- 10.84. mo_press -- get mouse button press status.........143
- 10.85. mo_release -- get mouse button release status.....145
- 10.86. mo_reigon -- set mouse region.....................147
- 10.87. mo_setptr -- set mouse pointer and attributes.....148
- 10.88. mo_wait -- wait for mouse to settle...............149
- 10.89. mo_nbutt -- get mouse button count................150
-
-
-
- 10.90. _getca -- get character and attribute.............151
- 10.91. _putca -- put character and attribute ............151
- 10.92. _vidblt -- video block transfer...................152
- 10.93. v_spage -- set active display page................152
- 10.94. v_cls -- clear entire video screen ...............153
- 10.95. v_smode -- set video mode.........................153
- 10.96. v_wca -- write character and attribute............154
- 10.97. v_wtty -- write character TTY mode................154
- 10.98. v_locate -- locate (position) cursor..............155
- 10.99. v_hidec -- hide cursor............................155
- 10.100. v_sctype -- set cursor type (style)..............156
- 10.101. v_sapu -- scroll active display page up..........156
- 10.102. v_sapd -- scroll active display page down........157
- 10.103. v_rcpos -- return current cursor position........157
- 10.104. v_rcvs -- return current video state.............158
- 10.105. v_getch -- get keyboard character and scan code..158
- 10.106. v_kstat -- get keyboard status...................159
- 10.107. v_kflush -- flush keyboard buffer................159
- 10.108. v_border -- set border color.....................159
-
- 11. Registration Form........................................160
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1