| |
|
|
 Jörg Sellmeyer | Hat cela une systemischen Grund ou bien une xprofanen Grund, qui trop einer Imageliste aucun hochformatigen Bilder hinzugefügt volonté peut? KompilierenMarqueSéparationCls
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 ou bien seulement Quadrate?
Habe solche Imagelisten encore nie pour notwendig erachtet et nie avec gearbeitet. |
| | | | |
| |  Jörg Sellmeyer | Querformat funtioniert. je vermute, es liegt daran, qui dans dem le cas im Hochkantbild ne...aucune ganzes Bild vorhanden ist, là es plan schmaler comme qui Mindestgröße ist. Eigentlich ist qui Funktion oui pour là, une breitere Bitmap avec mehreren Bildeinheiten dans einem Glissement dans qui IL trop magasin. si on nämlich cela Format qui Imageliste à den Hochkantfaktor anpaßt, ca va. je frage mich seulement, si cela un Windowsding ist ou bien si Roland là qui Breite encore checkt. |
| | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 11.11.2011 ▲ |
| |
| |  | Ah!
la fois regarder si Roland antwortet. |
| | | | |
| |  Dieter Zornow | je denke cela liegt à Windows. j'ai fois le 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- ensuite hat sich cela erledigt... merci. |
| | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 11.11.2011 ▲ |
| |
|
répondreOptions du sujet | 5.376 Views |
Themeninformationencet Thema hat 3 participant: |