Win32-GUI
view release on metacpan or search on metacpan
Combobox.xs view on Meta::CPAN
if(SendMessage(handle, CBEM_GETITEM, 0, (LPARAM) &item) != 0) {
EXTEND(SP, 14);
XST_mPV(0, "-text");
XST_mPV(1, cb_item.pszText);
XST_mPV(2, "-image");
XST_mIV(3, cb_item.iImage);
XST_mPV(4, "-selectedimage");
XST_mIV(5, cb_item.iSelectedImage);
XST_mPV(6, "-item");
XST_mIV(7, cb_item.iItem);
XST_mPV(8, "-overlay");
XST_mIV(9, cb_item.iOverlay);
XST_mPV(10, "-indent");
XST_mIV(11, cb_item.iIndent);
XST_mPV(12, "-lparam");
XST_mIV(13, cb_item.lParam);
XSRETURN(14);
} else {
XSRETURN_UNDEF;
}
GENERATED/Win32/GUI/ImageList.pod view on Meta::CPAN
B<SetImageCount(COUNT)>
Resizes an existing image list.
=for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $
=head2 SetOverlayImage
B<SetOverlayImage(INDEX, OVERLAY)>
Adds a specified image to the list of images to be used as overlay masks.
=for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $
=head2 Size
B<Size([X, Y])>
Gets or sets the size of the images in the ImageList;
if no parameter is given, returns a 2 element array (X, Y),
otherwise sets the size to the given parameters.
GENERATED/Win32/GUI/ListView.pod view on Meta::CPAN
Determines the spacing between items in a ListView. Index is the listview item for which
to retrieve information. mask is a combination of the fllowing flags:
LVIS_CUT The item is marked for a cut-and-paste operation.
LVIS_DROPHILITED The item is highlighted as a drag-and-drop target.
LVIS_FOCUSED The item has the focus, so it is surrounded by a standard
focus rectangle. Although more than one item may be selected,
only one item can have the focus.
LVIS_SELECTED The item is selected. The appearance of a selected item depends
on whether it has the focus and also on the system colors used for selection.
LVIS_OVERLAYMASK Use this mask to retrieve the item's overlay image index.
LVIS_STATEIMAGEMASK Use this mask to retrieve the item's state image index.
The only valid its in the response are those bits that correspond to bits set in mask.
=for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $
=head2 GetItemText
B<GetItemText(index,[subitem=0])>
ImageList.xs view on Meta::CPAN
SetImageCount(handle, count)
HIMAGELIST handle
UINT count
CODE:
RETVAL = ImageList_SetImageCount(handle, count);
OUTPUT:
RETVAL
###########################################################################
# (@)METHOD:SetOverlayImage(INDEX, OVERLAY)
# Adds a specified image to the list of images to be used as overlay masks.
BOOL
SetOverlayImage(handle, index, overlay)
HIMAGELIST handle
int index
int overlay
CODE:
RETVAL = ImageList_SetOverlayImage(handle, index, overlay);
OUTPUT:
RETVAL
# TODO : ImageList_Write
###########################################################################
# (@)METHOD:AddIcon(ICON)
# Add a icon specified by ICON (must be a Win32::GUI::Icon object).
int
AddIcon(handle, icon)
ListView.xs view on Meta::CPAN
# (@)METHOD:GetItemState(index,mask)
# Determines the spacing between items in a ListView. Index is the listview item for which
# to retrieve information. mask is a combination of the fllowing flags:
# LVIS_CUT The item is marked for a cut-and-paste operation.
# LVIS_DROPHILITED The item is highlighted as a drag-and-drop target.
# LVIS_FOCUSED The item has the focus, so it is surrounded by a standard
# focus rectangle. Although more than one item may be selected,
# only one item can have the focus.
# LVIS_SELECTED The item is selected. The appearance of a selected item depends
# on whether it has the focus and also on the system colors used for selection.
# LVIS_OVERLAYMASK Use this mask to retrieve the item's overlay image index.
# LVIS_STATEIMAGEMASK Use this mask to retrieve the item's state image index.
# The only valid its in the response are those bits that correspond to bits set in mask.
UINT
GetItemState(handle,index,mask)
HWND handle
int index
UINT mask
CODE:
RETVAL = ListView_GetItemState(handle, index, mask);
( run in 0.630 second using v1.01-cache-2.11-cpan-3b35f9de6a3 )