xmodule Class Reference

BASE CLASS FOR A WINDOWS APPLICATION. More...

#include <Zclassut.h>

List of all members.

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)

Detailed Description

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.


Member Function Documentation

void xmodule::MouseCursor ( LPCTSTR  lpCursorName  )  [inline]

Establishes the cursor shape.

Parameters:
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:

  • IDC_APPSTARTING - Standard arrow and small hourglass
  • IDC_ARROW - Standard arrow
  • IDC_CROSS - Crosshair
  • IDC_HAND - Windows NT 5.0 and later: Hand
  • IDC_HELP - Arrow and question mark
  • IDC_IBEAM - I-beam
  • IDC_ICON - Obsolete for applications marked version 4.0 or later.
  • IDC_NO - Slashed circle
  • IDC_SIZE - Obsolete for applications marked version 4.0 or later. Use IDC_SIZEALL.
  • IDC_SIZEALL - Four-pointed arrow pointing north, south, east, and west
  • IDC_SIZENESW - Double-pointed arrow pointing northeast and southwest
  • IDC_SIZENS - Double-pointed arrow pointing north and south
  • IDC_SIZENWSE - Double-pointed arrow pointing northwest and southeast
  • IDC_SIZEWE - Double-pointed arrow pointing west and east
  • IDC_UPARROW - Vertical arrow
  • IDC_WAIT - Hourglass
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.

Parameters:
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.

Parameters:
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.

The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:16 2009 for Rad.on++ by  doxygen 1.6.1