Update of /cvsroot/win32forth/win32forth/doc/classes In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv11866/win32forth/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: gah:Updated docs Index: Childwnd.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Childwnd.htm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Childwnd.htm 5 Jun 2006 09:28:42 -0000 1.9 --- Childwnd.htm 29 Aug 2006 10:31:48 -0000 1.10 *************** *** 42,46 **** </a></b></pre><p>Create this child window. Parent is the object address of the parent window. ! </p><pre><b><a name="9">;Class </a></b></pre><p>End of Child-Window class </p><hr><p>Document $Id$</p> --- 42,48 ---- </a></b></pre><p>Create this child window. Parent is the object address of the parent window. ! </p><pre><b><a name="9">:M AutoSize: ( -- ) ! </a></b></pre><p>Size the window to fit into the client area of the parent window. ! </p><pre><b><a name="10">;Class </a></b></pre><p>End of Child-Window class </p><hr><p>Document $Id$</p> Index: Controls.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Controls.htm,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Controls.htm 5 Jun 2006 09:28:42 -0000 1.15 --- Controls.htm 29 Aug 2006 10:31:48 -0000 1.16 *************** *** 154,158 **** </a></b></pre><p>End of DialogWindow class </p><hr /><h1>ExControls -- More (enhanced) classes for standard windows controls. ! </h1><hr /><a name="TextBox"></a> <h2>TextBox class </h2><pre><b><a name="0">:Class TextBox <Super EditControl --- 154,235 ---- </a></b></pre><p>End of DialogWindow class </p><hr /><h1>ExControls -- More (enhanced) classes for standard windows controls. ! </h1><hr /><a name="Statusbar"></a> ! <h2>Statusbar class [...2026 lines suppressed...] </a></b></pre><p>Enable the control. ! </p><pre><b><a name="3">:M Disable: ( -- ) </a></b></pre><p>Disable the control. ! </p><pre><b><a name="4">;Class </a></b></pre><p>End of VertButtonBar class </p><a name="HorizButtonBar"></a> <h2>HorizButtonBar class ! </h2><pre><b><a name="5">:Class HorizButtonBar <super HButtonBar </a></b></pre><p>HorizButtonBar control </p><p>This is an enhanced Version of the HButtonBar class. </p><p>Note: this control isn't one of the standard control of MS windows. ! </p><pre><b><a name="6">:M SetFont: { fonthndl \ hb1 -- } </a></b></pre><p>Set the font in the control. ! </p><pre><b><a name="7">:M Enable: { flag \ hb1 -- } </a></b></pre><p>Enable the control. ! </p><pre><b><a name="8">:M Disable: ( -- ) </a></b></pre><p>Disable the control. ! </p><pre><b><a name="9">;Class </a></b></pre><p>End of HorizButtonBar class </p><hr><p>Document $Id$</p> Index: Generic.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Generic.htm,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Generic.htm 5 Jun 2006 09:28:42 -0000 1.14 --- Generic.htm 29 Aug 2006 10:31:48 -0000 1.15 *************** *** 47,74 **** </h3><pre><b><a name="1">int hWnd </a></b></pre><p>handle to Win32 window object </p><h3>Methods ! </h3><pre><b><a name="2">:M Classinit: ( -- ) </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="3">:M GetHandle: ( -- hWnd ) </a></b></pre><p>Get the window handle. ! </p><pre><b><a name="4">:M PutHandle: ( hWnd -- ) </a></b></pre><p>Set the window handle. Normally handled by the system. ! </p><pre><b><a name="5">: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="6">: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="7">:M Close: ( -- ) </a></b></pre><p>Close the window. ! </p><pre><b><a name="8">:M Paint: ( -- ) </a></b></pre><p>Force window repaint. A WM_PAINT message is posted to the message queue. ! </p><pre><b><a name="9">: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="10">:M Show: ( state -- ) </a></b></pre><p>The ShowWindow function sets the specified window's show state. <br /> Possible values for state are: --- 47,78 ---- </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: *************** *** 138,169 **** </td> </tr> ! </table><pre><b><a name="11">:M GDIFlush: ( -- ) </a></b></pre><p>The GdiFlush function flushes the calling thread's current batch. ! </p><pre><b><a name="12">: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="13">: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="14">: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="15">: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="16">: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="17">: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="18">: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="19">: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. --- 142,176 ---- </td> </tr> ! </table><p>If the window belongs to a different task or application the WM_SHOW is posted to the ! 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. *************** *** 185,193 **** </td> </tr> ! </table><pre><b><a name="20">: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="21">: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 --- 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 *************** *** 197,215 **** 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="22">: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="23">: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="24">: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="25">: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="26">: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 --- 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 *************** *** 255,259 **** </td> </tr> ! </table><pre><b><a name="27">: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. --- 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. *************** *** 288,303 **** </td> </tr> ! </table><pre><b><a name="28">:M GetStyle: ( -- style ) </a></b></pre><p>Retrieves the window styles. ! </p><pre><b><a name="29">:M SetStyle: ( style -- ) </a></b></pre><p>Sets a new window style. ! </p><pre><b><a name="30">:M +Style: ( style -- ) </a></b></pre><p>Add a window style. ! </p><pre><b><a name="31">:M -Style: ( style -- ) </a></b></pre><p>Remove a window style. ! </p><pre><b><a name="32">: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="33">: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, --- 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, *************** *** 326,330 **** 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="34">: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 --- 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 *************** *** 334,338 **** 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="35">: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. --- 341,345 ---- 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. *************** *** 497,501 **** </td> </tr> ! </table><pre><b><a name="36">: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. --- 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. *************** *** 510,528 **** </td> </tr> ! </table><pre><b><a name="37">:M GetDlgItem: ( id -- handle ) </a></b></pre><p>The GetDlgItem function retrieves a handle of the control (id) in the window. ! </p><pre><b><a name="38">:M GetDlgItemText: ( addr len id -- len ) </a></b></pre><p>The GetDlgItemText function retrieves the title or text associated with a control in the window. ! </p><pre><b><a name="39">:M SetDlgItemText: ( addr len id -- ) </a></b></pre><p>The SetDlgItemText function sets the title or text of a control in then window. ! </p><pre><b><a name="40">:M SetDlgItemFocus: ( id -- ) </a></b></pre><p>Set the focus to the control (id) in the window. ! </p><pre><b><a name="41">:M SelectDlgItemAll: ( id -- ) </a></b></pre><p>Selects all characters in the edit control (id). You can use this forn an edit control or a rich edit control. ! </p><pre><b><a name="42">:M IsDlgButtonChecked: ( id -- f1 ) </a></b></pre><p>The IsDlgButtonChecked function determines whether a button control has a check mark next to it or whether a three-state button control is grayed, checked, or neither. ! </p><pre><b><a name="43">:M CheckDlgButton: ( uCheck id -- ) </a></b></pre><p>The CheckDlgButton function changes the check state of a button control. Possible values for uCheck are: --- 517,535 ---- </td> </tr> ! </table><pre><b><a name="39">:M GetDlgItem: ( id -- handle ) </a></b></pre><p>The GetDlgItem function retrieves a handle of the control (id) in the window. ! </p><pre><b><a name="40">:M GetDlgItemText: ( addr len id -- len ) </a></b></pre><p>The GetDlgItemText function retrieves the title or text associated with a control in the window. ! </p><pre><b><a name="41">:M SetDlgItemText: ( addr len id -- ) </a></b></pre><p>The SetDlgItemText function sets the title or text of a control in then window. ! </p><pre><b><a name="42">:M SetDlgItemFocus: ( id -- ) </a></b></pre><p>Set the focus to the control (id) in the window. ! </p><pre><b><a name="43">:M SelectDlgItemAll: ( id -- ) </a></b></pre><p>Selects all characters in the edit control (id). You can use this forn an edit control or a rich edit control. ! </p><pre><b><a name="44">:M IsDlgButtonChecked: ( id -- f1 ) </a></b></pre><p>The IsDlgButtonChecked function determines whether a button control has a check mark next to it or whether a three-state button control is grayed, checked, or neither. ! </p><pre><b><a name="45">:M CheckDlgButton: ( uCheck id -- ) </a></b></pre><p>The CheckDlgButton function changes the check state of a button control. Possible values for uCheck are: *************** *** 542,546 **** </td> </tr> ! </table><pre><b><a name="44">:M SetDlgItemAlign: ( flag id -- ) </a></b></pre><p>Set the text-alignment for a control (id) in the window. <br /> The current position is updated after each text output call. --- 549,553 ---- </td> </tr> ! </table><pre><b><a name="46">:M SetDlgItemAlign: ( flag id -- ) </a></b></pre><p>Set the text-alignment for a control (id) in the window. <br /> The current position is updated after each text output call. *************** *** 562,568 **** </td> </tr> ! </table><pre><b><a name="45">:M SetAlign: ( flag id -- ) \ DEPRECATED </a></b></pre><p>Obsolescent Method use SetDlgItemAlign: instead. ! </p><pre><b><a name="46">:M EnableDlgItem: ( flag id -- ) </a></b></pre><p>Enable or disable a control (id) in the window. Possible values for flag are: --- 569,575 ---- </td> </tr> ! </table><pre><b><a name="47">:M SetAlign: ( flag id -- ) \ DEPRECATED </a></b></pre><p>Obsolescent Method use SetDlgItemAlign: instead. ! </p><pre><b><a name="48">:M EnableDlgItem: ( flag id -- ) </a></b></pre><p>Enable or disable a control (id) in the window. Possible values for flag are: *************** *** 577,581 **** </td> </tr> ! </table><pre><b><a name="47">:M ShowDlgItem: ( flag id -- ) </a></b></pre><p>Hide or show a control (id) in the window. Possible values for flag are: --- 584,588 ---- </td> </tr> ! </table><pre><b><a name="49">:M ShowDlgItem: ( flag id -- ) </a></b></pre><p>Hide or show a control (id) in the window. Possible values for flag are: *************** *** 590,594 **** </td> </tr> ! </table><pre><b><a name="48">:M CheckRadioButton: ( check_id first_id last_id -- ) </a></b></pre><p>The CheckRadioButton function adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group. --- 597,601 ---- </td> </tr> ! </table><pre><b><a name="50">:M CheckRadioButton: ( check_id first_id last_id -- ) </a></b></pre><p>The CheckRadioButton function adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group. *************** *** 608,632 **** </td> </tr> ! </table><pre><b><a name="49">:M SendDlgItemMessage: ( lParam wParam message id -- long ) </a></b></pre><p>Send a message to the control (id) in the window. ! </p><pre><b><a name="50">:M SetDlgItemFont: ( FontObject id -- ) </a></b></pre><p>Specify the font that the control (id) is to use when drawing text. <br /> FontObject must be the HANDLE of a font. If this parameter is NULL, the control uses the default system font to draw text. ! </p><pre><b><a name="51">;CLASS </a></b></pre><p>End of generic-window class </p><a name="DIALOG&CONTROL"></a> <h2>Generic class for Dialog- and Control-Window objects. ! </h2><pre><b><a name="52">|CLASS DIALOG&CONTROL <SUPER Generic-Window </a></b></pre><p>Base class for all dialog and control objects. </p><p>Since DIALOG&CONTROL is a generic class it should not be used to create any instances. ! </p><pre><b><a name="53">:M Classinit: ( -- ) </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="54">:M GetWindowRect: ( -- left top right bottom ) </a></b></pre><p>The GetWindowRect method retrieves the dimensions of the bounding rectangle of the window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen. ! </p><pre><b><a name="55">;CLASS </a></b></pre><p>End of DIALOG&CONTROL class </p><hr><p>Document $Id$</p> --- 615,639 ---- </td> </tr> ! </table><pre><b><a name="51">:M SendDlgItemMessage: ( lParam wParam message id -- long ) </a></b></pre><p>Send a message to the control (id) in the window. ! </p><pre><b><a name="52">:M SetDlgItemFont: ( FontObject id -- ) </a></b></pre><p>Specify the font that the control (id) is to use when drawing text. <br /> FontObject must be the HANDLE of a font. If this parameter is NULL, the control uses the default system font to draw text. ! </p><pre><b><a name="53">;CLASS </a></b></pre><p>End of generic-window class </p><a name="DIALOG&CONTROL"></a> <h2>Generic class for Dialog- and Control-Window objects. ! </h2><pre><b><a name="54">|CLASS DIALOG&CONTROL <SUPER Generic-Window </a></b></pre><p>Base class for all dialog and control objects. </p><p>Since DIALOG&CONTROL is a generic class it should not be used to create any instances. ! </p><pre><b><a name="55">:M Classinit: ( -- ) </a></b></pre><p>Initialise the class. ! </p><pre><b><a name="56">:M GetWindowRect: ( -- left top right bottom ) </a></b></pre><p>The GetWindowRect method retrieves the dimensions of the bounding rectangle of the window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen. ! </p><pre><b><a name="57">;CLASS </a></b></pre><p>End of DIALOG&CONTROL class </p><hr><p>Document $Id$</p> Index: Control.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/classes/Control.htm,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Control.htm 5 Jun 2006 09:28:42 -0000 1.10 --- Control.htm 29 Aug 2006 10:31:48 -0000 1.11 *************** *** 39,49 **** </a></b></pre><p>Get the start size of this control. <br /> Override this method to change it. ! </p><pre><b><a name="8">:M StartPos: ( -- left top ) </a></b></pre><p>Get the start position of this control. <br /> Override this method to change it. ! </p><pre><b><a name="9">:M CreateStruct: ( -- CreateStrucPointer ) </a></b></pre><p>This pointer to a structure, depends on what kind of window you are creating, so we just default it to NULL. ! </p><pre><b><a name="10">;Class </a></b></pre><p>End of Control class </p><hr><p>Document $Id$</p> --- 39,51 ---- </a></b></pre><p>Get the start size of this control. <br /> Override this method to change it. ! </p><pre><b><a name="8">:M StartPos: ( -- left top ) </a></b></pre><p>Get the start position of this control. <br /> Override this method to change it. ! </p><pre><b><a name="9">:M AutoSize: ( -- ) ! </a></b></pre><p>Size the window to fit into the client area of the parent window. ! </p><pre><b><a name="10">:M CreateStruct: ( -- CreateStrucPointer ) </a></b></pre><p>This pointer to a structure, depends on what kind of window you are creating, so we just default it to NULL. ! </p><pre><b><a name="11">;Class </a></b></pre><p>End of Control class </p><hr><p>Document $Id$</p> |