From: <mie...@us...> - 2011-12-07 00:06:38
|
Revision: 7349 http://oorexx.svn.sourceforge.net/oorexx/?rev=7349&view=rev Author: miesfeld Date: 2011-12-07 00:06:29 +0000 (Wed, 07 Dec 2011) Log Message: ----------- Continue ooDialog doc update Modified Paths: -------------- docs/trunk/oodialog/button.xml docs/trunk/oodialog/dataAttributes.xml docs/trunk/oodialog/dialogControlObject.xml docs/trunk/oodialog/dialogExtensions.xml docs/trunk/oodialog/dialogObject.xml docs/trunk/oodialog/overview.xml docs/trunk/oodialog/userdialog.xml docs/trunk/oodialog/windowExtensions.xml Modified: docs/trunk/oodialog/button.xml =================================================================== --- docs/trunk/oodialog/button.xml 2011-12-07 00:05:44 UTC (rev 7348) +++ docs/trunk/oodialog/button.xml 2011-12-07 00:06:29 UTC (rev 7349) @@ -582,7 +582,7 @@ <listitem> <para> To change a button state to not focused programmatically use one of the ooDialog methods that move the focus: - <link linkend="mthTabToNext">tabToNext</link>, <link linkend="tabtoprevious">tabToPrevious</link>, <link + <link linkend="mthTabToNext">tabToNext</link>, <link linkend="mthTabToPrevious">tabToPrevious</link>, <link linkend="mthSetFocus">setFocus</link>, <link linkend="mthFocusControl">focusControl</link>, etc.. </para> </listitem> Modified: docs/trunk/oodialog/dataAttributes.xml =================================================================== --- docs/trunk/oodialog/dataAttributes.xml 2011-12-07 00:05:44 UTC (rev 7348) +++ docs/trunk/oodialog/dataAttributes.xml 2011-12-07 00:06:29 UTC (rev 7349) @@ -2163,7 +2163,7 @@ text of the current selection. </para> <para> - To get the index of the current selection, use the <link linkend="h000344">GetCurrentComboIndex</link> method. + To get the index of the current selection, use the <link linkend="mthGetCurrentComboIndex">getCurrentComboIndex</link> method. </para> </listitem></varlistentry> <varlistentry><term><emphasis role="bold">Details</emphasis></term> Modified: docs/trunk/oodialog/dialogControlObject.xml =================================================================== --- docs/trunk/oodialog/dialogControlObject.xml 2011-12-07 00:05:44 UTC (rev 7348) +++ docs/trunk/oodialog/dialogControlObject.xml 2011-12-07 00:06:29 UTC (rev 7349) @@ -563,10 +563,6 @@ <entry><link linkend="mthGetDC">getDC</link></entry> </row> <row> -<entry>GetFocus</entry> -<entry><link linkend="getfocus">GetFocus</link></entry> -</row> -<row> <entry>getPixel</entry> <entry><link linkend="mthGetPixel">getPixel</link></entry> </row> @@ -647,14 +643,6 @@ <entry><link linkend="mthSetCursorPos">setCursorPos</link></entry> </row> <row> -<entry>setFocus</entry> -<entry><link linkend="mthSetFocus">setFocus</link></entry> -</row> -<row> -<entry>SetFocusToWindow</entry> -<entry><link linkend="setfocustowindow">SetFocusToWindow</link></entry> -</row> -<row> <entry>setHScrollPos</entry> <entry><link linkend="mthSetHScrollPos">setHScrollPos</link></entry> </row> @@ -667,14 +655,6 @@ <entry><link linkend="mthTabStop">TabStop</link></entry> </row> <row> -<entry>tabToNext</entry> -<entry><link linkend="mthTabToNext">tabToNext</link></entry> -</row> -<row> -<entry>tabToPrevious</entry> -<entry><link linkend="tabtoprevious">tabToPrevious</link></entry> -</row> -<row> <entry>transparentText</entry> <entry><link linkend="mthTransparentText">transparentText</link></entry> </row> @@ -973,109 +953,6 @@ the associated dialog control.</para> </section> -<section id="getfocus"><title>GetFocus</title> -<indexterm><primary>GetFocus</primary></indexterm> -<programlisting> -<![CDATA[ ->>-aDialogControl~GetFocus------------------------------------->< - - -]]> -</programlisting> - -<para>The GetFocus method returns the handle to the dialog control that currently -has the input focus.</para> -<variablelist> -<varlistentry><term><emphasis role="bold">Return value:</emphasis></term> -<listitem><para>The handle to the dialog control that has the input focus, or 0 -if this method failed. -</para></listitem></varlistentry> -</variablelist> -</section> - -<section id="mthSetFocus"><title>setFocus</title> -<indexterm><primary>setFocus</primary></indexterm> -<programlisting> -<![CDATA[ ->>-aDialogControl~setFocus(--hwnd--)--------------------------->< - - -]]> -</programlisting> - -<para>The setFocus method sets the input focus to a dialog control and returns -the handle of the control that previously had the focus.</para> -<variablelist> -<varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> -<listitem><para>The only argument is: -<variablelist> -<varlistentry><term>hwnd</term> -<listitem><para>The handle to the dialog control that is to receive the input -focus. -</para></listitem></varlistentry> -</variablelist> -</para></listitem></varlistentry> -<varlistentry><term><emphasis role="bold">Return value:</emphasis></term> -<listitem><para> -<variablelist> -<varlistentry><term>-1</term> -<listitem><para>The method failed. -</para></listitem></varlistentry> -<varlistentry><term>0</term> -<listitem><para>The focus was changed, but the control with the previous focus -could not be determined. -</para></listitem></varlistentry> -<varlistentry><term>Other</term> -<listitem><para>The handle to the control with the previous focus. -</para></listitem></varlistentry> -</variablelist> -</para></listitem></varlistentry> -</variablelist> -</section> - -<section id="setfocustowindow"><title>SetFocusToWindow</title> -<indexterm><primary>SetFocusToWindow</primary></indexterm> -<programlisting> -<![CDATA[ ->>-aDialogControl~SetFocusToWindow(--hwnd--)------------------->< - - -]]> -</programlisting> - -<para>The SetFocusToWindow method moves the input focus to another top-level -window or dialog. This has the effect of bringing that window to the -foreground. This method returns a handle to the dialog -<emphasis role="italic">control</emphasis> that previously had the -input focus.</para> -<variablelist> -<varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> -<listitem><para>The only argument is: -<variablelist> -<varlistentry><term>hwnd</term> -<listitem><para>The handle to the top-level window or dialog that is to -receive the input focus. -</para></listitem></varlistentry> -</variablelist> -</para></listitem></varlistentry> -<varlistentry><term><emphasis role="bold">Return value:</emphasis></term> -<listitem><para> -<variablelist> -<varlistentry><term>-1</term> -<listitem><para>The method failed. -</para></listitem></varlistentry> -<varlistentry><term>0</term> -<listitem><para>The focus was changed, but the control with the previous focus -could not be determined. -</para></listitem></varlistentry> -<varlistentry><term>Other</term> -<listitem><para>The handle to the control with the previous focus. -</para></listitem></varlistentry> -</variablelist> -</para></listitem></varlistentry> -</variablelist> -</section> - <section id="mthSetColor"><title>setColor</title> <indexterm><primary>setColor</primary></indexterm> <indexterm><primary>dialog control object</primary><secondary>setColor</secondary></indexterm> Modified: docs/trunk/oodialog/dialogExtensions.xml =================================================================== --- docs/trunk/oodialog/dialogExtensions.xml 2011-12-07 00:05:44 UTC (rev 7348) +++ docs/trunk/oodialog/dialogExtensions.xml 2011-12-07 00:06:29 UTC (rev 7349) @@ -70,11 +70,11 @@ <tbody> <row> <entry><link linkend="mthAddAutoStartMethod">addAutoStartMethod</link></entry> -<entry>xx</entry> +<entry>Adds a method name and parameters to an internal queue whose items are started automatically and run concurrently when the dialog is executed.</entry> </row> <row> <entry><link linkend="mthCaptureMouse">captureMouse</link></entry> -<entry>xx</entry> +<entry>Sets the mouse capture to this dialog window, or optionally a dialog control window belonging to this dialog.</entry> </row> <row> <entry><link linkend="mthChangeBitmapButton">changeBitmapButton</link></entry> @@ -82,23 +82,23 @@ </row> <row> <entry><link linkend="mthClearControlRect">clearControlRect</link></entry> -<entry></entry> +<entry>Clears the client area of the specified dialog control by redrawing the area with the background brush set to the default background color of a dialog.</entry> </row> <row> <entry><link linkend="mthClearRectClsDialogExtensions">clearRect</link></entry> -<entry></entry> +<entry>Clears the specified rectangular within the client area of a window.</entry> </row> <row> <entry><link linkend="mthClearWindowRect">clearWindowRect</link></entry> -<entry></entry> +<entry>Erases the client area of the given window.</entry> </row> <row> <entry><link linkend="mthCreateBrushClsDialogExtensions">createBrush</link></entry> -<entry>xx</entry> +<entry>Creates a logical brush that has the specified style, color, and pattern.</entry> </row> <row> <entry><link linkend="mthDetermineSBPosition">determineSBPosition</link></entry> -<entry></entry> +<entry>Calculates and sets the new scroll bar position based on the position data retrieved from the scroll bar and the step information.</entry> </row> <row> <entry><link linkend="mthDimBitmap">dimBitmap</link></entry> @@ -114,23 +114,23 @@ </row> <row> <entry><link linkend="mthDrawButton">drawButton</link></entry> -<entry>xx</entry> +<entry>Draws the specified button.</entry> </row> <row> <entry><link linkend="mthEndAsyncExecution">endAsyncExecution</link></entry> -<entry></entry> +<entry>Used to end the asynchronous execution of a dialog started using the executedAsync method.</entry> </row> <row> <entry><link linkend="mthExecuteAsync">executeAsync</link></entry> -<entry></entry> +<entry>Creates the underlying Windows dialog, starts it executing, shows it in the same way as the execute method does, and returns immediately.</entry> </row> <row> <entry><link linkend="mthFreeControlDC">freeControlDC</link></entry> -<entry>xx</entry> +<entry>Releases the device context of a control.</entry> </row> <row> <entry><link linkend="mthFreeWindowDC">freeWindowDC</link></entry> -<entry>xx</entry> +<entry>Releases the device context of a window.</entry> </row> <row> <entry><link linkend="mthGetBitmapPosition">getBitmapPosition</link></entry> @@ -150,91 +150,91 @@ </row> <row> <entry><link linkend="mthGetControlDC">getControlDC</link></entry> -<entry>xx</entry> +<entry>Returns the device context of a dialog control.</entry> </row> <row> <entry><link linkend="mthGetControlRect">getControlRect</link></entry> -<entry>xx</entry> +<entry>Returns the size and position rectangle of the specified dialog control.</entry> </row> <row> <entry><link linkend="mthGetListItemHeight">getListItemHeight</link></entry> -<entry>xx</entry> +<entry>Returns the height of the items in a list box in dialog units. <emphasis role="bold">(Inaccurate)</emphasis></entry> </row> <row> <entry><link linkend="mthGetListItemHeightPx">getListItemHeightPx</link></entry> -<entry>xx</entry> +<entry>Returns the height of the items in a list box in pixels.</entry> </row> <row> <entry><link linkend="mthGetListWidth">getListWidth</link></entry> -<entry>xx</entry> +<entry>Returns the scrollable width of a list box in dialog units. <emphasis role="bold">(Inaccurate)</emphasis></entry> </row> <row> <entry><link linkend="mthGetListWidthPx">getListWidthPx</link></entry> -<entry>xx</entry> +<entry>Returns the scrollable width of a list box in pixels.</entry> </row> <row> <entry><link linkend="mthGetMouseCapture">getMouseCapture</link></entry> -<entry>xx</entry> +<entry>Retrieves the window handle, if any, that currently has captured the mouse.</entry> </row> <row> <entry><link linkend="mthGetSBPos">getSBPos</link></entry> -<entry>xx</entry> +<entry>Returns the current position of a scroll bar control.</entry> </row> <row> <entry><link linkend="mthGetSBRange">getSBRange</link></entry> -<entry>xx</entry> +<entry>Returns the range of a scroll bar control.</entry> </row> <row> <entry><link linkend="mthGetWindowDC">getWindowDC</link></entry> -<entry>xx</entry> +<entry>Returns the device context of a window.</entry> </row> <row> <entry><link linkend="mthInstallAnimatedButton">installAnimatedButton</link></entry> -<entry>xx</entry> +<entry>Installs an animated button and runs it concurrently with the main activity.</entry> </row> <row> <entry><link linkend="mthInstallBitmapButton">installBitmapButton</link></entry> -<entry>xx</entry> +<entry>Connects bitmap(s) and a method with a push button.</entry> </row> <row> -<entry><link linkend="mthIsMouseButtonDown">IsMouseButtonDown</link></entry> -<entry>xx</entry> +<entry><link linkend="mthIsMouseButtonDown">isMouseButtonDown</link></entry> +<entry>Retrieves information on whether a mouse button is pressed.</entry> </row> <row> -<entry><link linkend="mthMoveControl"></link>moveControl</entry> -<entry>xx</entry> +<entry><link linkend="mthMoveControl">moveControl</link></entry> +<entry>Moves a dialog control to another position within the dialog window.</entry> </row> <row> <entry><link linkend="mthPopup">popup</link></entry> -<entry>xx</entry> +<entry>Starts a modeless dialog executing and returns immediately.</entry> </row> <row> <entry><link linkend="mthPopupAsChild">popupAsChild</link></entry> -<entry>xx</entry> +<entry>Assigns a parent dialog, starts a modeless dialog executing, and returns immediately. The dialog is closed automatically when the parent dialog ends.</entry> </row> <row> <entry><link linkend="mthRedrawControl">redrawControl</link></entry> -<entry>xx</entry> +<entry>Redraws the specified dialog control.</entry> </row> <row> <entry><link linkend="mthRedrawRectClsDialogExtensions">redrawRect</link></entry> -<entry>xx</entry> +<entry>Redraws a rectangle within the client area of this dialog, or optionally the client area of a specified window.</entry> </row> <row> <entry><link linkend="mthRedrawWindow">redrawWindow</link></entry> -<entry>xx</entry> +<entry>Redraws the specified window.</entry> </row> <row> <entry><link linkend="mthRedrawWindowRect">redrawWindowRect</link></entry> -<entry>xx</entry> +<entry>Forces this dialog to completely redraw its client area, or optionally the client area of a specified window.</entry> </row> <row> <entry><link linkend="mthReleaseMouseCapture"></link></entry> -<entry>xx</entry> +<entry>Releases the mouse capture from this dialog, or the dialog control belonging to this dialog, which had previously captured the mouse.</entry> </row> <row> <entry><link linkend="mthResizeControl">resizeControl</link></entry> -<entry>xx</entry> +<entry>Changes the size of a dialog control.</entry> </row> <row> <entry><link linkend="mthScrollBitmapFromTo">scrollBitmapFromTo</link></entry> @@ -246,16 +246,72 @@ </row> <row> <entry><link linkend="mthScrollInControl">scrollInControl</link></entry> -<entry>xx</entry> +<entry>Scrolls text in a dialog control using the specified font.</entry> </row> <row> <entry><link linkend="mthScrollText">scrollText</link></entry> -<entry>Scrolls text in the button with the given font, size, and color.</entry> +<entry>Scrolls text in the specified window using the specified font.</entry> </row> <row> <entry><link linkend="mthSetBitmapPosition">setBitmapPosition</link></entry> <entry>Sets the postion of the upper left corner of a bitmap within the bitmap button.</entry> </row> +<row> +<entry><link linkend="mthSetControlFont">setControlFont</link></entry> +<entry>Changes the font for specified dialog control.</entry> +</row> +<row> +<entry><link linkend="mthSetControlColor"></link>setControlColor</entry> +<entry>Sets the background color, and optionally the text color, for the specified dialog control.</entry> +</row> +<row> +<entry><link linkend="mthSetControlSysColor">setControlSysColor</link></entry> +<entry>Sets the background color, and optionally the text color, for the specified dialog control using the system colors.</entry> +</row> +<row> +<entry><link linkend="mthSetForegroundWindow">setForegroundWindow</link></entry> +<entry>Brings the specified window to the foregrouond.</entry> +</row> +<row> +<entry><link linkend="mthSetListColumnWidth">setListColumnWidth</link></entry> +<entry>Sets the width of all columns in a list box in dialog units. <emphasis role="bold">(Inaccurate)</entry> +</row> +<row> +<entry><link linkend="mthSetListColumnWidthPx">setListColumnWidthPx</link></entry> +<entry>Sets the width of all columns in a list box in pixels.</entry> +</row> +<row> +<entry><link linkend="mthSetListItemHeight">setListItemHeight</link></entry> +<entry>Sets the height for all items in a list box in dialog units. <emphasis role="bold">(Inaccurate)</entry> +</row> +<row> +<entry><link linkend="mthSetListItemHeightPx">setListItemHeightPx</link></entry> +<entry>Sets the height for all items in a list box in dialog units.</entry> +</row> +<row> +<entry><link linkend="mthSetListWidth"></link>setListWidth</entry> +<entry>Sets the scrollable width of a list box in dialog units. <emphasis role="bold">(Inaccurate)</entry> +</row> +<row> +<entry><link linkend="mthSetListWidthPx"></link>setListWidthPx</entry> +<entry>Sets the scrollable width of a list box in pixels.</entry> +</row> +<row> +<entry><link linkend="mthSetSBPos">setSBPos</link></entry> +<entry>Sets the current position of a scroll bar control.</entry> +</row> +<row> +<entry><link linkend="mthSetSBRange">setSBRange</link></entry> +<entry>Sets the range of a scroll bar control.</entry> +</row> +<row> +<entry><link linkend="mthWriteToWindow">writeToWindow</link></entry> +<entry>Writes text to the dialog or dialog control, specified by its window handle, in the given font at the specified position.</entry> +</row> +<row> +<entry><link linkend="mthWriteToControl">writeToControl</link></entry> +<entry>Writes text to the dialog control, specified by its resource ID, in the given font at the specified position.</entry> +</row> </tbody></tgroup> </table> </section> @@ -803,7 +859,7 @@ ]]> </programlisting> -<para>The clearWindowRect method erases the draw area +<para>The clearWindowRect method erases the client area of the given window. </para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> @@ -1563,7 +1619,7 @@ <indexterm><primary>freeControlDC</primary></indexterm> <programlisting> <![CDATA[ ->>--freeButtonDC(--id--,--dc--)------------------>< +>>--freeControlDC(--id--,--dc--)------------------>< ]]> @@ -1593,7 +1649,6 @@ <![CDATA[ >>--freeWindowDC(--hwnd--,--dc--)---------------->< - ]]> </programlisting> @@ -1956,7 +2011,7 @@ </programlisting> <para>The getControlDC method returns the device context -of a dialog control Do not forget to free the device context after you have completed +of a dialog control. Do not forget to free the device context after you have completed the operations (see <link linkend="mthFreeControlDC">freeControlDC</link>). </para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> @@ -1981,15 +2036,15 @@ ]]> </programlisting> -<para>The getControlRect method returns the size and position -of the given button. The four values (left, top, right, bottom) are returned -in one string separated by blanks. </para> +<para>The getControlRect method returns the size and position rectangle of the given dialog control. The four values +(left, top, right, bottom) are returned in one string separated by blanks. +</para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> <listitem><para>The only argument is: <variablelist> <varlistentry><term>id</term> -<listitem><para>The ID of the button +<listitem><para>The ID of the dialog control. </para></listitem></varlistentry> </variablelist> </para></listitem></varlistentry> @@ -2196,7 +2251,7 @@ ]]> </programlisting> -<para>The getSBPos method returns the current value of +<para>The getSBPos method returns the current position of a scroll bar control. </para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> @@ -2951,8 +3006,6 @@ <![CDATA[ >>--redrawControl(--id--+-------------+--)------->< +-,--erasebkg-+ - - ]]> </programlisting> @@ -2982,8 +3035,6 @@ >>--redrawRect(--+------+-,-left-,-top-,-right-,-bottom-,-+-------+--)--------->< +-hwnd-+ +-erase-+ - - ]]> </programlisting> @@ -3035,7 +3086,6 @@ <![CDATA[ >>--redrawWindow(--hwnd--)----------------------->< - ]]> </programlisting> @@ -3932,67 +3982,6 @@ </section> <!-- End DialogExtensions::setBitmapPosition() --> -<section id="mthSetControlFont"><title>setItemFont</title> -<indexterm><primary>setItemFont</primary></indexterm> -<programlisting> -<![CDATA[ - ->>--setItemFont(--id--,--fonthandle--+-----------+--)----------->< - +-.-redraw--+ - - -]]> -</programlisting> - -<para> - The setItemFont method changes the font for a particular dialog control. -</para> -<para> - The best place to call this method is within <link linkend="mthInitDialog">initDialog</link>. If the - font is no longer needed, for instance, when the dialog is closed or another font has been assigned to - the dialog control, you should free the font resource by calling <link - linkend="mthDeleteFont">deleteFont</link>. A good place to do this is the <link - linkend="mthLeaving">leaving</link> method.</para> -<variablelist> -<varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> -<listitem><para>The arguments are: -<variablelist> -<varlistentry><term>id</term> -<listitem><para>The ID of the dialog item. -</para></listitem></varlistentry> -<varlistentry><term>fonthandle</term> -<listitem><para>The handle returned by <link linkend="mthCreateFontEx">createFontEx</link>. -</para></listitem></varlistentry> -<varlistentry><term>redraw</term> -<listitem><para> -<variablelist> -<varlistentry><term>0</term> -<listitem><para>Do not redraw the control. -</para></listitem></varlistentry> -<varlistentry><term>1</term> -<listitem><para>Redraw the control, which is the default. -</para></listitem></varlistentry> -</variablelist> -</para></listitem></varlistentry> -</variablelist> -</para></listitem></varlistentry> -<varlistentry><term><emphasis role="bold">Example:</emphasis></term> -<listitem><para>The following example sets a 12-point Arial font for the control: -<programlisting> -<![CDATA[ -::method initDialog - . - . - . - hFont = self~createFontEx("Arial",12) - self~setControlFont(IDC_LB_ADDRESSES, hFont, .false) -]]> -</programlisting> -</para></listitem></varlistentry> -</variablelist> -</section> - - <section id="mthSetControlColor"><title>setControlColor</title> <indexterm><primary>setControlColor</primary></indexterm> <indexterm><primary>dialog object</primary><secondary>setControlColor</secondary></indexterm> @@ -4068,6 +4057,65 @@ </section> <!-- End DialogExtensions::setControlColor() --> +<section id="mthSetControlFont"><title>setControlFont</title> +<indexterm><primary>setControlFont</primary></indexterm> +<programlisting> +<![CDATA[ + +>>--setControlFont(--id--,--fonthandle--+-----------+--)-------->< + +-.-redraw--+ +]]> +</programlisting> + +<para> + The setControlFont method changes the font for a particular dialog control. +</para> +<para> + The best place to call this method is within <link linkend="mthInitDialog">initDialog</link>. If the + font is no longer needed, for instance, when the dialog is closed or another font has been assigned to + the dialog control, you should free the font resource by calling <link + linkend="mthDeleteFont">deleteFont</link>. A good place to do this is the <link + linkend="mthLeaving">leaving</link> method.</para> +<variablelist> +<varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> +<listitem><para>The arguments are: +<variablelist> +<varlistentry><term>id</term> +<listitem><para>The ID of the dialog item. +</para></listitem></varlistentry> +<varlistentry><term>fonthandle</term> +<listitem><para>The handle returned by <link linkend="mthCreateFontEx">createFontEx</link>. +</para></listitem></varlistentry> +<varlistentry><term>redraw</term> +<listitem><para> +<variablelist> +<varlistentry><term>0</term> +<listitem><para>Do not redraw the control. +</para></listitem></varlistentry> +<varlistentry><term>1</term> +<listitem><para>Redraw the control, which is the default. +</para></listitem></varlistentry> +</variablelist> +</para></listitem></varlistentry> +</variablelist> +</para></listitem></varlistentry> +<varlistentry><term><emphasis role="bold">Example:</emphasis></term> +<listitem><para>The following example sets a 12-point Arial font for the control: +<programlisting> +<![CDATA[ +::method initDialog + . + . + . + hFont = self~createFontEx("Arial",12) + self~setControlFont(IDC_LB_ADDRESSES, hFont, .false) +]]> +</programlisting> +</para></listitem></varlistentry> +</variablelist> +</section> + + <section id="mthSetControlSysColor"><title>setControlSysColor</title> <indexterm><primary>setControlSysColor</primary></indexterm> <indexterm><primary>dialog object</primary><secondary>setControlSysColor</secondary></indexterm> @@ -4614,11 +4662,9 @@ <indexterm><primary>setSBRange</primary></indexterm> <programlisting> <![CDATA[ - +-1------+ ->>-aBaseDialog~setSBRange(--id--,--min--,--max--,--+--------+--)->< - +-redraw-+ +>>--setSBRange(--id--,--min--,--max--,--+--------+--)----------->< + +-redraw-+ - ]]> </programlisting> Modified: docs/trunk/oodialog/dialogObject.xml =================================================================== --- docs/trunk/oodialog/dialogObject.xml 2011-12-07 00:05:44 UTC (rev 7348) +++ docs/trunk/oodialog/dialogObject.xml 2011-12-07 00:06:29 UTC (rev 7349) @@ -59,8 +59,8 @@ <section id="sctMethodsDlgObject"><title>Method Table</title> <para> - The following table lists the constants, class methods, attributes, and instance methods that all dialogs have in - common: + The following table lists the constant methods, class methods, attribute methods, and instance methods that all + dialogs have in common: </para> <table id="tblMethodsDlgObject" frame="all"> <title>Dialog Object Method Reference</title> <tgroup cols="2"> @@ -73,78 +73,10 @@ </thead> <tbody> <row> -<entry align="center"><emphasis role="bold">Constants</emphasis></entry> -<entry align="center"><emphasis role="bold">Constants</emphasis></entry> +<entry><link linkend="sctDialogConstantMethods"></link>Constant Methods</entry> +<entry>The dialog object provides a number of <emphasis role="italic">constant</emphasis> values through the <computeroutput>::constant</computeroutput>directive.</entry> </row> <row> -<entry>IDOK</entry> -<entry>Microsoft defined resource ID, often used for an Ok button. (Value == 1).</entry> -</row> -<row> -<entry>IDCANCEL</entry> -<entry>Microsoft defined resource ID, often used for a Cancel button. (Value == 2).</entry> -</row> -<row> -<entry>IDABORT</entry> -<entry>Microsoft defined resource ID, often used for an Abort button. (Value == 3).</entry> -</row> -<row> -<entry>IDRETRY</entry> -<entry>Microsoft defined resource ID, often used for a Retry button. (Value == 4).</entry> -</row> -<row> -<entry>IDIGNORE</entry> -<entry>Microsoft defined resource ID, often used for an Ignore button. (Value == 5).</entry> -</row> -<row> -<entry>IDYES</entry> -<entry>Microsoft defined resource ID, often used for a Yes button. (Value == 6).</entry> -</row> -<row> -<entry>IDNO</entry> -<entry>Microsoft defined resource ID, often used for a No button. (Value == 7).</entry> -</row> -<row> -<entry>IDCLOSE</entry> -<entry>Microsoft defined resource ID, often used for a Close button. (Value == 8).</entry> -</row> -<row> -<entry>IDHELP</entry> -<entry>Microsoft defined resource ID, often used for a Help button. (Value == 9).</entry> -</row> -<row> -<entry>IDTRYAGAIN</entry> -<entry>Microsoft defined resource ID, often used for a Try Again button. (Value == 10).</entry> -</row> -<row> -<entry>IDCONTINUE</entry> -<entry>Microsoft defined resource ID, often used for a Continue button. (Value == 11).</entry> -</row> -<row> -<entry>IDTIMEOUT</entry> -<entry>Microsoft defined resource ID. (Value == 32000).</entry> -</row> -<row> -<entry>SIZE_RESTORED</entry> -<entry>Used by the OS in a RESIZE event to indicate the window size was restored (Value == 0). </entry> -</row> -<row> -<entry>SIZE_MINIMIZED</entry> -<entry>Used by the OS in a RESIZE event to indicate the window was minimized (Value == 1). </entry> -</row> -<row> -<entry>SIZE_MAXIMIZED</entry> -<entry>Used by the OS in a RESIZE event to indicate the window was maximized (Value == 2). </entry> -</row> -<row> -<entry>SIZE_MAXSHOW</entry> -<entry>Used by the OS in a RESIZE event. Sent to all pop-up windows when some other window has been restored to its former size. (Value == 3). </entry> -</row> -<row> -<entry>SIZE_MAXHIDE</entry> -<entry>Used by the OS in a RESIZE event. Sent to all pop-up windows when some other window has been maximized (Value == 4). </entry> -</row> -<row> <entry align="center"><emphasis role="bold">Class Methods</emphasis></entry> <entry align="center"><emphasis role="bold">Class Methods</emphasis></entry> </row> @@ -165,8 +97,8 @@ <entry>Sets the default font name and size for all dialogs.</entry> </row> <row> -<entry align="center"><emphasis role="bold">Attributes</emphasis></entry> -<entry align="center"><emphasis role="bold">Attributes</emphasis></entry> +<entry align="center"><emphasis role="bold">Attribute Methods</emphasis></entry> +<entry align="center"><emphasis role="bold">Attribute Methods</emphasis></entry> </row> <row> <entry><link linkend="atrAutoDetect">autoDetect</link></entry> @@ -238,13 +170,21 @@ </row> <row> <entry align="center"><emphasis role="bold">Instance Methods</emphasis></entry> -<entry align="center"><emphasis role="bold"></emphasis></entry> +<entry align="center"><emphasis role="bold">Instance Methods</emphasis></entry> </row> <row> <entry><link linkend="deAddAutoStartMethod">addAutoStartMethod</link></entry> <entry>Adds a method and its arguments to be started automatically and run concurrently when the dialog is executed.</entry> </row> <row> +<entry><link linkend="mthAddComboEntry">addComboEntry</link></entry> +<entry>addComboEntry</entry> +</row> +<row> +<entry><link linkend="mthAddListEntry">addListEntry</link></entry> +<entry>addListEntry</entry> +</row> +<row> <entry><link linkend="enAddUserMsg">addUserMsg</link></entry> <entry>Connects an operating system window message with a method in the Rexx dialog object.</entry> </row> @@ -257,18 +197,54 @@ <entry>xx</entry> </row> <row> +<entry><link linkend="mthBackgroundColor">backgroundColor</link></entry> +<entry>backgroundColor</entry> +</row> +<row> <entry><link linkend="mthCancel">cancel</link></entry> <entry>A default event handler, provided by the ooDialog framework , for the cancel event.</entry> </row> <row> -<entry><link linkend="mthChangeBitmapButton">changeBitmapButton</link></entry> +<entry><link linkend="deCaptureMouse">captureMouse</link></entry> +<entry>Sets the mouse capture to this dialog window, or optionally a dialog control window belonging to this dialog.</entry> +</row> +<row> +<entry><link linkend="deCreateBrushClsDialogExtensions">createBrush</link></entry> +<entry>Creates a logical brush that has the specified style, color, and pattern.</entry> +</row> +<row> +<entry>center</entry> +<entry><link linkend="mthCenter">center</link></entry> +</row> +<row> +<entry><link linkend="deChangeBitmapButton">changeBitmapButton</link></entry> <entry>Changes the bitmaps for an already installed bitmap button and optionally immediately redraws the button.</entry> </row> <row> +<entry><link linkend="mthChangeComboEntry">changeComboEntry</link></entry> +<entry>changeComboEntry</entry> +</row> +<row> +<entry><link linkend="mthChangeListEntry">changeListEntry</link></entry> +<entry>changeListEntry</entry> +</row> +<row> <entry><link linkend="wbdoClear">clear</link></entry> <entry>Clears the client area of the dialog by painting it with the background brush.</entry> </row> <row> +<entry><link linkend="deClearControlRect">clearControlRect</link></entry> +<entry>Clears the client area of the specified dialog control by redrawing the area with the background brush set to the default background color of a dialog.</entry> +</row> +<row> +<entry><link linkend="deClearRectClsDialogExtensions">clearRect</link></entry> +<entry>Clears the specified rectangular within the client area of a window.</entry> +</row> +<row> +<entry><link linkend="deClearWindowRect">clearWindowRect</link></entry> +<entry>Erases the client area of the given window.</entry> +</row> +<row> <entry><link linkend="mthClearControlRect">clearControlRect</link></entry> <entry>Clears the client area of the specified dialog control by painting it with the background brush.</entry> </row> @@ -277,6 +253,10 @@ <entry>Clears a rectangular area of a window by painting it with the background brush.</entry> </row> <row> +<entry><link linkend="mthClearWindowRect">clearWindowRect</link></entry> +<entry>clearWindowRect</entry> +</row> +<row> <entry><link linkend="wbdoClient2screen">client2screen</link></entry> <entry>Converts a point, or points, in client-area coordinates of the dialog to its screen coordinates.</entry> </row> @@ -289,6 +269,14 @@ <entry>Converts client-area coordinates of the dialog to its screen coordinates.</entry> </row> <row> +<entry><link linkend="mthComboAddDirectory">comboAddDirectory</link></entry> +<entry>comboAddDirectory</entry> +</row> +<row> +<entry><link linkend="mthComboDrop">comboDrop</link></entry> +<entry>comboDrop</entry> +</row> +<row> <entry><link linkend="enConnectActivate">connectActivate</link></entry> <entry>Connects the window activation event to a method in the Rexx dialog.</entry> </row> @@ -437,10 +425,6 @@ <entry>Connects an event notification from an UpDown control to a method in the Rexx dialog.</entry> </row> <row> -<entry><link linkend="deCreateBrush">createBrush</link></entry> -<entry>Creates a logical brush that has the specified style, color, and pattern.</entry> -</row> -<row> <entry><link linkend="wedoCreateFont">createFont</link></entry> <entry>Returns a handle to a logical font, the implementation is <emphasis role="bold">incorrect</emphasis>.</entry> </row> @@ -485,14 +469,30 @@ <entry>Default implementation of a drag and drop handler for a tree view control.</entry> </row> <row> +<entry><link linkend="mthDeleteComboEntry">deleteComboEntry</link></entry> +<entry>deleteComboEntry</entry> +</row> +<row> <entry><link linkend="wedoDeleteFont">deleteFont</link></entry> <entry>Deletes a font returned from <emphasis role="italic">createFontEx</emphasis> or <emphasis role="italic">createFont</emphasis>.</entry> </row> <row> +<entry><link linkend="mthDeleteListEntry">deleteListEntry</link></entry> +<entry>deleteListEntry</entry> +</row> +<row> <entry><link linkend="wedoDeleteObject">deleteObject</link></entry> <entry>Deletes a graphic object,</entry> </row> <row> +<entry><link linkend="deDetermineSBPosition">determineSBPosition</link></entry> +<entry>Calculates and sets the new scroll bar position based on the position data retrieved from the scroll bar and the step information.</entry> +</row> +<row> +<entry><link linkend="deDimBitmap">dimBitmap</link></entry> +<entry>Draws a bitmap step by step.</entry> +</row> +<row> <entry><link linkend="wbdoDisable">disable</link></entry> <entry>Disables the dialog.</entry> </row> @@ -505,8 +505,8 @@ <entry>Disconnects a method that was previously connected to key press event.</entry> </row> <row> -<entry><link linkend="mthDisplaceBitmap">displaceBitmap TODO need de</link></entry> -<entry>Sets the position of a bitmap within the client area of a bitmap button.</entry> +<entry><link linkend="deDisplaceBitmap">displaceBitmap</link></entry> +<entry>Sets the position of the bitmap within the client area of a bitmap button.</entry> </row> <row> <entry><link linkend="wbdoDisplay">display</link></entry> @@ -525,10 +525,14 @@ <entry>Draws a circle or ellipse withi the given device context using the active pen.</entry> </row> <row> -<entry><link linkend="mthDrawBitmap">drawBitmap TODO need de</link></entry> +<entry><link linkend="deDrawBitmap">drawBitmap</link></entry> <entry>Draws all, or part of, the bitmap for a bitmap button at the specified position.</entry> </row> <row> +<entry><link linkend="deDrawButton">drawButton</link></entry> +<entry>Draws the specified button.</entry> +</row> +<row> <entry><link linkend="wedoDrawLine">drawLine</link></entry> <entry>Draws a line within the device context using the active pen.</entry> </row> @@ -549,6 +553,10 @@ <entry>Enables the control with the specified resource id.</entry> </row> <row> +<entry><link linkend="deEndAsyncExecution">endAsyncExecution</link></entry> +<entry>Used to end the asynchronous execution of a dialog started using the executedAsync method.</entry> +</row> +<row> <entry><link linkend="mthEnsureVisibleClsPlainBaseDialog">ensureVisible</link></entry> <entry>Causes the dialog to reposition itself so that it is entirely on the visible screen.</entry> </row> @@ -557,14 +565,22 @@ <entry>Creates the underlying dialog, shows it, starts the automatic methods, if any, and destroys the underlying dialog when the user closes it.</entry> </row> <row> -<entry><link linkend="mthExecuteAsync">executeAsync</link></entry> -<entry>Creates the underlying dialog, shows it, starts any automatic methods, and returns immediately.</entry> +<entry><link linkend="deExecuteAsync">executeAsync</link></entry> +<entry>Creates the underlying Windows dialog, starts it executing, shows it in the same way as the execute method does, and returns immediately.</entry> </row> <row> <entry><link linkend="wedoFillDrawing">fillDrawing</link></entry> <entry>Fills in an outline figure within the device context using the active brush.</entry> </row> <row> +<entry><link linkend="mthFindComboEntry">findComboEntry</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="mthFindListEntry">findListEntry</link></entry> +<entry></entry> +</row> +<row> <entry><link linkend="mthFocusControl">focusControl</link></entry> <entry>Sets the input focus to the specified dialog control.</entry> </row> @@ -585,23 +601,35 @@ <entry>Releases a device context.</entry> </row> <row> +<entry><link linkend="deFreeControlDC">freeControlDC</link></entry> +<entry>Releases the device context of a control.</entry> +</row> +<row> +<entry><link linkend="deFreeWindowDC">freeWindowDC</link></entry> +<entry>Releases the device context of a window.</entry> +</row> +<row> +<entry><link linkend="mthGet">get</link></entry> +<entry>get</entry> +</row> +<row> <entry><link linkend="wedoGetArcDirection">getArcDirection</link></entry> <entry>Returns the current drawing direction.</entry> </row> <row> -<entry><link linkend="mthGetBitMapPosition">getBitmapPosition TODO need de</link></entry> +<entry><link linkend="deGetBitmapPosition">getBitmapPosition</link></entry> <entry>Gets the position, as a <computeroutput>Point</computeroutput> object, of the bitmap in a bitmap button.</entry> </row> <row> -<entry><link linkend="mthGetBitMapSizeX">getBitmapSizeX TODO need de</link></entry> +<entry><link linkend="deGetBitMapSizeX">getBitmapSizeX</link></entry> <entry>Gets the width in pixels of the bitmap assigned to a bitmap button.</entry> </row> <row> -<entry><link linkend="mthGetBitMapSizeY">getBitmapSizeY TODO need de</link></entry> +<entry><link linkend="deGetBitMapSizeY">getBitmapSizeY</link></entry> <entry>Gets the height in pixels of the bitmap assigned to a bitmap button.</entry> </row> <row> -<entry><link linkend="mthGetBmpDisplacement">getBmpDisplacement TODO need de</link></entry> +<entry><link linkend="deGetBmpDisplacement">getBmpDisplacement</link></entry> <entry>Gets the position, as a <computeroutput>String</computeroutput> object, of the bitmap in a bitmap button.</entry> </row> <row> @@ -617,10 +645,22 @@ <entry>Sets the value of the connected data attribute in the Rexx dialog object to match the state of the specifed combo box in the underlying dialog.</entry> </row> <row> +<entry><link linkend="mthGetComboEntry">getComboEntry</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="mthGetComboItems">getComboItems</link></entry> +<entry></entry> +</row> +<row> <entry><link linkend="mthGetControlData">getControlData</link></entry> <entry>Sets the value of the connected data attribute in the Rexx dialog object to match the state of the specifed dialog control in the underlying dialog.</entry> </row> <row> +<entry><link linkend="deGetControlDC">getControlDC</link></entry> +<entry>Returns the device context of a dialog control.</entry> +</row> +<row> <entry><link linkend="mthGetControlHandle">getControlHandle</link></entry> <entry>Retrieves the window handle of the specified dialog control.</entry> </row> @@ -629,10 +669,22 @@ <entry>Returns the numeric resource ID of the control with the specified window handle.</entry> </row> <row> +<entry><link linkend="deGetControlRect">getControlRect</link></entry> +<entry>Returns the size and position rectangle of the specified dialog control.</entry> +</row> +<row> <entry><link linkend="mthGetControlText">getControlText</link></entry> <entry>Gets the text of the specified dialog control</entry> </row> <row> +<entry><link linkend="mthGetCurrentComboIndex">getCurrentComboIndex</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="mthGetCurrentListIndex">getCurrentListIndex</link></entry> +<entry></entry> +</row> +<row> <entry><link linkend="wedoGetCursorPos">getCursorPos</link></entry> <entry>Retrieves the current cursor position in pixels as a <computeroutput>Point</computeroutput> object.</entry> </row> @@ -661,6 +713,10 @@ <entry>Retrieves the numeric value of the dialog's extended style flags.</entry> </row> <row> +<entry><link linkend="mthGetFocus">getFocus</link></entry> +<entry></entry> +</row> +<row> <entry><link linkend="wedoGetFont">getFont</link></entry> <entry>Returns the font used by the dialog.</entry> </row> @@ -673,6 +729,34 @@ <entry>Sets the value of the connected data attribute in the Rexx dialog object to match the state of the specifed list box in the underlying dialog.</entry> </row> <row> +<entry><link linkend="mthGetListEntry">getListEntry</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="deGetListItemHeight">getListItemHeight</link></entry> +<entry>Returns the height of the items in a list box in dialog units. <emphasis role="bold">(Inaccurate)</emphasis></entry> +</row> +<row> +<entry><link linkend="deGetListItemHeightPx">getListItemHeightPx</link></entry> +<entry>Returns the height of the items in a list box in pixels.</entry> +</row> +<row> +<entry><link linkend="mthGetListItems">getListItems</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="deGetListWidth">getListWidth</link></entry> +<entry>Returns the scrollable width of a list box in dialog units. <emphasis role="bold">(Inaccurate)</emphasis></entry> +</row> +<row> +<entry><link linkend="deGetListWidthPx">getListWidthPx</link></entry> +<entry>Returns the scrollable width of a list box in pixels.</entry> +</row> +<row> +<entry><link linkend="deGetMouseCapture">getMouseCapture</link></entry> +<entry>Retrieves the window handle, if any, that currently has captured the mouse.</entry> +</row> +<row> <entry><link linkend="wedoGetPixel">getPixel</link></entry> <entry>Returns the color number of a pixel within the device context.</entry> </row> @@ -697,6 +781,14 @@ <entry>Returns the dimesions of the dialog.</entry> </row> <row> +<entry><link linkend="deGetSBPos">getSBPos</link></entry> +<entry>Returns the current position of a scroll bar control.</entry> +</row> +<row> +<entry><link linkend="deGetSBRange">getSBRange</link></entry> +<entry>Returns the range of a scroll bar control.</entry> +</row> +<row> <entry><link linkend="mthGetSelf">getSelf</link></entry> <entry>Returns the window handle of the dialog.</entry> </row> @@ -729,6 +821,10 @@ <entry>Calculates the size needed for a string in pixels.</entry> </row> <row> +<entry><link linkend="deGetWindowDC">getWindowDC</link></entry> +<entry>Returns the device context of a window.</entry> +</row> +<row> <entry><link linkend="enHasKeyPressConnection">hasKeyPressConnection</link></entry> <entry>Queries if a connection to a key press event already exists.</entry> </row> @@ -753,6 +849,14 @@ <entry>Marks the specified control as invisible without any redrawing.</entry> </row> <row> +<entry><link linkend="mthHideWindow">hideWindow</link></entry> +<entry>hideWindow</entry> +</row> +<row> +<entry><link linkend="mthHideWindowFast">hideWindowFast</link></entry> +<entry>hideWindowFast</entry> +</row> +<row> <entry><link linkend="wedoHScrollPos">hScrollPos</link></entry> <entry>Returns the position of the horizontal scroll bar in the dialog.</entry> </row> @@ -765,14 +869,26 @@ <entry>A method automatically invoked by the ooDialog framework when the underlying dialog is first created.</entry> </row> <row> -<entry><link linkend="mthInstallAnimatedButton">installAnimatedButton</link></entry> +<entry><link linkend="deInstallAnimatedButton">installAnimatedButton</link></entry> <entry>Installs an animated button and runs it concurrently with the main activity.</entry> </row> <row> -<entry><link linkend="mthInstallBitmapButton">installBitmapButton</link></entry> -<entry>Assigns the initial bitmaps to a bitmap button and optionally connects the button click to a method in the Rexx dialog.</entry> +<entry><link linkend="deInstallBitmapButton">installBitmapButton</link></entry> +<entry>Connects bitmap(s) and a method with a push button.</entry> </row> <row> +<entry><link linkend="mthInsertComboEntry">insertComboEntry</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="mthInsertListEntry">insertListEntry</link></entry> +<entry></entry> +</row> +<row> +<entry><link linkend="mthIsDialogActive">isDialogActive</link></entry> +<entry></entry> +</row> +<row> <entry><link linkend="wbdoIsEnabled">isEnabled</link></entry> <entry>Tests if the dialog is enabled.</entry> </row> @@ -785,6 +901,10 @@ <entry>Checks if a dialog is currently minimized.</entry> </row> <row> +<entry><link linkend="deIsMouseButtonDown">isMouseButtonDown</link></entry> +<entry>Retrieves information on whether a mouse button is pressed.</entry> +</row> +<row> <entry><link linkend="wbdoIsVisible">isVisible</link></entry> <entry>Tests if the dialog is visible.</entry> </row> @@ -989,6 +1109,18 @@ <entry>Sets the current drawing direction.</entry> </row> <row> +<entry><link linkend="mthSetCheckBoxData">setCheckBoxData</link></entry> +<entry>setCheckBoxData</entry> +</row> +<row> +<entry><link linkend="mthSetComboBoxData">setComboBoxData</link></entry> +<entry>setComboBoxData</entry> +</row> +<row> +<entry><link linkend="mthSetControlData">setControlData</link></entry> +<entry>setControlData</entry> +</row> +<row> <entry><link linkend="mthSetControlText">setControlText</link></entry> <entry>Sets the text for the specified dialog control</entry> </row> @@ -1005,6 +1137,14 @@ <entry>Sets the state of a dialog control using the value of a data attribute of the Rexx dialog.</entry> </row> <row> +<entry><link linkend="mthSetDataStem">setDataStem</link></entry> +<entry>setDataStem</entry> +</row> +<row> +<entry><link linkend="mthSetEditData">setEditData</link></entry> +<entry>setEditData</entry> +</row> +<row> <entry><link linkend="wedoSetFont">setFont</link></entry> <entry>Sets a new font to be used by the dialog.</entry> </row> @@ -1017,10 +1157,22 @@ <entry>Sets the thumb position of the horizontal scroll bar contained in the dialog.</entry> </row> <row> +<entry><link linkend="mthSetListBoxData">setListBoxData</link></entry> +<entry>setListBoxData</entry> +</row> +<row> +<entry><link linkend="mthSetRadioButtonData">setRadioButtonData</link></entry> +<entry>setRadioButtonData</entry> +</row> +<row> <entry><link linkend="wbdoSetRect">setRect</link></entry> <entry>Moves and / or resizes the dialog.</entry> </row> <row> +<entry><link linkend="mthSetTabStop">setTabStop</link></entry> +<entry>setTabStop</entry> +</row> +<row> <entry><link linkend="wbdoSetText">setText</link></entry> <entry>Sets the text, the caption, of the dialog.</entry> </row> @@ -1037,6 +1189,14 @@ <entry>Changes the size, position, visibility, and Z order of the dialog.</entry> </row> <row> +<entry><link linkend="mthSetWindowRect">setWindowRect</link></entry> +<entry>setWindowRect</entry> +</row> +<row> +<entry><link linkend="mthShowClsPlainBaseDialog">show</link></entry> +<entry>show</entry> +</row> +<row> <entry><link linkend="wbdoShowfast">showFast</link></entry> <entry>Marks the dialog as visible.</entry> </row> @@ -1086,363 +1246,492 @@ </row> -<row> -<entry><link linkend="mthSetCheckBoxData">setCheckBoxData</link></entry> -<entry>setCheckBoxData</entry> -</row> -<row> -<entry><link linkend="mthSetComboBoxData">setComboBoxData</link></entry> -<entry>setComboBoxData</entry> -</row> -<row> -<entry><link linkend="mthSetDataStem">setDataStem</link></entry> -<entry>setDataStem</entry> -</row> -<row> -<entry><link linkend="mthSetEditData">setEditData</link></entry> -<entry>setEditData</entry> -</row> -<row> -<entry><link linkend="mthSetFocus">setFocus</link></entry> -<entry>setFocus</entry> -</row> -<row> -<entry><link linkend="mthSetListBoxData">setListBoxData</link></entry> -<entry>setListBoxData</entry> -</row> -<row> -<entry><link linkend="mthSetRadioButtonData">setRadioButtonData</link></entry> -<entry>setRadioButtonData</entry> -</row> -<row> -<entry><link linkend="mthSetTabStop">setTabStop</link></entry> -<entry>setTabStop</entry> -</row> -<row> -<entry><link linkend="mthSetControlData">setControlData</link></entry> -<entry>setControlData</entry> -</row> -<row> -<entry><link linkend="mthSetWindowRect">setWindowRect</link></entry> -<entry>setWindowRect</entry> -</row> -<row> -<entry><link linkend="mthShowClsPlainBaseDialog">show</link></entry> -<entry>show</entry> -</row> <row> -<entry>AddComboEntry</entry> -<entry><link linkend="h000307">AddComboEntry</link></entry> +<entry><link linkend="mthListAddDirectory">listAddDirectory</link></entry> +<entry>listAddDirectory</entry> </row> <row> -<entry>AddListEntry</entry> -<entry><link linkend="h000380">AddListEntry</link></entry> +<entry><link linkend="mthListDrop">listDrop</link></entry> +<entry>listDrop</entry> </row> <row> -<entry>backgroundBitmap</entry> -<entry><link linkend="mthBackgroundBitmap">backgroundBitmap</link></entry> +<entry><link linkend="deMoveControl">moveControl</link></entry> +<entry>Moves a dialog control to another position within the dialog window.</entry> </row> <row> -<entry>BackgroundColor</entry> -<entry><link linkend="background">BackgroundColor</link></entry> +<entry><link linkend="dePopup">popup</link></entry> +<entry>Starts a modeless dialog executing and returns immediately.</entry> </row> <row> -<entry>captureMouse</entry> -<entry><link linkend="deCaptureMouse">captureMouse</link></entry> +<entry><link linkend="dePopupAsChild">popupAsChild</link></entry> +<entry>Assigns a parent dialog, starts a modeless dialog executing, and returns immediately. The dialog is closed automatically when the parent dialog ends.</entry> </row> <row> -<entry>Center</entry> -<entry><link linkend="h001370">Center</link></entry> +<entry><link linkend="mthRedrawControl">redrawControl</link></entry> +<entry>redrawControl</entry> </row> <row> -<entry>ChangeComboEntry</entry> -<entry><link linkend="h000352">ChangeComboEntry</link></entry> +<entry><link linkend="mthRedrawWindow">redrawWindow</link></entry> +<entry>redrawWindow</entry> </row> <row> -<entry>ChangeListEntry</entry> -<entry><link linkend="h000425">ChangeListEntry</link></entry> +<entry><link linkend="mthRedrawWindowRect">redrawWindowRect</link></entry> +<entry>redrawWindowRect</entry> </row> <row> -<entry>clearWindowRect</entry> -<entry><link linkend="mthClearWindowRect">clearWindowRect</link></entry> +<entry><link linkend="mthReleaseMouseCapture">releaseMouseCapture</link></entry> +<entry>releaseMouseCapture</entry> </row> <row> -<entry>ComboAddDirectory</entry> -<entry><link linkend="h000362">ComboAddDirectory</link></entry> +<entry><link linkend="mthResizeControl">resizeControl</link></entry> +<entry>resizeControl</entry> </row> <row> -<entry>ComboDrop</entry> -<entry><link linkend="h000372">ComboDrop</link></entry> +<entry><link linkend="mthScrollButton">scrollButton</link></entry> +<entry>scrollButton</entry> </row> <row> -<entry>DeleteComboEntry</entry> -<entry><link linkend="h000326">DeleteComboEntry</link></entry> +<entry><link linkend="mthScrollInControl">scrollInControl</link></entry> +<entry>scrollInControl</entry> </row> <row> -<entry>DeleteListEntry</entry> -<entry><link linkend="h000399">DeleteListEntry</link></entry> +<entry><link linkend="mthSetCurrentComboIndex">setCurrentComboIndex</link></entry> +<entry>setCurrentComboIndex</entry> </row> <row> -<entry>determineSBPosition</entry> -<entry><link linkend="mthDetermineSBPosition">determineSBPosition</link></entry> +<entry><link linkend="mthSetCurrentListIndex">setCurrentListIndex</link></entry> +<entry>setCurrentListIndex</entry> </row> <row> -<entry>drawButton</entry> -<entry><link linkend="mthDrawButton">drawButton</link></entry> +<entry><link linkend="mthSetFocusToWindow">setFocusToWindow</link></entry> +<entry>setFocusToWindow</entry> </row> <row> -<entry>endAsyncExecution</entry> -<entry><link linkend="mthEndAsyncExecution">endAsyncExecution</link></entry> +<entry><link linkend="mthSetForegroundWindow">setForegroundWindow</link></entry> +<entry>setForegroundWindow</entry> </row> <row> -<entry>FindComboEntry</entry> -<entry><link linkend="h000335">FindComboEntry</link></entry> +<entry><link linkend="mthSetControlFont">setControlFont</link></entry> +<entry>setControlFont</entry> </row> <row> -<entry>FindListEntry</entry> -<entry><link linkend="h000408">FindListEntry</link></entry> +<entry><link linkend="mthSetListColumnWidth">setListColumnWidth</link></entry> +<entry>setListColumnWidth</entry> </row> <row> -<entry>freeControlDC</entry> -<entry><link linkend="mthFreeControlDC">freeControlDC"</link></entry> +<entry><link linkend="mthSetListItemHeight">setListItemHeight</link></entry> +<entry>setListItemHeight</entry> </row> <row> -<entry>freeWindowDC</entry> -<entry><link linkend="mthFreeWindowDC">freeWindowDC</link></entry> +<entry><link linkend="mthSetListWidth">setListWidth</link></entry> +<entry>setListWidth</entry> </row> <row> -<entry>get</entry> -<entry><link linkend="mthGet">get</link></entry> +<entry><link linkend="mthSetListTabulators">setListTabulators</link></entry> +<entry>setListTabulators</entry> </row> <row> -<entry>getControlDC</entry> -<entry><link linkend="mthGetControlDC">getControlDC</link></entry> +<entry><link linkend="mthSetSBPos">setSBPos</link></entry> +<entry>setSBPos</entry> </row> <row> -<entry>getControlRect</entry> -<entry><link linkend="mthGetControlRect">getControlRect</link></entry> +<entry><link linkend="mthSetSBRange">setSBRange</link></entry> +<entry>setSBRange</entry> </row> <row> -<entry>GetComboEntry</entry> -<entry><link linkend="gcem">GetComboEntry</link></entry> +<entry><link linkend="mthShowControl">showControl</link></entry> +<entry>showControl</entry> </row> <row> -<entry>GetComboItems</entry> -<entry><link linkend="h000336">GetComboItems</link></entry> +<entry><link linkend="mthSetWindowTitle">setWindowTitle</link></entry> +<entry>setWindowTitle</entry> </row> <row> -<entry>GetCurrentComboIndex</entry> -<entry><link linkend="h000344">GetCurrentComboIndex</link></entry> +<entry><link linkend="mthShowControlFast">showControlFast</link></entry> +<entry>showControlFast</entry> </row> <row> -<entry>GetCurrentListIndex</entry> -<entry><link linkend="h000417">GetCurrentListIndex</link></entry> +<entry><link linkend="mthShowWindow">showWindow</link></entry> +<entry>showWindow</entry> </row> <row> -<entry>GetFocus</entry> -<entry><link linkend="getfocus">GetFocus</link></entry> +<entry><link linkend="mthShowWindowFast">showWindowFast</link></entry> +<entry>showWindowFast</entry> </row> <row> -<entry>GetListEntry</entry> -<entry><link linkend="glem">GetListEntry</link></entry> +<entry><link linkend="mthTabToPrevious">tabToPrevious</link></entry> +<entry>tabToPrevious</entry> </row> <row> -<entry>getListItemHeight</entry> -<entry><link linkend="mthGetListItemHeight">getListItemHeight</link></entry> +<entry><link linkend="mthTiledBackgroundBitmap">tiledBackgroundBitmap</link></entry> +<entry>xx</entry> </row> <row> -<entry>GetListItems</entry> -<entry><link linkend="h000409">GetListItems</link></entry> +<entry><link linkend="mthToTheTop">toTheTop</link></entry> +<entry>toTheTop</entry> </row> <row> -<entry>getListWidth</entry> -<entry><link linkend="mthGetListWidth">getListWidth</link></entry> +<entry><link linkend="deWriteToWindow">writeToWindow</link></entry> +<entry>Writes text to the dialog or dialog control, specified by its window handle, in the given font at the specified position.</entry> </row> <row> -<entry>getMouseCapture</entry> -<entry><link linkend="mthGetMouseCapture">getMouseCapture</link></entry> +<entry><link linkend="deWriteToControl">writeToControl</link></entry> +<entry>Writes text to the dialog control, specified by its resource ID, in the given font at the specified position.</entry> </row> + + <row> -<entry>getSBPos</entry> -<entry><link linkend="mthGetSBPos">getSBPos</link></entry> +<entry><link linkend="deRedrawControl">redrawControl</link></entry> +<entry>Redraws the specified dialog control.</entry> </row> <row> -<entry>getSBRange</entry> -<entry><link linkend=mthGetSBRange>getSBRange</link></entry> +<entry><link linkend="deRedrawRectClsDialogExtensions">redrawRect</link></entry> +<entry>Redraws a rectangle within the client area of this dialog, or optionally the client area of a specified window.</entry> </row> <row> -<entry>getWindowDC</entry> -<entry><link linkend="mthGetWindowDC">getWindowDC</link></entry> +<entry><link linkend="deRedrawWindow">redrawWindow</link></entry> +<entry>Redraws the specified window.</entry> </row> <row> -<entry>GetWindowRect</entry> -<entry><link linkend="h000712">GetWindowRect</link></entry> +<entry><link linkend="deRedrawWindowRect">redrawWindowRect</link></entry> +<entry>Forces this dialog to completely redraw its client area, or optionally the client area of a specified window.</entry> </row> <row> -<entry>HideWindow</entry> -<entry><link linkend="h001253">HideWindow</link></entry> +<entry><link linkend="deReleaseMouseCapture"></link></entry> +<entry>Releases the mouse capture from this dialog, or the dialog control belonging to this dialog, which had previously captured the mouse.</entry> </row> <row> -<entry>HideWindowFast</entry> -<entry><link linkend="h001261">HideWindowFast</link></entry> +<entry><link linkend="deResizeControl">resizeControl</link></entry> +<entry>Changes the size of a dialog control.</entry> </row> <row> -<entry>isMouseButtonDown</entry> -<entry><link linkend="mthIsMouseButtonDown">isMouseButtonDown</link></entry> +<entry><link linkend="deScrollBitmapFromTo">scrollBitmapFromTo</link></entry> +<entry>Scrolls the bitmap within the bitmap button from one position to another.</entry> </row> <row> -<entry>InsertComboEntry</entry> -<entry><link linkend="h000316">InsertComboEntry</link></entry> +<entry><link linkend="deScrollButton">scrollButton</link></entry> +<entry>Moves a rectangle within the button and redraws the uncovered area with the button background color.</entry> </row> <row> -<entry>InsertListEntry</entry> -<entry><link linkend="h000389">InsertListEntry</link></entry> +<entry><link linkend="deScrollInControl">scrollInControl</link></entry> +<entry>Scrolls text in a dialog control using th... [truncated message content] |