=head1 NAME Win32::GUI::ImageList - Create and manipulate imagelist resources =head1 DESCRIPTION [TBD] =for comment $Id: per_package_method_section.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head1 METHODS L apply to most windows, controls and resources. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 new B Creates an ImageList object; X and Y specify the size of the images, FLAGS [TBD]. INITIAL and GROW specify the number of images the ImageList actually contains (INITIAL) and the number of images for which memory is allocated (GROW). See also the L. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 newFromImage B See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Add B Adds a bitmap to the ImageList; both B and B can be either Win32::GUI::Bitmap objects or filenames. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 AddBitmap B Adds a Win32::GUI::Bitmap object to the ImageList. BITMAPMASK is optional. See also L. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 AddBitmapMasked B Adds a Win32::GUI::Bitmap object to the ImageList. COLORMASK is color used to generate the mask. See also L. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 AddIcon B Add a icon specified by ICON (must be a Win32::GUI::Icon object). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 AddMasked B Adds a bitmap to the ImageList; B can be either Win32::GUI::Bitmap object or filename. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 BackColor B Gets or sets the background color for the ImageList. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 BeginDrag B Creates a temporary image list that is used for dragging. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Clear B Removes all the images from the ImageList. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Count B Returns the number of images in the ImageList. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Create B Creates a new image list. See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Destroy B Destroys an image list. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DragEnter B Locks updates to the specified window during a drag operation and displays the drag image at the specified position within the window. Class method : Win32::GUI::ImageList::DragEnter($window, $x, $y) =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DragLeave B Unlocks the specified window and hides the drag image, allowing the window to be updated. Class method : Win32::GUI::ImageList::DragLeave($window) =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DragMove B Locks updates to the specified window during a drag operation and displays the drag image at the specified position within the window. Class method : Win32::GUI::ImageList::DragMove($x, $y) =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DragShowNolock B Shows or hides the image being dragged. Class method : Win32::GUI::ImageList::DragShowNolock($flag) =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Draw B Draws an image list item in the specified device context. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DrawEx B Draws an image list item in the specified device context. The function uses the specified drawing style and blends the image with the specified color. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DrawIndirect B Draws an image list item in the specified device context. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Duplicate B Creates a duplicate of an existing image list. Return a new Win32::GUI::ImageList object. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 EndDrag B Ends a drag operation. Class method : Win32::GUI::ImageList::EndDrag() =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetBkColor B Retrieves the current background color for an image list. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetDragImage B Retrieves the temporary image list that is used for the drag image. Class method : Win32::GUI::ImageList::GetDragImage() =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetIcon B Creates an Win32::GUI::Icon object from an image and mask in an image list. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetIconSize B Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetImageCount B See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 LoadImage B Return a new Win32::GUI::ImageList object. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Merge B Creates a new image by combining two existing images. The function also creates a new image list in which to store the image. Return a new Win32::GUI::ImageList object. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Remove B Removes the specified zero-based INDEX image from the ImageList. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 RemoveAll B See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Replace B Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 ReplaceIcon B Replaces the specified zero-based INDEX image with the icon specified by ICON (must be a Win32::GUI::Icon object). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetBkColor B Sets the background color for an image list. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetDragCursorImage B Creates a new drag image by combining the specified image (typically a mouse cursor image) with the current drag image. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetIconSize B Sets the dimensions of images in an image list and removes all images from the list. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetImageCount B 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 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 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. If X and Y is given, also removes all images from the list. =for comment $Id: per_package_event_section.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head1 EVENTS L apply to most windows and controls. =for comment $Id: pod_postamble.tpl,v 1.2 2005/08/03 21:45:59 robertemay Exp $ =head1 VERSION Documentation for Win32::GUI v1.06 created 14 Feb 2008 This document is autogenerated by the build process. Edits made here will be lost. Edit F instead. =head1 SUPPORT Homepage: L. For further support join the users mailing list(C) from the website at L. There is a searchable list archive at L. =head1 COPYRIGHT and LICENCE Copyright (c) 1997..2008 Aldo Calpini. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.