Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitmaps in Menus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00465044
Message ID:
00466542
Vues:
10
Take a look to LoadImage function help at MSDN Library. Also you can see winuser.h header file from C:\program files\microsoft visual studio\vc98\includes. In this file are all possibles values for this argument.
16+4096 = LR_LOADFROMFILE + LR_LOADMAP3DCOLORS

#define LR_DEFAULTCOLOR 0x0000
#define LR_MONOCHROME 0x0001
#define LR_COLOR 0x0002
#define LR_COPYRETURNORG 0x0004
#define LR_COPYDELETEORG 0x0008
#define LR_LOADFROMFILE 0x0010
#define LR_LOADTRANSPARENT 0x0020
#define LR_DEFAULTSIZE 0x0040
#define LR_VGACOLOR 0x0080
#define LR_LOADMAP3DCOLORS 0x1000
#define LR_CREATEDIBSECTION 0x2000
#define LR_COPYFROMRESOURCE 0x4000
#define LR_SHARED 0x8000

If you want to change the size of pictures, you must change the 4th and 5th parameter of LoadImage (width and height).

Hope this help.
Esteban
Lic. Esteban Bruno
Gerente de Sistemas
TASSO S.R.L.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform