Update of /cvsroot/win32forth/win32forth/doc/classes In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10832/doc/classes Modified Files: ADO.htm AXControl.htm Childwnd.htm Control.htm Controls.htm Dialog.htm File.htm Generic.htm HTMLcontrol.htm MdiDialog.htm TrayWindow.htm Window.htm gdiBase.htm gdiBitmap.htm gdiBrush.htm gdiDC.htm gdiFont.htm gdiMetafile.htm gdiMetafileDC.htm gdiPen.htm gdiStruct.htm gdiWindowDc.htm mdi.htm Log Message: - Doc's updated Index: Dialog.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Dialog.htm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Dialog.htm 29 Aug 2006 10:31:48 -0000 1.11 --- Dialog.htm 26 May 2007 10:24:12 -0000 1.12 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> *************** *** 65,69 **** </h2><pre><b><a name="3">:CLASS Dialog <SUPER Dialog&Control </a></b></pre><p>Dialog class. <br /> ! To use this class you have to create a ressource file (*.res) whitch must contain the dialog resource. Since Win32Forth doesn't provide any tool's to create a dialog resource you should use ForthForm to create your dialog windows instead. --- 67,71 ---- </h2><pre><b><a name="3">:CLASS Dialog <SUPER Dialog&Control </a></b></pre><p>Dialog class. <br /> ! To use this class you have to create a ressource file (*.res) which must contain the dialog resource. Since Win32Forth doesn't provide any tool's to create a dialog resource you should use ForthForm to create your dialog windows instead. *************** *** 82,86 **** </h2><pre><b><a name="9">:Class ModelessDialog <SUPER Dialog </a></b></pre><p>Modless Dialog class <br /> ! To use this class you have to create a ressource file (*.res) whitch must contain the dialog resource. Since Win32Forth doesn't provide any tool's to create a dialog resource you should use ForthForm to create your dialog windows instead. --- 84,88 ---- </h2><pre><b><a name="9">:Class ModelessDialog <SUPER Dialog </a></b></pre><p>Modless Dialog class <br /> ! To use this class you have to create a ressource file (*.res) which must contain the dialog resource. Since Win32Forth doesn't provide any tool's to create a dialog resource you should use ForthForm to create your dialog windows instead. Index: Childwnd.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Childwnd.htm,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Childwnd.htm 29 Aug 2006 10:31:48 -0000 1.10 --- Childwnd.htm 26 May 2007 10:24:12 -0000 1.11 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: gdiWindowDc.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiWindowDc.htm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** gdiWindowDc.htm 29 Aug 2006 10:31:48 -0000 1.11 --- gdiWindowDc.htm 26 May 2007 10:24:13 -0000 1.12 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: TrayWindow.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/TrayWindow.htm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TrayWindow.htm 29 Aug 2006 10:31:48 -0000 1.9 --- TrayWindow.htm 26 May 2007 10:24:12 -0000 1.10 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> *************** *** 24,28 **** </a></b></pre><p>TrayWindow class </p><pre><b><a name="1">:M DefaultIcon: ( -- hIcon ) ! </a></b></pre><p>Get the handle of the icon whitch should be added to the traybar. </p><pre><b><a name="2">:M GetTooltip: ( -- addr len ) </a></b></pre><p>Get the tooltip text for the traybar icon. --- 26,30 ---- </a></b></pre><p>TrayWindow class </p><pre><b><a name="1">:M DefaultIcon: ( -- hIcon ) ! </a></b></pre><p>Get the handle of the icon which should be added to the traybar. </p><pre><b><a name="2">:M GetTooltip: ( -- addr len ) </a></b></pre><p>Get the tooltip text for the traybar icon. Index: gdiBrush.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiBrush.htm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** gdiBrush.htm 29 Aug 2006 10:31:48 -0000 1.11 --- gdiBrush.htm 26 May 2007 10:24:13 -0000 1.12 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: HTMLcontrol.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/HTMLcontrol.htm,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** HTMLcontrol.htm 29 Aug 2006 10:31:48 -0000 1.10 --- HTMLcontrol.htm 26 May 2007 10:24:12 -0000 1.11 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: mdi.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/mdi.htm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mdi.htm 29 Aug 2006 10:31:48 -0000 1.9 --- mdi.htm 26 May 2007 10:24:13 -0000 1.10 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: MdiDialog.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/MdiDialog.htm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** MdiDialog.htm 29 Aug 2006 10:31:48 -0000 1.9 --- MdiDialog.htm 26 May 2007 10:24:12 -0000 1.10 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: Window.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Window.htm,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Window.htm 29 Aug 2006 10:31:48 -0000 1.17 --- Window.htm 26 May 2007 10:24:12 -0000 1.18 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: ADO.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/ADO.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ADO.htm 29 Aug 2006 10:31:48 -0000 1.2 --- ADO.htm 26 May 2007 10:24:12 -0000 1.3 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: gdiFont.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiFont.htm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** gdiFont.htm 29 Aug 2006 10:31:48 -0000 1.11 --- gdiFont.htm 26 May 2007 10:24:13 -0000 1.12 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: File.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/File.htm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** File.htm 29 Aug 2006 10:31:48 -0000 1.9 --- File.htm 26 May 2007 10:24:12 -0000 1.10 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: gdiBase.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiBase.htm,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** gdiBase.htm 29 Aug 2006 10:31:48 -0000 1.13 --- gdiBase.htm 26 May 2007 10:24:12 -0000 1.14 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: gdiPen.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiPen.htm,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** gdiPen.htm 29 Aug 2006 10:31:48 -0000 1.13 --- gdiPen.htm 26 May 2007 10:24:13 -0000 1.14 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: Controls.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Controls.htm,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Controls.htm 29 Aug 2006 10:31:48 -0000 1.16 --- Controls.htm 26 May 2007 10:24:12 -0000 1.17 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> *************** *** 1249,1392 **** </p><pre><b><a name="16">;Class </a></b></pre><p>End of SizeBox class </p><a name="MonthCalendar"></a> <h2>MonthCalendar class ! </h2><pre><b><a name="0">:Class MonthCalendar <Super Control </a></b></pre><p>Month Calendar control. A month calendar control implements a calendar-like user interface. This provides the user with a very intuitive and recognizable method of entering or selecting a date. ! </p><pre><b><a name="1">:M ClassInit: ( -- ) ! </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="2">:M AddStyle: ( n -- ) ! </a></b></pre><p>Set any additional style of the control. Must be done before the control ! is created. ! </p><pre><b><a name="3">:M Start: ( Parent -- ) </a></b></pre><p>Create the control. ! </p><pre><b><a name="4">:M MinSize: ( -- x y ) </a></b></pre><p>Return minimum size required to display a month. ! </p><pre><b><a name="5">:M WindowStyle: ( -- style ) ! </a></b></pre><p>Get the window style of the control. Default style is: WS_BORDER. ! </p><pre><b><a name="6">:M GetDate: ( -- day month year ) </a></b></pre><p>Retrieves the currently selected date. </p><p><i> day </i> is the day of the month (0-31). </p><p><i> Month </i> is the month (January = 1; December = 12) </p><p><i> year </i> is the year (1601 - 30827). ! </p><pre><b><a name="7">:M GetToday: ( -- day month year ) </a></b></pre><p>Retrieves the date information for the date specified as "today". </p><p><i> day </i> is the day of the month (0-31). </p><p><i> Month </i> is the month (January = 1; December = 12) </p><p><i> year </i> is the year (1601 - 30827). ! </p><pre><b><a name="8">;Class </a></b></pre><p>End of MonthCalendar class </p><a name="DateTimePicker"></a> <h2>DateTimePicker class ! </h2><pre><b><a name="9">:Class DateTimePicker <Super Control </a></b></pre><p>Date and Time Picker control ! </p><pre><b><a name="10">:M ClassInit: ( -- ) ! </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="11">:M AddStyle: ( n -- ) ! </a></b></pre><p>Set any additional style of the control. Must be done before the control ! is created. ! </p><pre><b><a name="12">:M Start: ( Parent -- ) </a></b></pre><p>Create the control. ! </p><pre><b><a name="13">:M WindowStyle: ( -- style ) ! </a></b></pre><p>Get the window style of the control. Default style is: WS_BORDER. ! </p><p>Date and Time Picker Control Styles ! The window styles listed here are specific to date and time picker controls. ! Constants ! DTS_APPCANPARSE ! Allows the owner to parse user input and take necessary action. It enables users to edit ! within the client area of the control when they press the F2 key. The control sends ! DTN_USERSTRING notification messages when users are finished. ! DTS_LONGDATEFORMAT Displays the date in long format. The default format string for this style is ! defined by LOCALE_SLONGDATEFORMAT, which produces output like "Friday, April 19, 1996". ! DTS_RIGHTALIGN The drop-down month calendar will be right-aligned with the control instead of ! left-aligned, which is the default. ! DTS_SHOWNONE It is possible to have no date currently selected in the control. With this style, ! the control displays a check box that users can check once they have entered or selected ! a date. Until this check box is checked, the application will not be able to retrieve ! the date from the control because, in essence, the control has no date. This state can ! be set with the DTM_SETSYSTEMTIME message or queried with the DTM_GETSYSTEMTIME message. ! DTS_SHORTDATEFORMAT ! Displays the date in short format. The default format string for this style is defined ! by LOCALE_SSHORTDATE, which produces output like "4/19/96". ! DTS_SHORTDATECENTURYFORMAT Version 5.80. Similar to the DTS_SHORTDATEFORMAT style, except the year is a ! four-digit field. The default format string for this style is based on LOCALE_SSHORTDATE. ! The output looks like: "4/19/1996". ! DTS_TIMEFORMAT Displays the time. The default format string for this style is defined by ! LOCALE_STIMEFORMAT, which produces output like "5:31:42 PM". ! DTS_UPDOWN ! Places an up-down control to the right of the DTP control to modify date-time values. ! This style can be used in place of the drop-down month calendar, which is the default ! style. ! Remarks ! The DTS_XXXFORMAT styles that define the display format cannot be combined. If none of ! the format styles are suitable, use a DTM_SETFORMAT message to define a custom format. ! </p><pre><b><a name="14">:M SetCustomFormat: ( z"format" -- ) </a></b></pre><p>set the display format for time or date </p><p>Format Strings ! A DTP format string consists of a series of elements that represent a particular piece of ! information and define its display format. The elements will be displayed in the order ! they appear in the format string. Date and time format elements will be replaced by the actual date and time. They are ! defined by the following groups of characters: ! Element Description ! "d" The one- or two-digit day. ! "dd" The two-digit day. Single-digit day values are preceded by a zero. ! "ddd" The three-character weekday abbreviation. ! "dddd" The full weekday name. ! "h" The one- or two-digit hour in 12-hour format. ! "hh" The two-digit hour in 12-hour format. Single-digit values are preceded by a zero. ! "H" The one- or two-digit hour in 24-hour format. ! "HH" The two-digit hour in 24-hour format. Single-digit values are preceded by a zero. ! "m" The one- or two-digit minute. ! "mm" The two-digit minute. Single-digit values are preceded by a zero. ! "M" The one- or two-digit month number. ! "MM" The two-digit month number. Single-digit values are preceded by a zero. ! "MMM" The three-character month abbreviation. ! "MMMM" The full month name. ! "t" The one-letter AM/PM abbreviation (that is, AM is displayed as "A"). ! "tt" The two-letter AM/PM abbreviation (that is, AM is displayed as "AM"). ! "yy" The last two digits of the year (that is, 1996 would be displayed as "96"). ! "yyyy" The full year (that is, 1996 would be displayed as "1996"). ! To make the information more readable, you can add body text to the format string by ! enclosing it in single quotes. Spaces and punctuation marks do not need to be quoted. ! Note Nonformat characters that are not delimited by single quotes will result in ! unpredictable display by the DTP control. For example, to display the current date with the format "'Today is: 04:22:31 Tuesday Mar 23, 1996", the format string is ! "'Today is: 'hh':'m':'s dddd MMM dd', 'yyyy". To include a single quote in your body text, ! use two consecutive single quotes. For example, "'Don''t forget' MMM dd',' yyyy" produces ! output that looks like: Don't forget Mar 23, 1996. It is not necessary to use quotes ! with the comma, so "'Don''t forget' MMM dd, yyyy" is also valid, and produces the same ! output. ! </p><pre><b><a name="15">:M GetTime: ( -- hrs min secs ) </a></b></pre><p>get user selected time ! </p><pre><b><a name="16">:M SetTime: ( hr min sec -- ) </a></b></pre><p>set time for user to edit ! </p><pre><b><a name="17">:M GetDate: ( -- day month year ) </a></b></pre><p>get user selected date ! </p><pre><b><a name="18">;Class </a></b></pre><p>End of DateTimePicker class </p><a name="TabControl"></a> --- 1251,1438 ---- </p><pre><b><a name="16">;Class </a></b></pre><p>End of SizeBox class + </p><pre><b><a name="0">|class DateTimeControl <Super Control + </a></b></pre><p>Generic class for methods common to MonthCalendar and DateTimePicker controls. + </p><pre><b><a name="1">:M ClassInit: ( -- ) + </a></b></pre><p>Initialise the class. + </p><pre><b><a name="2">:M AddStyle: ( n -- ) + </a></b></pre><p>Set any additional style of the control. Must be done before the control + is created. + </p><pre><b><a name="3">:M WindowStyle: ( -- style ) + </a></b></pre><p>Get the window style of the control. Default style is: WS_BORDER. + </p><p>The MonthCalendar and TimeDatePicker controls both use the _SystemTime structure + defined in the file ANSFILE.F , the members of which are; + </p><h3><i>wYear + </i></h3><p>The year (1601 - 30827). + + wMonth + The month. + + January = 1 + February = 2 + March = 3 + April = 4 + May = 5 + June = 6 + July = 7 + August = 8 + September = 9 + October = 10 + November = 11 + December = 12 + + wDayOfWeek + The day of the week. + + Sunday = 0 + Monday = 1 + Tuesday = 2 + Wednesday = 3 + Thursday = 4 + Friday = 5 + Saturday = 6 + + wDay + The day of the month (0-31). + wHour + The hour (0-23). + wMinute + The minute(s) (0-59). + wSecond + The second(s) (0-59). + wMilliseconds + The millisecond(s) (0-999). </p><a name="MonthCalendar"></a> <h2>MonthCalendar class ! </h2><pre><b><a name="4">:Class MonthCalendar <Super DateTimeControl </a></b></pre><p>Month Calendar control. A month calendar control implements a calendar-like user interface. This provides the user with a very intuitive and recognizable method of entering or selecting a date. ! </p><pre><b><a name="5">:M Start: ( Parent -- ) </a></b></pre><p>Create the control. ! </p><pre><b><a name="6">:M MinSize: ( -- x y ) </a></b></pre><p>Return minimum size required to display a month. ! </p><pre><b><a name="7">:M GetDate: ( -- day month year ) </a></b></pre><p>Retrieves the currently selected date. </p><p><i> day </i> is the day of the month (0-31). </p><p><i> Month </i> is the month (January = 1; December = 12) </p><p><i> year </i> is the year (1601 - 30827). ! </p><pre><b><a name="8">:M GetToday: ( -- day month year ) </a></b></pre><p>Retrieves the date information for the date specified as "today". </p><p><i> day </i> is the day of the month (0-31). </p><p><i> Month </i> is the month (January = 1; December = 12) </p><p><i> year </i> is the year (1601 - 30827). ! </p><pre><b><a name="9">;Class </a></b></pre><p>End of MonthCalendar class </p><a name="DateTimePicker"></a> <h2>DateTimePicker class ! </h2><pre><b><a name="10">:Class DateTimePicker <Super DateTimeControl </a></b></pre><p>Date and Time Picker control ! </p><pre><b><a name="11">:M Start: ( Parent -- ) </a></b></pre><p>Create the control. ! </p><p>Date and Time Picker Control Styles <br /> ! The window styles listed here are specific to date and time picker controls. <br /> ! Constants <br /> ! DTS_APPCANPARSE <br /> ! Allows the owner to parse user input and take necessary action. It enables users ! to edit within the client area of the control when they press the F2 key. ! The control sends DTN_USERSTRING notification messages when users are finished. <br /> ! DTS_LONGDATEFORMAT <br /> Displays the date in long format. The default format string for this style is ! defined by LOCALE_SLONGDATEFORMAT, which produces output like "Friday, April ! 19, 1996". <br /> ! DTS_RIGHTALIGN <br /> The drop-down month calendar will be right-aligned with the control instead of ! left-aligned, which is the default. <br /> ! DTS_SHOWNONE <br /> It is possible to have no date currently selected in the control. With this style, ! the control displays a check box that users can check once they have entered or ! selected a date. Until this check box is checked, the application will not be ! able to retrieve the date from the control because, in essence, the control has ! no date. This state can be set with the DTM_SETSYSTEMTIME message or queried ! with the DTM_GETSYSTEMTIME message. <br /> ! DTS_SHORTDATEFORMAT <br /> ! Displays the date in short format. The default format string for this style is ! defined by LOCALE_SSHORTDATE, which produces output like "4/19/96". <br /> ! DTS_SHORTDATECENTURYFORMAT <br /> Version 5.80. Similar to the DTS_SHORTDATEFORMAT style, except the year is a ! four-digit field. The default format string for this style is based on ! LOCALE_SSHORTDATE. The output looks like: "4/19/1996". <br /> ! DTS_TIMEFORMAT <br /> Displays the time. The default format string for this style is defined by ! LOCALE_STIMEFORMAT, which produces output like "5:31:42 PM". <br /> ! DTS_UPDOWN <br /> ! Places an up-down control to the right of the DTP control to modify date-time ! values. This style can be used in place of the drop-down month calendar, which ! is the default style. <br /> ! Remarks <br /> ! The DTS_XXXFORMAT styles that define the display format cannot be combined. ! If none of the format styles are suitable, use a DTM_SETFORMAT message to ! define a custom format. ! </p><pre><b><a name="12">:M SetCustomFormat: ( z"format" -- ) </a></b></pre><p>set the display format for time or date </p><p>Format Strings ! A DTP format string consists of a series of elements that represent a particular ! piece of information and define its display format. The elements will be displayed ! in the order they appear in the format string. <br /> Date and time format elements will be replaced by the actual date and time. They are ! defined by the following groups of characters: <br /> ! Element Description <br /> ! "d" The one- or two-digit day. <br /> ! "dd" The two-digit day. Single-digit day values are preceded by a zero. <br /> ! "ddd" The three-character weekday abbreviation. <br /> ! "dddd" The full weekday name. <br /> ! "h" The one- or two-digit hour in 12-hour format. <br /> ! "hh" The two-digit hour in 12-hour format. Single-digit values are preceded by ! a zero. <br /> ! "H" The one- or two-digit hour in 24-hour format. <br /> ! "HH" The two-digit hour in 24-hour format. Single-digit values are preceded by ! a zero. <br /> ! "m" The one- or two-digit minute. <br /> ! "mm" The two-digit minute. Single-digit values are preceded by a zero. <br /> ! "M" The one- or two-digit month number. <br /> ! "MM" The two-digit month number. Single-digit values are preceded by a zero. <br /> ! "MMM" The three-character month abbreviation. <br /> ! "MMMM" The full month name. <br /> ! "t" The one-letter AM/PM abbreviation (that is, AM is displayed as "A"). <br /> ! "tt" The two-letter AM/PM abbreviation (that is, AM is displayed as "AM"). <br /> ! "yy" The last two digits of the year (that is, 1996 would be displayed as "96"). <br /> ! "yyyy" The full year (that is, 1996 would be displayed as "1996"). <br /> ! To make the information more readable, you can add body text to the format string ! by enclosing it in single quotes. Spaces and punctuation marks do not need to be ! quoted. <br /> ! <b> Note </b> Nonformat characters that are not delimited by single quotes will ! result in unpredictable display by the DTP control. <br /> For example, to display the current date with the format "'Today is: 04:22:31 Tuesday Mar 23, 1996", the format string is ! "'Today is: 'hh':'m':'s dddd MMM dd', 'yyyy". To include a single quote in your ! body text, use two consecutive single quotes. For example, ! "'Don''t forget' MMM dd',' yyyy" produces output that looks like: <br /> ! Don't forget Mar 23, 1996. <br /> ! It is not necessary to use quotes with the comma, so ! "'Don''t forget' MMM dd, yyyy" is also valid, and produces the same output. ! </p><pre><b><a name="13">:M GetTime: ( -- hrs min secs ) </a></b></pre><p>get user selected time ! </p><pre><b><a name="14">:M SetTime: ( hr min sec -- ) </a></b></pre><p>set time for user to edit ! </p><pre><b><a name="15">:M GetDate: ( -- day month year ) </a></b></pre><p>get user selected date ! </p><pre><b><a name="16">;Class </a></b></pre><p>End of DateTimePicker class </p><a name="TabControl"></a> Index: gdiStruct.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiStruct.htm,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** gdiStruct.htm 29 Aug 2006 10:31:48 -0000 1.12 --- gdiStruct.htm 26 May 2007 10:24:13 -0000 1.13 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: gdiDC.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/gdiDC.htm,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** gdiDC.htm 29 Aug 2006 10:31:48 -0000 1.11 --- gdiDC.htm 26 May 2007 10:24:13 -0000 1.12 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> Index: Generic.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Generic.htm,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Generic.htm 29 Aug 2006 10:31:48 -0000 1.15 --- Generic.htm 26 May 2007 10:24:12 -0000 1.16 *************** *** 1,6 **** ! <html> <head> ! <meta http-equiv="Content-Language" content="en-gb"> ! <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> --- 1,8 ---- ! <?xml version="1.0"?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> ! <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> *************** *** 42,78 **** the same for temporary compatibility. </p><h2>Glossary ! </h2><pre><b><a name="0">:CLASS Generic-Window <Super Object </a></b></pre><p>Base class for all window objects. </p><h3>Instance Variables ! </h3><pre><b><a name="1">int hWnd </a></b></pre><p>handle to Win32 window object ! </p><pre><b><a name="2">: SendMessage:Self ( lParam wParam message -- result ) </a></b></pre><p>Send a windows message to our self. ! </p><pre><b><a name="3">: SendMessage:SelfDrop ( lParam wParam message -- ) </a></b></pre><p>Send a windows message to our self and discard the result. </p><h3>Methods ! </h3><pre><b><a name="4">:M Classinit: ( -- ) </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="5">:M GetHandle: ( -- hWnd ) </a></b></pre><p>Get the window handle. ! </p><pre><b><a name="6">:M PutHandle: ( hWnd -- ) </a></b></pre><p>Set the window handle. Normally handled by the system. ! </p><pre><b><a name="7">:M ZeroWindow: ( -- ) </a></b></pre><p>Clear the window handle. Normally handled by the system. At start-up all window objects are zeroed automatically. ! </p><pre><b><a name="8">:M DestroyWindow: ( -- ) </a></b></pre><p>Destroy the window. The handle is always zero after executing this method. In a mult-tasking application this method causes an error if executed by a task that didn't create the window. ! </p><pre><b><a name="9">:M Close: ( -- ) </a></b></pre><p>Close the window. ! </p><pre><b><a name="10">:M Paint: ( -- ) </a></b></pre><p>Force window repaint. A WM_PAINT message is posted to the message queue. ! </p><pre><b><a name="11">:M SetRedraw: ( f -- ) </a></b></pre><p>Set the redraw state of the window. </p><p><i> f </i> Specifies the redraw state. If this parameter is TRUE, the content can be redrawn after a change. If this parameter is FALSE, the content cannot be redrawn after a change. ! </p><pre><b><a name="12">:M Show: ( state -- ) </a></b></pre><p>The ShowWindow function sets the specified window's show state. <br /> Possible values for state are: --- 44,82 ---- the same for temporary compatibility. </p><h2>Glossary ! </h2><pre><b><a name="0">: get-mouse-xy ( hWnd -- x y) \ W32F ! </a></b></pre><p>Return the co-ordinates of the mouse pointer in window, hWnd. ! </p><pre><b><a name="1">:CLASS Generic-Window <Super Object </a></b></pre><p>Base class for all window objects. </p><h3>Instance Variables ! </h3><pre><b><a name="2">int hWnd </a></b></pre><p>handle to Win32 window object ! </p><pre><b><a name="3">: SendMessage:Self ( lParam wParam message -- result ) </a></b></pre><p>Send a windows message to our self. ! </p><pre><b><a name="4">: SendMessage:SelfDrop ( lParam wParam message -- ) </a></b></pre><p>Send a windows message to our self and discard the result. </p><h3>Methods ! </h3><pre><b><a name="5">:M Classinit: ( -- ) </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="6">:M GetHandle: ( -- hWnd ) </a></b></pre><p>Get the window handle. ! </p><pre><b><a name="7">:M PutHandle: ( hWnd -- ) </a></b></pre><p>Set the window handle. Normally handled by the system. ! </p><pre><b><a name="8">:M ZeroWindow: ( -- ) </a></b></pre><p>Clear the window handle. Normally handled by the system. At start-up all window objects are zeroed automatically. ! </p><pre><b><a name="9">:M DestroyWindow: ( -- ) </a></b></pre><p>Destroy the window. The handle is always zero after executing this method. In a mult-tasking application this method causes an error if executed by a task that didn't create the window. ! </p><pre><b><a name="10">:M Close: ( -- ) </a></b></pre><p>Close the window. ! </p><pre><b><a name="11">:M Paint: ( -- ) </a></b></pre><p>Force window repaint. A WM_PAINT message is posted to the message queue. ! </p><pre><b><a name="12">:M SetRedraw: ( f -- ) </a></b></pre><p>Set the redraw state of the window. </p><p><i> f </i> Specifies the redraw state. If this parameter is TRUE, the content can be redrawn after a change. If this parameter is FALSE, the content cannot be redrawn after a change. ! </p><pre><b><a name="13">:M Show: ( state -- ) </a></b></pre><p>The ShowWindow function sets the specified window's show state. <br /> Possible values for state are: *************** *** 145,176 **** the message queue to prevent the current task hanging. If the window belongs to the current task the message is sent. ! </p><pre><b><a name="13">:M GDIFlush: ( -- ) </a></b></pre><p>The GdiFlush function flushes the calling thread's current batch. ! </p><pre><b><a name="14">:M Update: ( -- ) </a></b></pre><p>The UpdateWindow function updates the client area of the window by sending a WM_PAINT message to the window if the window's update region is not empty. The function sends a WM_PAINT message directly to the window procedure of the window, bypassing the application queue. If the update region is empty, no message is sent. ! </p><pre><b><a name="15">:M Scroll: { x y -- } </a></b></pre><p>The ScrollWindow function scrolls the contents of the specified window's client area. ! </p><pre><b><a name="16">:M Move: { x y w h -- } </a></b></pre><p>The MoveWindow function changes the position and dimensions of window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the parent window's client area. ! </p><pre><b><a name="17">:M SetWindowPos: { x y -- } </a></b></pre><p>The SetWindowPos function changes the position of a child, pop-up, or top-level window. <br /> X Specifies the new position of the left side of the window, in client coordinates. <br /> Y Specifies the new position of the top of the window, in client coordinates. ! </p><pre><b><a name="18">:M SetMenu: ( MenuHandle -- ) </a></b></pre><p>The SetMenu function assigns a new menu to the window. If MenuHandle is NULL, the window's current menu is removed. ! </p><pre><b><a name="19">:M SetText: { addr len \ text$ -- } </a></b></pre><p>The SetWindowText function changes the text of the window's title bar (if it has one). If the window is a control, the text of the control is changed. ! </p><pre><b><a name="20">:M GetText: ( -- addr len ) </a></b></pre><p>The GetWindowText function copies the text of the window's title bar (if it has one) into a buffer. If the window is a control, the text of the control is copied. ! </p><pre><b><a name="21">:M SetTextAlign: ( flag -- ) </a></b></pre><p>Set the text-alignment for the window. <br /> The current position is updated after each text output call. --- 149,180 ---- the message queue to prevent the current task hanging. If the window belongs to the current task the message is sent. ! </p><pre><b><a name="14">:M GDIFlush: ( -- ) </a></b></pre><p>The GdiFlush function flushes the calling thread's current batch. ! </p><pre><b><a name="15">:M Update: ( -- ) </a></b></pre><p>The UpdateWindow function updates the client area of the window by sending a WM_PAINT message to the window if the window's update region is not empty. The function sends a WM_PAINT message directly to the window procedure of the window, bypassing the application queue. If the update region is empty, no message is sent. ! </p><pre><b><a name="16">:M Scroll: { x y -- } </a></b></pre><p>The ScrollWindow function scrolls the contents of the specified window's client area. ! </p><pre><b><a name="17">:M Move: { x y w h -- } </a></b></pre><p>The MoveWindow function changes the position and dimensions of window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the parent window's client area. ! </p><pre><b><a name="18">:M SetWindowPos: { x y -- } </a></b></pre><p>The SetWindowPos function changes the position of a child, pop-up, or top-level window. <br /> X Specifies the new position of the left side of the window, in client coordinates. <br /> Y Specifies the new position of the top of the window, in client coordinates. ! </p><pre><b><a name="19">:M SetMenu: ( MenuHandle -- ) </a></b></pre><p>The SetMenu function assigns a new menu to the window. If MenuHandle is NULL, the window's current menu is removed. ! </p><pre><b><a name="20">:M SetText: { addr len \ text$ -- } </a></b></pre><p>The SetWindowText function changes the text of the window's title bar (if it has one). If the window is a control, the text of the control is changed. ! </p><pre><b><a name="21">:M GetText: ( -- addr len ) </a></b></pre><p>The GetWindowText function copies the text of the window's title bar (if it has one) into a buffer. If the window is a control, the text of the control is copied. ! </p><pre><b><a name="22">:M SetTextAlign: ( flag -- ) </a></b></pre><p>Set the text-alignment for the window. <br /> The current position is updated after each text output call. *************** *** 192,200 **** </td> </tr> ! </table><pre><b><a name="22">:M GetDC: ( -- hdc ) </a></b></pre><p>The GetDC function retrieves a handle to a display device context (DC) for the client area of the window. <br /> You have to call ReleaseDC when the DC isn't needed any longer. ! </p><pre><b><a name="23">:M GetWindowDC: ( -- hdc ) </a></b></pre><p>The GetWindowDC function retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars. A window device context --- 196,204 ---- </td> </tr> ! </table><pre><b><a name="23">:M GetDC: ( -- hdc ) </a></b></pre><p>The GetDC function retrieves a handle to a display device context (DC) for the client area of the window. <br /> You have to call ReleaseDC when the DC isn't needed any longer. ! </p><pre><b><a name="24">:M GetWindowDC: ( -- hdc ) </a></b></pre><p>The GetWindowDC function retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars. A window device context *************** *** 204,222 **** retrieves the device context. Previous attributes are lost. <br /> You have to call ReleaseDC when the DC isn't needed any longer. ! </p><pre><b><a name="24">:M ReleaseDC: ( hdc -- ) </a></b></pre><p>The ReleaseDC function releases the device context (DC) of the window. <br /> Call only after GetDC or GetWindowDC. ! </p><pre><b><a name="25">:M BeginPaint: ( ps -- hdc ) </a></b></pre><p>The BeginPaint function prepares the window for painting and fills a PAINTSTRUCT (ps) structure with information about the painting. ! </p><pre><b><a name="26">:M EndPaint: ( ps -- ) </a></b></pre><p>The EndPaint function marks the end of painting in the window. This function is required for each call to the BeginPaint function, but only after painting is complete. ! </p><pre><b><a name="27">:M GetClientRect: ( rect -- ) </a></b></pre><p>The GetClientRect function retrieves the coordinates of the window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0). ! </p><pre><b><a name="28">:M GetWindowLong: ( index -- value ) </a></b></pre><p>The GetWindowLong function retrieves information about the window. The function also retrieves the 32-bit (long) value at the specified offset into the extra --- 208,226 ---- retrieves the device context. Previous attributes are lost. <br /> You have to call ReleaseDC when the DC isn't needed any longer. ! </p><pre><b><a name="25">:M ReleaseDC: ( hdc -- ) </a></b></pre><p>The ReleaseDC function releases the device context (DC) of the window. <br /> Call only after GetDC or GetWindowDC. ! </p><pre><b><a name="26">:M BeginPaint: ( ps -- hdc ) </a></b></pre><p>The BeginPaint function prepares the window for painting and fills a PAINTSTRUCT (ps) structure with information about the painting. ! </p><pre><b><a name="27">:M EndPaint: ( ps -- ) </a></b></pre><p>The EndPaint function marks the end of painting in the window. This function is required for each call to the BeginPaint function, but only after painting is complete. ! </p><pre><b><a name="28">:M GetClientRect: ( rect -- ) </a></b></pre><p>The GetClientRect function retrieves the coordinates of the window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0). ! </p><pre><b><a name="29">:M GetWindowLong: ( index -- value ) </a></b></pre><p>The GetWindowLong function retrieves information about the window. The function also retrieves the 32-bit (long) value at the specified offset into the extra *************** *** 262,266 **** </td> </tr> ! </table><pre><b><a name="29">:M SetWindowLong: ( value index -- oldval ) </a></b></pre><p>The SetWindowLong function changes an attribute of the window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. --- 266,270 ---- </td> </tr> ! </table><pre><b><a name="30">:M SetWindowLong: ( value index -- oldval ) </a></b></pre><p>The SetWindowLong function changes an attribute of the window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. *************** *** 295,310 **** </td> </tr> ! </table><pre><b><a name="30">:M GetStyle: ( -- style ) </a></b></pre><p>Retrieves the window styles. ! </p><pre><b><a name="31">:M SetStyle: ( style -- ) </a></b></pre><p>Sets a new window style. ! </p><pre><b><a name="32">:M +Style: ( style -- ) </a></b></pre><p>Add a window style. ! </p><pre><b><a name="33">:M -Style: ( style -- ) </a></b></pre><p>Remove a window style. ! </p><pre><b><a name="34">:M SetFocus: ( -- ) </a></b></pre><p>The SetFocus function sets the keyboard focus to the window. The window must be attached to the calling thread's message queue. ! </p><pre><b><a name="35">:M SetForegroundWindow: ( -- ) </a></b></pre><p>The SetForegroundWindow function puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, --- 299,314 ---- </td> </tr> ! </table><pre><b><a name="31">:M GetStyle: ( -- style ) </a></b></pre><p>Retrieves the window styles. ! </p><pre><b><a name="32">:M SetStyle: ( style -- ) </a></b></pre><p>Sets a new window style. ! </p><pre><b><a name="33">:M +Style: ( style -- ) </a></b></pre><p>Add a window style. ! </p><pre><b><a name="34">:M -Style: ( style -- ) </a></b></pre><p>Remove a window style. ! </p><pre><b><a name="35">:M SetFocus: ( -- ) </a></b></pre><p>The SetFocus function sets the keyboard focus to the window. The window must be attached to the calling thread's message queue. ! </p><pre><b><a name="36">:M SetForegroundWindow: ( -- ) </a></b></pre><p>The SetForegroundWindow function puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, *************** *** 313,317 **** The foreground window is the window at the top of the Z order. It is the window that the user is working with. In a preemptive multitasking environment, you should generally let the ! user control which window is the foreground window. }n Windows 98, Windows 2000: The system restricts which processes can set the foreground window. A process can set the foreground window only if one of the following conditions is true: <br /> --- 317,321 ---- The foreground window is the window at the top of the Z order. It is the window that the user is working with. In a preemptive multitasking environment, you should generally let the ! user control which window is the foreground window. <br /> Windows 98, Windows 2000: The system restricts which processes can set the foreground window. A process can set the foreground window only if one of the following conditions is true: <br /> *************** *** 333,337 **** process, or the next time a process calls AllowSetForegroundWindow, unless that process is specified. <br /> The foreground process can disable calls to SetForegroundWindow by calling the LockSetForegroundWindow function. ! </p><pre><b><a name="36">:M SetActiveWindow: ( -- ) </a></b></pre><p>The SetActiveWindow function activates a window. The window must be attached to the calling thread's message queue. <br /> The SetActiveWindow function activates a window, but not if the application is in the background. The window will be --- 337,341 ---- process, or the next time a process calls AllowSetForegroundWindow, unless that process is specified. <br /> The foreground process can disable calls to SetForegroundWindow by calling the LockSetForegroundWindow function. ! </p><pre><b><a name="37">:M SetActiveWindow: ( -- ) </a></b></pre><p>The SetActiveWindow function activates a window. The window must be attached to the calling thread's message queue. <br /> The SetActiveWindow function activates a window, but not if the application is in the background. The window will be *************** *** 341,363 **** By using the AttachThreadInput function, a thread can attach its input processing to another thread. This allows a thread to call SetActiveWindow to activate a window attached to another thread's message queue. ! </p><pre><b><a name="37">:M MessageBox: ( szText szTitle style -- result ) </a></b></pre><p>The MessageBox function creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons. </p><table border="1"><tr><td>szText </td> ! <td>Pointer to a null-terminated string that contains the message to be displayed. \ </td> </tr> <tr><td>szTitle </td> ! <td>Pointer to a null-terminated string that contains the dialog box title. If this parameter is NULL, the default title Error is used. \ </td> </tr> <tr><td>Type </td> ! <td>Specifies the contents and behavior of the dialog box. This parameter can be a combination of flags from the following groups of flags </td> </tr> ! </table><p>To indicate the buttons displayed in the message box, specify one of the following values. </p><table border="1"><tr><td>MB_ABORTRETRYIGNORE </td> --- 345,367 ---- By using the AttachThreadInput function, a thread can attach its input processing to another thread. This allows a thread to call SetActiveWindow to activate a window attached to another thread's message queue. ! </p><pre><b><a name="38">:M MessageBox: ( szText szTitle style -- result ) </a></b></pre><p>The MessageBox function creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons. </p><table border="1"><tr><td>szText </td> ! <td>Pointer to a null-terminated string that contains the message to be displayed. </td> </tr> <tr><td>szTitle </td> ! <td>Pointer to a null-terminated string that contains the dialog box title. If this parameter is NULL, the default title Error is used. </td> </tr> <tr><td>Type </td> ! <td>Specifies the contents and behavior of the dialog box. This parameter can be a combination of flags from the following groups of flags. </td> </tr> ! </table><p>To indicate the buttons displayed in the message box, specify one of the following values. | </p><table border="1"><tr><td>MB_ABORTRETRYIGNORE </td> *************** *** 504,508 **** </td> </tr> ! </table><pre><b><a name="38">:M InvalidateRect: ( bgflag rectangle -- ) </a></b></pre><p>The InvalidateRect function adds a rectangle to the window's update region. The update region represents the portion of the window's client area that must be redrawn. --- 508,512 ---- </td> </tr> ! </table><pre><b><a name="39">:M InvalidateRect: ( bgflag rectangle -- ) </a></b></pre><p>The InvalidateRect function adds a rectangle to the window's update region. The update region represents the portion of the window's client area that must be redrawn. *************** *** 517,535 **** </td> </tr> ! </table><pre><b><a name="39">:M GetDlgItem: ( id -- handle ) </a></b></pre><p>The Ge... [truncated message content] |