BASE CLASS FOR A WINDOWS APPLICATION. More...
#include <Zclassut.h>
Public Member Functions | |
| void | MouseCursor (LPCTSTR lpCursorName) |
| void | MouseCursorWait (void) |
| void | MouseCursorHand (void) |
| void | MouseCursorCross (void) |
| void | ResetMouseCursor (void) |
| xstring | ReadProfile (LPCTSTR lpAppName, LPCTSTR lpKeyName, LPCTSTR lpDefault=__nil, LPCTSTR lpFileName=__nil) |
| void | WriteProfile (LPCTSTR lpAppName, LPCTSTR lpKeyName, LPCTSTR lpString) |
BASE CLASS FOR A WINDOWS APPLICATION.
Provides the functionality of a Windows application. Each application that uses the RAD.On++ classes can only contain one xmodule object.
| void xmodule::MouseCursor | ( | LPCTSTR | lpCursorName | ) | [inline] |
Establishes the cursor shape.
| lpCursorName | - Pointer to a null-terminated string that contains the name of the cursor resource to be loaded. Alternatively, this parameter can consist of the resource identifier in the low-order word and zero in the high-order word. The MAKEINTRESOURCE macro can also be used to create this value. To use one of the Win32 predefined cursors, the application must the lpCursorName parameter to one the following values:
|
| void xmodule::MouseCursorCross | ( | void | ) | [inline] |
Establishes the cursor shape to Hand.
| void xmodule::MouseCursorHand | ( | void | ) | [inline] |
Establishes the cursor shape to Hand.
| void xmodule::MouseCursorWait | ( | void | ) | [inline] |
Establishes the cursor shape to Hourglass.
| xstring xmodule::ReadProfile | ( | LPCTSTR | lpAppName, | |
| LPCTSTR | lpKeyName, | |||
| LPCTSTR | lpDefault = __nil, |
|||
| LPCTSTR | lpFileName = __nil | |||
| ) |
Retrieves a string from the specified section in the module initialization file.
| lpAppName | - Pointer to a null-terminated string that specifies the section containing the key name. If this parameter is NULL, copies all section names. | |
| lpKeyName | - Pointer to the null-terminated string containing the key name whose associated string is to be retrieved. If this parameter is NULL, all key names in the section specified by the lpAppName parameter are copied. | |
| lpDefault | - Pointer to a null-terminated default string. Avoid specifying a default string with trailing blank characters. |
| void xmodule::ResetMouseCursor | ( | void | ) | [inline] |
Restores the cursor shape.
| void xmodule::WriteProfile | ( | LPCTSTR | lpAppName, | |
| LPCTSTR | lpKeyName, | |||
| LPCTSTR | lpString | |||
| ) |
Copies a string into the specified section of the module initialization file.
| lpAppName | - Pointer to a null-terminated string containing the name of the section to which the string will be copied. If the section does not exist, it is created. The name of the section is case-independent; the string can be any combination of uppercase and lowercase letters. | |
| lpKeyName | - Pointer to the null-terminated string containing the name of the key to be associated with a string. If the key does not exist in the specified section, it is created. If this parameter is NULL, the entire section, including all entries within the section, is deleted. | |
| lpString | - Pointer to a null-terminated string to be written to the file. If this parameter is NULL, the key pointed to by the lpKeyName parameter is deleted. |
1.6.1