 |
|
|  |  |
 |
CopyImage ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Creates a new image (icon, cursor, or bitmap) and copies the attributes of the specified image to the new one. If necessary, the function stretches the bits to fit the desired size of the new image. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
HANDLE CopyImage(
HANDLE hImage,
UINT uType,
int cxDesired,
int cyDesired,
UINT fuFlags
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER CopyImage IN user32;
INTEGER hImage,;
INTEGER uType,;
INTEGER cxDesired,;
INTEGER cyDesired,;
INTEGER fuFlags;
|
 |  |  | | Parameters: |  | hImage
[in] Handle to the image to be copied.
uType
[in] Specifies the type of image to be copied.
cxDesired
[in] Specifies the desired width, in pixels, of the image.
cyDesired
[in] Specifies the desired height, in pixels, of the image.
fuFlags
[in] This parameter can be one or more of the predefined values. |
 |  | | Return value: |  | | If the function succeeds, the return value is the handle to the newly created image. |
 |  | | My comment: |  | | When you are finished using the resource, you can release its associated memory by calling one of the functions: DeleteObject, DestroyCursor, DestroyIcon -- depending on the type of the object. |
 |  | | Word Index links for the CopyImage : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2004-08-02 18:44:35 | | Modified: | 2004-08-02 18:50:24 | Visited in last 7 days: 6 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |