| |
|
|
 Jörg Sellmeyer | Sombrero el una systemischen Grund oder una xprofanen Grund, daß a uno Imageliste no hochformatigen Bilder hinzugefügt voluntad puede? KompilierenMarcaSeparaciónCls
Declare IML&,hPic&,hIcon&
AddFiles "Afrika*.jpg"
IML& = Create("ImageList",128,128)
WhileLoop 0,%getcount'-150
hPic& = Create("hSizedPic",-1,GetString$(0,&Loop),128,128,1)
Print ImageList("Add",IML&,hPic&),GetString$(0,&Loop),hPic&
DeleteObject hPic&
Wend
Print %getcount,GetCount(IML&)
Var y% = 20
WhileLoop 0,GetCount(IML&)-1
hIcon& = ImageList("GetIcon",IML&,&Loop)
DrawIcon hIcon&,250 + (&Loop Mod 14) * 130,y%
Wend
WaitInput
 | | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 11.11.2011 ▲ |
| |
| |  | Querformat funzt oder sólo Quadrate?
Posesiones solche Imagelisten todavía nie para notwendig erachtet y nie con gearbeitet. |
| | | | |
| |  Jörg Sellmeyer | Querformat funtioniert. Yo vermute, lo liegt daran, daß en el Fall en el Hochkantbild kein ganzes Bild disponible es, como lo eben schmaler como el Mindestgröße es. Eigentlich Es el Función sí dafür como, una breitere Mapa de bits con más Bildeinheiten en un Resbalón en el IL a invitar. Wenn uno nämlich el Formato el Imageliste a el Hochkantfaktor anpaßt, es. Yo frage mich sólo, si el una Windowsding es oder si Roland como el Breite todavía checkt. |
| | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 11.11.2011 ▲ |
| |
| |  | Ah!
Tiempo schauen si Roland antwortet. |
| | | | |
| |  Dieter Zornow | Yo denke el liegt a Windows. Yo veces el APIs ImageList_Create ImageList_Add probiert, gleiches Ergebnis. |
| | | XProfan X2Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 11.11.2011 ▲ |
| |
| |  Jörg Sellmeyer | Ah - ok- entonces ha se el hecho... Gracias. |
| | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 11.11.2011 ▲ |
| |
|
RespuestaThemeninformationenDieses Thema ha 3 subscriber: |