Functions

Modules

Variables


Variable Documentation

int arrowLen [inherited]

The length of arrow.

Definition at line 3522 of file window.h.

int arrowLen [inherited]

The length of arrow.

Definition at line 3498 of file window.h.

int barLen [inherited]

The length of thumb.

Definition at line 3526 of file window.h.

int barLen [inherited]

The length of thumb.

Definition at line 3502 of file window.h.

int barStart [inherited]

The start pixel of thumb.

Definition at line 3524 of file window.h.

int barStart [inherited]

The start pixel of thumb.

Definition at line 3500 of file window.h.

DWORD(* calc_3dbox_color)(DWORD color, int flag) [inherited]

The function pointer to calculate lighter, lightest, darker and darkest color according to main color.

Parameters:
color The main color.
flag The color type, can be one of the values:

  • LFRDR_3DBOX_COLOR_DARKER
    darker color.
  • LFRDR_3DBOX_COLOR_DARKEST
    darkest color.
  • LFRDR_3DBOX_COLOR_LIGHTER
    lighter color.
  • LFRDR_3DBOX_COLOR_LIGHTEST
    lightest color.

Definition at line 3713 of file window.h.

void(* calc_thumb_area)(HWND hWnd, BOOL vertical, LFSCROLLBARINFO *sb_info) [inherited]

The pointer to calculate scrollbar's thumb area function.

Parameters:
vertical Vertical scrollbar or Horizontal scrollbar.
sb_info The scrollbar information for calculating result.

Definition at line 3971 of file window.h.

void(* calc_trackbar_rect)(HWND hWnd, LFRDR_TRACKBARINFO *info, DWORD dwStyle, const RECT *rcClient, RECT *rcRuler, RECT *rcBar, RECT *rcBorder) [inherited]

The pointer to get trackbar rect function.

Definition at line 3904 of file window.h.

int(* calc_we_area)(HWND hWnd, int which, RECT *we_area) [inherited]

The pointer to calculate window element area function.

Parameters:
which The hit test code of the part to be calculated.
we_area The reactangle for calculating result.

Definition at line 3917 of file window.h.

int(* calc_we_metrics)(HWND hWnd, LFRDR_WINSTYLEINFO *style_info, int which) [inherited]

The pointer to calculate window element metrics function.

Parameters:
which,can be one of the following values:

  • LFRDR_METRICS_BORDER
    The metrics of window border.
  • LFRDR_METRICS_CAPTION_H
    The height of window caption.
  • LFRDR_METRICS_MENU_H
    The height of window menu.
  • LFRDR_METRICS_VSCROLL_W
    The width of vertical scrollbar.
  • LFRDR_METRICS_HSCROLL_H
    The height of horizontal scrollbar.
  • LFRDR_METRICS_ICON_H
    The height of window icon.
  • LFRDR_METRICS_ICON_W
    The width of window icon.
  • LFRDR_METRICS_MINWIN_WIDTH
    The minimize width of window.
  • LFRDR_METRICS_MINWIN_HEIGHT
    The minimize height of window.

Definition at line 3941 of file window.h.

const char* caption [inherited]

Dialog box caption

Definition at line 8733 of file window.h.

const char* caption [inherited]

Control caption

Definition at line 8703 of file window.h.

UINT cch [inherited]

Used by GetMenuItemInfo function to indicate the maximal length of the string

Definition at line 8084 of file window.h.

PBITMAP checkedbmp [inherited]

The pointer to a BITMAP object used for checked bitmap menu item

Definition at line 8072 of file window.h.

int cl [inherited]

The position and size of client area.

Definition at line 4058 of file window.h.

int controlnr [inherited]

Number of controls

Definition at line 8739 of file window.h.

PCTRLDATA controls [inherited]

Poiter to control array

Definition at line 8741 of file window.h.

int curPos [inherited]

The current scrollbar pos.

Definition at line 3518 of file window.h.

int curPos [inherited]

The current scrollbar pos.

Definition at line 3494 of file window.h.

int(* deinit)(PWERENDERER renderer) [inherited]

The pointer to release function. It is used to release renderer resource.

See also:
init

Definition at line 3697 of file window.h.

void(* disabled_text_out)(HWND hWnd, HDC hdc, const char *spText, PRECT rc, DWORD dt_fmt) [inherited]

The pointer to output disabled text function.

Definition at line 3975 of file window.h.

void(* draw_3dbox)(HDC hdc, const RECT *pRect, DWORD color, DWORD flag) [inherited]

The pointer to draw 3dbox function.

Parameters:
flag,can be OR'ed by the following values:

  • LFRDR_BTN_STATUS_NORMAL
    Normal status.
  • LFRDR_BTN_STATUS_HILITE
    Highlight status.
  • LFRDR_BTN_STATUS_PRESSED
    Pushed status.
  • LFRDR_BTN_STATUS_DISABLED
    Disabled status.
  • LFRDR_BTN_STATUS_SELECTED
    Selected status.
  • LFRDR_3DBOX_THICKFRAME
    Use thick/thin frame.
  • LFRDR_3DBOX_FILLED
    Filled rectangle.

Definition at line 3734 of file window.h.

void(* draw_arrow)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color, int status) [inherited]

The pointer to draw arrow function.

Parameters:
status,can be OR'ed by the following values:

  • LFRDR_ARROW_LEFT
    Left arrow.
  • LFRDR_ARROW_RIGHT
    Right arrow.
  • LFRDR_ARROW_UP
    Up arrow.
  • LFRDR_ARROW_DOWN
    Down arrow.
  • LFRDR_ARROW_NOFILL
    No filled arrow area.
  • LFRDR_ARROW_HAVESHELL
    Have shell for arrow.

Definition at line 3777 of file window.h.

void(* draw_border)(HWND hWnd, HDC hdc, BOOL is_active) [inherited]

The pointer to draw window border function.

Definition at line 3867 of file window.h.

void(* draw_caption)(HWND hWnd, HDC hdc, BOOL is_active) [inherited]

The pointer to draw window text and icon function.

Definition at line 3870 of file window.h.

void(* draw_caption_button)(HWND hwnd, HDC hdc, int ht_code, int state) [inherited]

The pointer to draw caption button function.

Parameters:
ht_code The hittest code. If 0, it should draw all buttons.
state The button state, can be one of the values:

  • LFRDR_BTN_STATUS_NORMAL
    Normal status.
  • LFRDR_BTN_STATUS_HILITE
    Highlight status.
  • LFRDR_BTN_STATUS_PRESSED
    Pushed status.
  • LFRDR_BTN_STATUS_DISABLED
    Disabled status.

Definition at line 3885 of file window.h.

void(* draw_check_button)(HWND hWnd, HDC hdc, const RECT *pRect, int status) [inherited]

The pointer to draw check button function, this function used by button.

Parameters:
status,can be OR'ed by the following values:

  • LFRDR_BTN_STATUS_NORMAL
    Normal status.
  • LFRDR_BTN_STATUS_HILITE
    Highlight status.
  • LFRDR_BTN_STATUS_PRESSED
    Pushed status.
  • LFRDR_BTN_STATUS_DISABLED
    Disabled status.
  • LFRDR_BTN_STATUS_SELECTED
    Selected status.

Definition at line 3864 of file window.h.

void(* draw_checkbox)(HDC hdc, const RECT *pRect, DWORD color, int status) [inherited]

The pointer to draw checkbox function.

See also:
draw_radio

Definition at line 3752 of file window.h.

void(* draw_checkmark)(HDC hdc, const RECT *pRect, DWORD color, int status) [inherited]

The pointer to draw checkmark function.

See also:
draw_radio

Definition at line 3758 of file window.h.

void(* draw_custom_hotspot)(HWND hWnd, HDC hdc, int ht_code, int state) [inherited]

The pointer to draw user-defined hotspot function.

Parameters:
ht_code The hittest code. If 0, it should draw all user-defined hotspot.
state The button state, can be one of the values:

  • LFRDR_BTN_STATUS_NORMAL
  • LFRDR_BTN_STATUS_HILITE
  • LFRDR_BTN_STATUS_PRESSED

Definition at line 3963 of file window.h.

void(* draw_disabled_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw disabled item function, this function used by listbox.

Definition at line 3807 of file window.h.

void(* draw_disabled_menu_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw menu disabled item function.

Definition at line 4026 of file window.h.

void(* draw_focus_frame)(HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw focus frame function.

Definition at line 3796 of file window.h.

void(* draw_fold)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color, int status, int next) [inherited]

The pointer to draw fold function, this function used by listview and treeview.

Parameters:
status,can be OR'ed by the following values:

  • LFRDR_TREE_FOLD
    Draw opening/closing folder.
  • LFRDR_TREE_CHILD
    Draw connecting status between parent and child node.
  • LFRDR_TREE_NEXT
    Draw connecting status between current and next node.
next The number of child node.

Definition at line 3792 of file window.h.

void(* draw_header)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw table header function. this function used by listview and gridview.

Definition at line 3998 of file window.h.

void(* draw_hilite_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw highlight item function, this function used by listbox.

Definition at line 3803 of file window.h.

void(* draw_hilite_menu_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw menu highlight item function.

Definition at line 4022 of file window.h.

void(* draw_normal_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw normal item function, this function used by listbox.

Definition at line 3799 of file window.h.

void(* draw_normal_menu_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw menu normal item function.

Definition at line 4018 of file window.h.

void(* draw_progress)(HWND hWnd, HDC hdc, int nMax, int nMin, int nPos, BOOL fVertical) [inherited]

The pointer to draw progressbar's chunk/bar function.

Definition at line 3992 of file window.h.

void(* draw_push_button)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color1, DWORD color2, int status) [inherited]

The pointer to draw push button function, this function used by button.

Parameters:
status,can be OR'ed by the following values:

  • BST_NORMAL
  • BST_HILITE
  • BST_PUSHED
  • BST_DISABLE
  • BST_UNCHECKED
  • BST_CHECKED
  • BST_INDETERMINATE
  • BST_FOCUS

Definition at line 3827 of file window.h.

void(* draw_radio)(HDC hdc, const RECT *pRect, DWORD color, int status) [inherited]

The pointer to draw radio function.

Parameters:
status,can be OR'ed by the following values:

  • LFRDR_MARK_ALL_SELECTED
    All selected status.
  • LFRDR_MARK_HALF_SELECTED
    Half selected status.
  • LFRDR_MARK_HAVESHELL
    Have shell for mark.

Definition at line 3747 of file window.h.

void(* draw_radio_button)(HWND hWnd, HDC hdc, const RECT *pRect, int status) [inherited]

The pointer to draw radio button function, the function ued by button.

Parameters:
status,can be OR'ed by the following values:

  • LFRDR_BTN_STATUS_NORMAL
    Normal status.
  • LFRDR_BTN_STATUS_HILITE
    Highlight status.
  • LFRDR_BTN_STATUS_PRESSED
    Pushed status.
  • LFRDR_BTN_STATUS_DISABLED
    Disabled status.
  • LFRDR_BTN_STATUS_SELECTED
    Selected status.

Definition at line 3846 of file window.h.

void(* draw_scrollbar)(HWND hWnd, HDC hdc, int sb_pos) [inherited]

The pointer to draw scrollbar function.

Parameters:
sb_pos The position need to be paint. If 0, it should draw all the scrollbar.
status,which is one of the value:

  • LFRDR_BTN_STATUS_NORMAL
    Normal status.
  • LFRDR_BTN_STATUS_HILITE
    Highlight status.
  • LFRDR_BTN_STATUS_PRESSED
    Pushed status.
  • LFRDR_BTN_STATUS_DISABLED
    Disabled status.

Definition at line 3901 of file window.h.

void(* draw_significant_item)(HWND hWnd, HDC hdc, const RECT *pRect, DWORD color) [inherited]

The pointer to draw significant item function, this function used by listbox.

Definition at line 3811 of file window.h.

void(* draw_tab)(HWND hWnd, HDC hdc, RECT *rect, char *title, DWORD color, int flag, HICON icon) [inherited]

The pointer to draw propsheet's tab function.

Parameters:
flag,can be OR'ed by the following values:

  • LFRDR_TAB_BOTTOM
    Use bottom tab.
  • LFRDR_TAB_ACTIVE
    Active tab.
  • LFRDR_TAB_ICON
    With icon.

Definition at line 3988 of file window.h.

void(* draw_trackbar)(HWND hWnd, HDC hdc, LFRDR_TRACKBARINFO *info) [inherited]

The pointer to draw trackbar function.

Definition at line 3909 of file window.h.

DWORD dwAddData [inherited]

Addtional data, must be zero

Definition at line 8743 of file window.h.

DWORD dwAddData [inherited]

Additional data

Definition at line 8705 of file window.h.

DWORD dwAddData [inherited]

The private additional data associated with this window class

Definition at line 6945 of file window.h.

DWORD dwAddData [inherited]

The first private data associated with the main window

Definition at line 4929 of file window.h.

DWORD dwExStyle [inherited]

Dialog box extended style

Definition at line 8729 of file window.h.

DWORD dwExStyle [inherited]

Control extended style

Definition at line 8707 of file window.h.

DWORD dwExStyle [inherited]

Extended window style for all instances of this window class

Definition at line 6933 of file window.h.

DWORD dwExStyle [inherited]

The extended style of the main window

Definition at line 4902 of file window.h.

DWORD dwExStyle [inherited]

The extended styles of window.

Definition at line 4064 of file window.h.

DWORD dwReserved [inherited]

Reserved, do not use

Definition at line 4932 of file window.h.

DWORD dwStyle [inherited]

Control style

Definition at line 8697 of file window.h.

DWORD dwStyle [inherited]

Window style for all instances of this window class

Definition at line 6930 of file window.h.

DWORD dwStyle [inherited]

The styles of window.

Definition at line 4062 of file window.h.

void(* erase_background)(HWND hWnd, HDC hdc, const RECT *rect) [inherited]

The pointer to erase background function.

Definition at line 4015 of file window.h.

UINT fMask [inherited]

A flag indicates which fields contain valid values, can be OR'ed value of the following values:

  • SIF_RANGE
    Retrives or sets the range of the scroll bar.
  • SIF_PAGE
    Retrives or sets the page size of the scroll bar.
  • SIF_POS
    Retrives or sets the position of the scroll bar.
  • SIF_DISABLENOSCROLL
    Hides the scroll when disabled, not implemented so far.

Definition at line 6811 of file window.h.

HACCEL hAccel [inherited]

The handle of accelerator table.

Definition at line 4071 of file window.h.

HCURSOR hCursor [inherited]

Cursor handle to all instances of this window class

Definition at line 6936 of file window.h.

HCURSOR hCursor [inherited]

The handle to the cursor of the main window

Definition at line 4911 of file window.h.

HCURSOR hCursor [inherited]

The handle of cursor.

Definition at line 4073 of file window.h.

HWND hHosting [inherited]

The hosting main window

Definition at line 4917 of file window.h.

HICON hIcon [inherited]

Dialog box icon

Definition at line 8735 of file window.h.

HICON hIcon [inherited]

The handle to the icon of the main window

Definition at line 4914 of file window.h.

HICON hIcon [inherited]

The handle of icon.

Definition at line 4075 of file window.h.

int(* hit_test)(HWND hWnd, int x, int y) [inherited]

The pointer to hittest function.

Parameters:
x,y The position of the mouse in screen coordinates.
Returns:
HT_XXX or HT_USER_XXX, hittest value.

Definition at line 3949 of file window.h.

HMENU hMenu [inherited]

Dialog box menu

Definition at line 8737 of file window.h.

HMENU hMenu [inherited]

The handle to the menu of the main window

Definition at line 4908 of file window.h.

HMENU hMenu [inherited]

The handle of menu.

Definition at line 4069 of file window.h.

LFSCROLLBARINFO hscroll [inherited]

The horizital scrollbar information.

Definition at line 4089 of file window.h.

HMENU hsubmenu [inherited]

The handle to the sub-menu if this menu contains a sub menu

Definition at line 8066 of file window.h.

HMENU hSysMenu [inherited]

The handle of system menu.

Definition at line 4077 of file window.h.

int iBkColor [inherited]

Background color pixel value of all instances of this window class

Definition at line 6939 of file window.h.

int iBkColor [inherited]

The pixel value of background color of the main window

Definition at line 4926 of file window.h.

int iBkColor [inherited]

The background color.

Definition at line 4067 of file window.h.

int id [inherited]

Control identifier

Definition at line 8701 of file window.h.

int id [inherited]

The identifier of the menu item

Definition at line 8063 of file window.h.

int id [inherited]

The identifier of window.

Definition at line 4084 of file window.h.

int(* init)(PWERENDERER renderer) [inherited]

The pointer to initialize function. It is used to initialize basic renderer information (metrics, color, font, icon, etc) and private information.

Definition at line 3691 of file window.h.

DWORD itemdata [inherited]

The private data attached to the menu item

Definition at line 8075 of file window.h.

LPARAM lParam [inherited]

The second parameter of the message (32-bit integer).

Definition at line 2174 of file window.h.

int lx [inherited]

The position of the main window in the screen coordinates

Definition at line 4923 of file window.h.

int(* MainWindowProc)(HWND, int, WPARAM, LPARAM) [inherited]

The window callback procedure

Definition at line 4920 of file window.h.

int maxPos [inherited]

The max value of scrollbar range.

Definition at line 3516 of file window.h.

int maxPos [inherited]

The max value of scrollbar range.

Definition at line 3492 of file window.h.

int message [inherited]

The message identifier.

Definition at line 2170 of file window.h.

int nMax [inherited]

The maximum position value of the scroll bar

Definition at line 6815 of file window.h.

int nMin [inherited]

The minimum position value of the scroll bar

Definition at line 6813 of file window.h.

UINT nPage [inherited]

The page size of the scroll bar

Definition at line 6817 of file window.h.

int nPos [inherited]

The position value of the scroll bar

Definition at line 6819 of file window.h.

int(* on_click_hotspot)(HWND hWnd, int which) [inherited]

The pointer to user-defined hotspot function.

Definition at line 3952 of file window.h.

DWORD(* on_get_rdr_attr)(struct _WINDOW_ELEMENT_RENDERER *, int we_attr_id) [inherited]

The pointer to get renderer private data function.

Parameters:
we_attr_id The id pointed renderer private data.

Definition at line 4004 of file window.h.

DWORD(* on_set_rdr_attr)(struct _WINDOW_ELEMENT_RENDERER *, int we_attr_id, DWORD we_attr, BOOL change) [inherited]

The pointer to set renderer private data function.

Parameters:
we_attr_id The id pointed renderer private data.
we_attr The new renderer private data.

Definition at line 4012 of file window.h.

DWORD opMask [inherited]

The mask of class information, can be OR'd with the following values:

  • COP_STYLE
    Retrive the style of the window class.
  • COP_HCURSOR
    Retrive the cursor of the window class.
  • COP_BKCOLOR
    Retrive the background pixel value of the window class.
  • COP_WINPROC Retrive the window procedure of the window class.
  • COP_ADDDATA
    Retrive the additional data of the window class.

Definition at line 6927 of file window.h.

int pageStep [inherited]

The step per page.

Definition at line 3520 of file window.h.

int pageStep [inherited]

The step per page.

Definition at line 3496 of file window.h.

PLOGFONT pLogFont [inherited]

The pointer to logical font.

Definition at line 4079 of file window.h.

const void* private_info [inherited]

The private information.

Definition at line 4045 of file window.h.

unsigned int refcount [inherited]

The reference count.

Definition at line 4042 of file window.h.

const char* spCaption [inherited]

The caption of the main window

Definition at line 4905 of file window.h.

char* spCaption [inherited]

The caption of window.

Definition at line 4082 of file window.h.

UINT state [inherited]

State of the menu item, can be one of the following values:

  • MFS_GRAYED
    The menu item is disabled.
  • MFS_DISABLED
    The menu item is disabled.
  • MFS_CHECKED
    The menu item is checked.
  • MFS_ENABLED
    The menu item is enabled.
  • MFS_UNCHECKED
    The menu item is unchecked.

Definition at line 8060 of file window.h.

int status [inherited]

The status of scrollbar.

Definition at line 3535 of file window.h.

int status [inherited]

The status of scrollbar.

Definition at line 3504 of file window.h.

unsigned int time [inherited]

Time

Definition at line 2176 of file window.h.

UINT type [inherited]

Type of menu item, can be one of the following values:

  • MFT_STRING
    A normal string menu item.
  • MFT_BITMAP
    A bitmap menu item. When the menu item is this type, the member typedata will be the pointer to the normal BITMAP object, the member uncheckedbmp will be the pointer to the hilighted BITMAP object, the member checkedbmp will be the pointer to the checked BITMAP object.
  • MFT_BMPSTRING
    A bitmap menu item followed by a string. When the menu item is this type, the member typedata will be the pointer to the text string, the member uncheckedbmp will be the pointer to the normal BITMAP object, and the member checkedbmp will be the pointer to the checked BITMAP object.
  • MFT_SEPARATOR
    A separator in menu.
  • MFT_RADIOCHECK
    A normal string with a radio check mark.
  • MFT_MARKCHECK
    A normal string with a check box mark.

Definition at line 8045 of file window.h.

DWORD typedata [inherited]

The data of this menu item, used to pass the string or the pointer to the BITMAP object of the menu item

Definition at line 8078 of file window.h.

PBITMAP uncheckedbmp [inherited]

The pointer to a BITMAP object used for unchecked/highlited bitmap menu item

Definition at line 8069 of file window.h.

LFSCROLLBARINFO vscroll [inherited]

The vertical scrollbar information.

Definition at line 4087 of file window.h.

DWORD we_attr [inherited]

The attribute value.

Definition at line 3475 of file window.h.

const WINDOW_ELEMENT_ATTR* we_attrs [inherited]

table of we_attrs

Definition at line 8713 of file window.h.

DWORD we_colors[WE_COLORS_NUMBER][3] [inherited]

The window element color information.

Definition at line 4033 of file window.h.

PLOGFONT we_fonts[WE_FONTS_NUMBER] [inherited]

The window element font information.

Definition at line 4036 of file window.h.

HICON we_icon[2][SYSICO_ITEM_NUMBER] [inherited]

The renderer icon information.

Definition at line 4039 of file window.h.

int we_metrics[WE_METRICS_NUMBER] [inherited]

The window element metrics information.

Definition at line 4030 of file window.h.

WINDOW_ELEMENT_RENDERER* we_rdr [inherited]

The window renderer.

Definition at line 4092 of file window.h.

const char* werdr_name [inherited]

window element renderer name

Definition at line 8710 of file window.h.

int(* WinProc)(HWND, int, WPARAM, LPARAM) [inherited]

Window callback procedure of all instances of this window class

Definition at line 6942 of file window.h.

int winType [inherited]

The window type, can be one of the values:

  • LFRDR_WINTYPE_DIALOG
    For dialog.
  • LFRDR_WINTYPE_MAINWIN
    For main window.
  • LFRDR_WINTYPE_CONTROL
    For control.

Definition at line 3586 of file window.h.

WPARAM wParam [inherited]

The first parameter of the message (32-bit integer).

Definition at line 2172 of file window.h.

int x [inherited]

Dialog box position

Definition at line 8731 of file window.h.

int x [inherited]

Control position in dialog

Definition at line 8699 of file window.h.

Generated on Thu Apr 7 16:01:52 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3