Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing specific Icon image
Message
From
15/10/2000 15:44:05
 
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429591
Message ID:
00429603
Views:
26
>Using graphical command buttons I have icons that have a 32x32 and 48x48 it defaults to 32x32 and I really want the 48x48 icons? Help. :)
>

When assigning the Icon to the button using LoadPicture(), specify the second parameter as vbLPLarge (1) to get the system large icon size, or vbLPLargeShell (3) to get the Shell's large icon size, or as vbLPCustom (4) and then explicitly specify the size with the x and y parameters (4th and 5th parameters respectively).
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform