scrollview.h File Reference
Go to the source code of this file.
Data Structures
Defines
- #define CTRL_SCROLLVIEW ("scrollview")
- The class name of scrollview control, uses this name to create a scrollable window that consists of items.
- #define CTRL_SCROLLWND ("scrollwnd")
- The class name of scrollwnd control, uses this name to create a scrollable window to which you can add controls.
- #define SVS_UPNOTIFY 0x0001L
- Sends the notification messages to parent window when the keys is up.
- #define SVS_NOTIFY 0x0002L
- reserved.
- #define SVS_AUTOSORT 0x0004L
- Automatically sorts strings entered in the scrollview control.
- #define SVS_LOOP 0x0008L
- Loops the item automatically when user select item with down or up key.
- #define SVM_ADDITEM 0xF300
- Adds an item in the scrollview.
- #define SVM_DELITEM 0xF301
- Deletes an item from the scrollview.
- #define SVM_SETITEMDRAW 0xF302
- Sets the drawing operation of an item.
- #define SVM_ADDCTRLS 0xF303
- Adds controls to the scrollview.
- #define SVM_SETCONTWIDTH 0xF306
- Sets the scrollview content area (scrollable area) width.
- #define SVM_SETCONTHEIGHT 0xF307
- Sets the scrollview content area (scrollable area) height.
- #define SVM_GETCTRL 0xF308
- Gets the control handle in the scrollview window by control id.
- #define SVM_RESETCONTENT 0xF309
- Clears all the controls and the items added to the scrollview window.
- #define SVM_SETITEMOPS 0xF30a
- Sets the item operations of the items in the scrollview.
- #define SVM_GETMARGINS 0xF30b
- Gets the margin values of the scrollview.
- #define SVM_SETMARGINS 0xF311
- Sets the margin values of the scrollview.
- #define SVM_GETLEFTMARGIN 0xF312
- Gets the left margin value of the scrollview.
- #define SVM_GETTOPMARGIN 0xF313
- Gets the top margin value of the scrollview.
- #define SVM_GETRIGHTMARGIN 0xF314
- Gets the right margin value of the scrollview.
- #define SVM_GETBOTTOMMARGIN 0xF315
- Gets the bottom margin value of the scrollview.
- #define SVM_GETVISIBLEWIDTH 0xF316
- Gets the width of the visible content area.
- #define SVM_GETVISIBLEHEIGHT 0xF317
- Gets the height of the visible content area.
- #define SVM_GETCONTWIDTH 0xF318
- Gets the width of the content area.
- #define SVM_GETCONTHEIGHT 0xF319
- Gets the height of the content area.
- #define SVM_SETCONTRANGE 0xF31a
- Sets the width and height of the content area.
- #define SVM_GETCONTENTX 0xF31b
- Gets the content x offset in the viewport.
- #define SVM_GETCONTENTY 0xF31c
- Gets the content y offset in the viewport.
- #define SVM_SETCONTPOS 0xF31d
- Sets the content offset position in the viewport.
- #define SVM_GETCURSEL 0xF31e
- Gets the index of the current hilighted scrollview item.
- #define SVM_SELECTITEM 0xF31f
- Selects or unselects an item in the scrollview item.
- #define SVM_SHOWITEM 0xF320
- Makes an item visible in the scrollview item.
- #define SVM_CHOOSEITEM 0xF321
- Makes an item selected and visible in the scrollview item.
- #define SVM_SETCURSEL 0xF322
- Makes an item as the current hilighted item in the scrollview item.
- #define SVM_SETITEMINIT 0xF323
- Sets the init operation of the items in the scrollview.
- #define SVM_SETITEMDESTROY 0xF324
- Sets the destroy operation of the items in the scrollview.
- #define SVM_SETITEMCMP 0xF327
- Sets the item compare function.
- #define SVM_MAKEPOSVISIBLE 0xF328
- Makes a position in the content area visible.
- #define SVM_SETCONTAINERPROC 0xF329
- Sets the window procedure of the container window in the scrollview.
- #define SVM_GETFOCUSCHILD 0xF32a
- Gets the focus control in the scrollview.
- #define SVM_GETHSCROLLVAL 0xF32b
- Gets the horizontal scroll value.
- #define SVM_GETVSCROLLVAL 0xF32c
- Gets the vertical scroll value.
- #define SVM_GETHSCROLLPAGEVAL 0xF32d
- Gets the horizontal page scroll value.
- #define SVM_GETVSCROLLPAGEVAL 0xF32e
- Gets the vertical page scroll value.
- #define SVM_SETSCROLLVAL 0xF32f
- Sets the horizontal and vertical scroll value.
- #define SVM_SETSCROLLPAGEVAL 0xF330
- Sets the horizontal and vertical page value.
- #define SVM_SORTITEMS 0xF331
- Sorts the items according to a specified comparision function.
- #define SVM_GETITEMCOUNT 0xF332
- Gets the total number of the items.
- #define SVM_GETITEMADDDATA 0xF333
- Gets the additional data of the item.
- #define SVM_SETITEMADDDATA 0xF334
- Sets the additional data of the item.
- #define SVM_REFRESHITEM 0xF335
- Refresh the item.
- #define SVM_SETITEMHEIGHT 0xF336
- Sets the height of an item.
- #define SVM_GETFIRSTVISIBLEITEM 0xF337
- Gets the index of the first visible item.
- #define SVN_CLICKED 1
- #define SVN_SELCHANGED 2
- #define SVN_SELCHANGING 4
Typedefs
Functions
Detailed Description
- Author:
- Wei Yongming <ymwei@minigui.org>
- Date:
- 2001/12/29
Copyright (C) 2002-2008 Feynman Software.
Copyright (C) 1998-2002 Wei Yongming.
All rights reserved by Feynman Software.
This file is part of MiniGUI, a compact cross-platform Graphics
User Interface (GUI) support system for real-time embedded systems.
Definition in file scrollview.h.