|
|
Adds controls to the scrollview.
SVM_ADDCTRLS int itemNr; PCTRLDATA pctrls; wParam = (WPARAM)itemNr; lParam = (LPARAM)pctrls;
Definition at line 312 of file scrollview.h. |
|
|
Adds an item in the scrollview.
SVM_ADDITEM SVITEMINFO svii; HSVITEM *phsvi; wParam = (WPARAM)phsvi; lParam = (LPARAM)&svii;
Definition at line 250 of file scrollview.h. |
|
|
Makes an item selected and visible in the scrollview item.
SVM_CHOOSEITEM int nItem; HSVITEM hsvi; wParam = (WPARAM)nItem; lParam = (LPARAM)hsvi;
Definition at line 716 of file scrollview.h. |
|
|
Deletes an item from the scrollview.
SVM_DELITEM int nItem; HSVITEM hsvi; wParam = (WPARAM)nItem; lParam = (LPARAM)hsvi;
Definition at line 271 of file scrollview.h. |
|
|
Gets the bottom margin value of the scrollview.
SVM_GETBOTTOMMARGIN wParam = 0; lParam = 0;
Definition at line 506 of file scrollview.h. |
|
|
Gets the content x offset in the viewport.
SVM_GETCONTENTX wParam = 0; lParam = 0;
Definition at line 603 of file scrollview.h. |
|
|
Gets the content y offset in the viewport.
SVM_GETCONTENTY wParam = 0; lParam = 0;
Definition at line 618 of file scrollview.h. |
|
|
Gets the height of the content area.
SVM_GETCONTHEIGHT wParam = 0; lParam = 0;
Definition at line 566 of file scrollview.h. |
|
|
Gets the width of the content area.
SVM_GETCONTWIDTH wParam = 0; lParam = 0;
Definition at line 551 of file scrollview.h. |
|
|
Gets the control handle in the scrollview window by control id.
SVM_GETCTRL int id; wParam = (WPARAM)id; lParam = 0;
Definition at line 370 of file scrollview.h. |
|
|
Gets the index of the current hilighted scrollview item. An application sends an this message to a scrollview window to get the index of the currently selected item, if there is one, in a single-selection scrollview. For multiple-selection case, appliction send this message to a scrollview to get the index of the current highlighted item.
SVM_GETCURSEL wParam = 0; lParam = 0;
Definition at line 657 of file scrollview.h. |
|
|
Gets the index of the first visible item.
Definition at line 1062 of file scrollview.h. |
|
|
Gets the focus control in the scrollview.
SVM_GETFOCUSCHILD wParam = 0; lParam = 0;
Definition at line 846 of file scrollview.h. |
|
|
Gets the horizontal page scroll value.
SVM_GETHSCROLLPAGEVAL wParam = 0; lParam = 0;
Definition at line 891 of file scrollview.h. |
|
|
Gets the horizontal scroll value.
SVM_GETHSCROLLVAL wParam = 0; lParam = 0;
Definition at line 861 of file scrollview.h. |
|
|
Gets the additional data of the item.
SVM_GETITEMADDDATA int nItem; HSVITEM hsvi; wParam = (WPARAM)nItem; lParam = (LPARAM)hsvi;
Definition at line 990 of file scrollview.h. |
|
|
Gets the total number of the items.
Definition at line 969 of file scrollview.h. |
|
|
Gets the left margin value of the scrollview.
SVM_GETLEFTMARGIN wParam = 0; lParam = 0;
Definition at line 461 of file scrollview.h. |
|
|
Gets the margin values of the scrollview. Application should use a RECT structure to get left, top, right, and bottom margins.
SVM_GETMARGINS RECT rcMargin; wParam = 0; lParam = (LPARAM)&rcMargin;
Definition at line 425 of file scrollview.h. |
|
|
Gets the right margin value of the scrollview.
SVM_GETRIGHTMARGIN wParam = 0; lParam = 0;
Definition at line 491 of file scrollview.h. |
|
|
Gets the top margin value of the scrollview.
SVM_GETTOPMARGIN wParam = 0; lParam = 0;
Definition at line 476 of file scrollview.h. |
|
|
Gets the height of the visible content area.
SVM_GETVISIBLEHEIGHT wParam = 0; lParam = 0;
Definition at line 536 of file scrollview.h. |
|
|
Gets the width of the visible content area.
SVM_GETVISIBLEWIDTH wParam = 0; lParam = 0;
Definition at line 521 of file scrollview.h. |
|
|
Gets the vertical page scroll value.
SVM_GETVSCROLLPAGEVAL wParam = 0; lParam = 0;
Definition at line 906 of file scrollview.h. |
|
|
Gets the vertical scroll value.
SVM_GETVSCROLLVAL wParam = 0; lParam = 0;
Definition at line 876 of file scrollview.h. |
|
|
Makes a position in the content area visible.
SVM_MAKEPOSVISIBLE int pos_x, pos_y; wParam = (WPARAM)pos_x; lParam = (LPARAM)pos_y;
Definition at line 813 of file scrollview.h. |
|
|
Refresh the item.
SVM_REFRESHITEM int nitem; HSVITEM hsvi; wParam = (WPARAM)nitem; lParam = (LPARAM)hsvi;
Definition at line 1030 of file scrollview.h. |
|
|
Clears all the controls and the items added to the scrollview window.
SVM_RESETCONTENT wParam = 0; lParam = 0;
Definition at line 385 of file scrollview.h. |
|
|
Selects or unselects an item in the scrollview item.
SVM_SELECTITEM int nItem; wParam = (WPARAM)nItem; lParam = (LPARAM)bSel;
Definition at line 676 of file scrollview.h. |
|
|
Sets the window procedure of the container window in the scrollview.
SVM_SETCONTAINERPROC WNDPROC pfn; wParam = 0; lParam = (LPARAM)pfn;
Definition at line 831 of file scrollview.h. |
|
|
Sets the scrollview content area (scrollable area) height. Scrollable area of a scrolled window is always larger than the visible area.
SVM_SETCONTHEIGHT int cont_h; wParam = (WPARAM)cont_h; lParam = 0;
Definition at line 352 of file scrollview.h. |
|
|
Sets the content offset position in the viewport.
SVM_SETCONTPOS int cont_x, cont_y; wParam = (WPARAM)cont_x; lParam = (LPARAM)cont_y;
Definition at line 637 of file scrollview.h. |
|
|
Sets the width and height of the content area. If you want to change width and height, give a value large than zero. If you give -1, this value will remain untouched.
SVM_SETCONTRANGE int cont_w, cont_h; wParam = (WPARAM)cont_w; lParam = (LPARAM)cont_h;
Definition at line 588 of file scrollview.h. |
|
|
Sets the scrollview content area (scrollable area) width. Scrollable area of a scrolled window is always larger than the visible area.
SVM_SETCONTWIDTH int cont_w; wParam = (WPARAM)cont_w; lParam = 0;
Definition at line 332 of file scrollview.h. |
|
|
Makes an item as the current hilighted item in the scrollview item.
SVM_SETCURSEL int nItem; BOOL bVisible; wParam = (WPARAM)nItem; lParam = (LPARAM)bVisible;
Definition at line 736 of file scrollview.h. |
|
|
Sets the additional data of the item.
SVM_SETITEMADDDATA int nitem; int addData; wParam = (WPARAM)nitem; lParam = (LPARAM)addData;
Definition at line 1010 of file scrollview.h. |
|
|
Sets the item compare function.
SVM_SETITEMCMP SVITEM_CMP *pfn; wParam = 0; lParam = (LPARAM)pfn;
Definition at line 796 of file scrollview.h. |
|
|
Sets the destroy operation of the items in the scrollview. Normally item operations should be set before adding items. The destroy callback function will be called when deleting an item
SVM_SETITEMDESTROY SVITEM_DESTROYFUNC *pfn; wParam = 0; lParam = (LPARAM)pfn;
Definition at line 778 of file scrollview.h. |
|
|
Sets the drawing operation of an item. Scrollview item drawing function will be called when doing with MSG_PAINT message, scrollview window should define this function if it want to draw an customed item.
SVM_SETITEMDRAW SVITEM_DRAWFUNC pfn; wParam = 0; lParam = (LPARAM)pfn;
Definition at line 292 of file scrollview.h. |
|
|
Sets the height of an item.
SVM_SETITEMHEIGHT int nitem; int height; wParam = (WPARAM)nitem; lParam = (LPARAM)height;
Definition at line 1050 of file scrollview.h. |
|
|
Sets the init operation of the items in the scrollview. Normally item operations should be set before adding items. The initialization callback function will be called when adding an item.
SVM_SETITEMINIT SVITEM_INITFUNC *pfn; wParam = 0; lParam = (LPARAM)pfn;
Definition at line 757 of file scrollview.h. |
|
|
Sets the item operations of the items in the scrollview. Normally item operations should be set before adding items.
SVM_SETITEMOPS SVITEMOPS *iop; wParam = 0; lParam = (LPARAM)iop;
Definition at line 405 of file scrollview.h. |
|
|
Sets the margin values of the scrollview. Application should use a RECT structure to give left, top, right, and bottom margins. If you want to change a margin value, give a value large than zero, or else -1.
SVM_SETMARGINS RECT *rcMargin; wParam = 0; lParam = (LPARAM)rcMargin;
Definition at line 446 of file scrollview.h. |
|
|
Sets the horizontal and vertical page value.
SVM_SETSCROLLPAGEVAL int hval, vval; wParam = (WPARAM)hval; lParam = (WPARAM)vval;
Definition at line 944 of file scrollview.h. |
|
|
Sets the horizontal and vertical scroll value.
SVM_SETSCROLLVAL int hval, vval; wParam = (WPARAM)hval; lParam = (LPARAM)vval;
Definition at line 925 of file scrollview.h. |
|
|
Makes an item visible in the scrollview item.
SVM_SHOWITEM int nItem; HSVITEM hsvi; wParam = (WPARAM)nItem; lParam = (LPARAM)hsvi;
Definition at line 696 of file scrollview.h. |
|
|
Sorts the items according to a specified comparision function.
SVM_SORTITEMS SVITEM_CMP pfn; lParam = pfn;
Definition at line 961 of file scrollview.h. |
1.4.2