From: George H. <geo...@us...> - 2006-01-26 17:48:54
|
Update of /cvsroot/win32forth/win32forth/doc/classes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4101/win32forth/doc/classes Modified Files: Generic.htm Window.htm Log Message: gah: Some optimizations and documenting Index: Generic.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Generic.htm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Generic.htm 8 Jan 2006 09:28:07 -0000 1.5 --- Generic.htm 26 Jan 2006 17:48:46 -0000 1.6 *************** *** 49,65 **** </p><h3>Methods </h3><pre><b><a name="0">:M Classinit: ( -- ) ! </a></b></pre><p>Init the class </p><pre><b><a name="0">:M GetHandle: ( -- hWnd ) ! </a></b></pre><p>Get the window handle </p><pre><b><a name="0">:M PutHandle: ( hWnd -- ) ! </a></b></pre><p>Set the window handle </p><pre><b><a name="0">:M ZeroWindow: ( -- ) ! </a></b></pre><p>Clear the window handle </p><pre><b><a name="0">:M DestroyWindow: ( -- ) ! </a></b></pre><p>Destroy the window </p><pre><b><a name="0">:M Close: ( -- ) ! </a></b></pre><p>Close the window </p><pre><b><a name="0">:M Paint: ( -- ) ! </a></b></pre><p>force window repaint </p><pre><b><a name="0">:M Show: ( state -- ) \ use words like SW_SHOWNORMAL </a></b></pre><p>The ShowWindow function sets the specified window's show state. <br /> --- 49,66 ---- </p><h3>Methods </h3><pre><b><a name="0">:M Classinit: ( -- ) ! </a></b></pre><p>Initialise the class. </p><pre><b><a name="0">:M GetHandle: ( -- hWnd ) ! </a></b></pre><p>Get the window handle. </p><pre><b><a name="0">:M PutHandle: ( hWnd -- ) ! </a></b></pre><p>Set the window handle. Normally handled by the system. </p><pre><b><a name="0">: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="0">:M DestroyWindow: ( -- ) ! </a></b></pre><p>Destroy the window. The handle is always zero after executing this method. </p><pre><b><a name="0">:M Close: ( -- ) ! </a></b></pre><p>Close the window. </p><pre><b><a name="0">:M Paint: ( -- ) ! </a></b></pre><p>Force window repaint. A WM_PAINT message is posted to the message queue. </p><pre><b><a name="0">:M Show: ( state -- ) \ use words like SW_SHOWNORMAL </a></b></pre><p>The ShowWindow function sets the specified window's show state. <br /> *************** *** 509,513 **** </a></b></pre><p>The SetDlgItemText function sets the title or text of a control in then window. </p><pre><b><a name="0">:M SetDlgItemFocus: ( id -- ) ! </a></b></pre><p>Set the focus to the control (id) in the window </p><pre><b><a name="0">:M SelectDlgItemAll: ( id -- ) </a></b></pre><p>Selects all characters in the edit control (id). You can use this forn an edit control --- 510,514 ---- </a></b></pre><p>The SetDlgItemText function sets the title or text of a control in then window. </p><pre><b><a name="0">:M SetDlgItemFocus: ( id -- ) ! </a></b></pre><p>Set the focus to the control (id) in the window. </p><pre><b><a name="0">:M SelectDlgItemAll: ( id -- ) </a></b></pre><p>Selects all characters in the edit control (id). You can use this forn an edit control *************** *** 555,559 **** </tr> </table><pre><b><a name="0">:M SetAlign: ( flag id -- ) \ DEPRECATED ! </a></b></pre><p>Obsolescent Method use SetDlgItemAlign: instead </p><pre><b><a name="0">:M EnableDlgItem: ( flag id -- ) </a></b></pre><p>Enable or disable a control (id) in the window. --- 556,560 ---- </tr> </table><pre><b><a name="0">:M SetAlign: ( flag id -- ) \ DEPRECATED ! </a></b></pre><p>Obsolescent Method use SetDlgItemAlign: instead. </p><pre><b><a name="0">:M EnableDlgItem: ( flag id -- ) </a></b></pre><p>Enable or disable a control (id) in the window. Index: Window.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Window.htm,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Window.htm 25 Jan 2006 11:10:52 -0000 1.6 --- Window.htm 26 Jan 2006 17:48:46 -0000 1.7 *************** *** 130,134 **** (&PS ivar) and the window device context (DC ivar) are initialized. <br /> Check ps_fErase in your method to see if the background of the window should ! be drawn and use ps_left, ps_top, ps_right and ps_bottom to see whitch part of the window should be painted. <br /> Default does nothing. --- 130,134 ---- (&PS ivar) and the window device context (DC ivar) are initialized. <br /> Check ps_fErase in your method to see if the background of the window should ! be drawn and use ps_left, ps_top, ps_right and ps_bottom to see which part of the window should be painted. <br /> Default does nothing. *************** *** 189,193 **** </a></b></pre><p>Send a message to a window. </p><pre><b><a name="0">: LoadIconFile ( adr len -- hIcon ) \ w32f ! </a></b></pre><p>Load an icon from a icon file. </p><hr><p>Document $Id$</p> </body></html> --- 189,193 ---- </a></b></pre><p>Send a message to a window. </p><pre><b><a name="0">: LoadIconFile ( adr len -- hIcon ) \ w32f ! </a></b></pre><p>Load an icon from an icon file. </p><hr><p>Document $Id$</p> </body></html> |