|
|
Adds controls to the scrollview.
SVM_ADDCTRLS int itemNr; PCTRLDATA pctrls; wParam = (WPARAM)itemNr; lParam = (LPARAM)pctrls;
Definition at line 310 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 248 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 714 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 269 of file scrollview.h. |
|
|
Gets the bottom margin value of the scrollview.
SVM_GETBOTTOMMARGIN wParam = 0; lParam = 0;
Definition at line 504 of file scrollview.h. |
|
|
Gets the content x offset in the viewport.
SVM_GETCONTENTX wParam = 0; lParam = 0;
Definition at line 601 of file scrollview.h. |
|
|
Gets the content y offset in the viewport.
SVM_GETCONTENTY wParam = 0; lParam = 0;
Definition at line 616 of file scrollview.h. |
|
|
Gets the height of the content area.
SVM_GETCONTHEIGHT wParam = 0; lParam = 0;
Definition at line 564 of file scrollview.h. |
|
|
Gets the width of the content area.
SVM_GETCONTWIDTH wParam = 0; lParam = 0;
Definition at line 549 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 368 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 655 of file scrollview.h. |
|
|
Gets the index of the first visible item.
Definition at line 1060 of file scrollview.h. |
|
|
Gets the focus control in the scrollview.
SVM_GETFOCUSCHILD wParam = 0; lParam = 0;
Definition at line 844 of file scrollview.h. |
|
|
Gets the horizontal page scroll value.
SVM_GETHSCROLLPAGEVAL wParam = 0; lParam = 0;
Definition at line 889 of file scrollview.h. |
|
|
Gets the horizontal scroll value.
SVM_GETHSCROLLVAL wParam = 0; lParam = 0;
Definition at line 859 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 988 of file scrollview.h. |
|
|
Gets the total number of the items.
Definition at line 967 of file scrollview.h. |
|
|
Gets the left margin value of the scrollview.
SVM_GETLEFTMARGIN wParam = 0; lParam = 0;
Definition at line 459 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 423 of file scrollview.h. |
|
|
Gets the right margin value of the scrollview.
SVM_GETRIGHTMARGIN wParam = 0; lParam = 0;
Definition at line 489 of file scrollview.h. |
|
|
Gets the top margin value of the scrollview.
SVM_GETTOPMARGIN wParam = 0; lParam = 0;
Definition at line 474 of file scrollview.h. |
|
|
Gets the height of the visible content area.
SVM_GETVISIBLEHEIGHT wParam = 0; lParam = 0;
Definition at line 534 of file scrollview.h. |
|
|
Gets the width of the visible content area.
SVM_GETVISIBLEWIDTH wParam = 0; lParam = 0;
Definition at line 519 of file scrollview.h. |
|
|
Gets the vertical page scroll value.
SVM_GETVSCROLLPAGEVAL wParam = 0; lParam = 0;
Definition at line 904 of file scrollview.h. |
|
|
Gets the vertical scroll value.
SVM_GETVSCROLLVAL wParam = 0; lParam = 0;
Definition at line 874 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 811 of file scrollview.h. |
|
|
Refresh the item.
SVM_REFRESHITEM int nitem; HSVITEM hsvi; wParam = (WPARAM)nitem; lParam = (LPARAM)hsvi;
Definition at line 1028 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 383 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 674 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 829 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 350 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 635 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 586 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 330 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 734 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 1008 of file scrollview.h. |
|
|
Sets the item compare function.
SVM_SETITEMCMP SVITEM_CMP *pfn; wParam = 0; lParam = (LPARAM)pfn;
Definition at line 794 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 776 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 290 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 1048 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 755 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 403 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 444 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 942 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 923 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 694 of file scrollview.h. |
|
|
Sorts the items according to a specified comparision function.
SVM_SORTITEMS SVITEM_CMP pfn; lParam = pfn;
Definition at line 959 of file scrollview.h. |
1.4.2