| |
|
|
Frank Abbing | CompileMarkSeparation ought to this code not one Bitmap one Icon from the Shell32.dll Generate? Meldet me always "Bitmap not ladbar". with one Bitmap in lieu of one Icons GEHTS. on the place find I The Doku something schwammig words... |
|
|
| |
|
|
|
E.T. | now, where You it say: the trouble I had recent too first. Überleg... alas Yes: I want my Window-Menu a couple Images grant. there be I on The idea come, the Yes really any Images already as Icon in of my Dll lying and be on The same boundary punched How You even( the one "HPIC" even no Icon ausliest) .
and andersherum, want I one hIcon take: comes these stupid API, around the Image in that Menu "zu malen", again Nich clear so. |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 12/06/08 ▲ |
|
|
|
|
Frank Abbing | therefore my review on the Doku. on the place go too Icons called:
following Image formats go supported:
Bitmap (*.bmp, *.rle, *.dib) Jpeg (*.jpg, *.jpe, *.jpeg) Gif (*.gif) Png (*.png) Enhanced Metafile ( *.emf) Metafile (*.wmf) Icons (*.ico) Cursor (*.cur)
|
|
|
| |
|
|
|
E.T. | I denk, we should the under [...] with einreihen |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 12/06/08 ▲ |
|
|
|
|
Andreas Miethe
| Frank Abbing
ought to this code not one Bitmap one Icon from the Shell32.dll Generate? Meldet me always "Bitmap not ladbar". with one Bitmap in lieu of one Icons GEHTS. on the place find I The Doku something schwammig words...
Hello Frank,
find I do not schwammig.
Quote from Help type > 0: s = name of/ one Bitmapressource in external File
I find It's all right clear from it forth, that it a Bitmapresoucre and no Iconresource his should. a little bit verwirrend, must I admit, is thereby The Bildformat-Support below.
I have me for Icons a Workaround gebastelt. CompileMarkSeparationCls
SUBPROC Create.hIcoPic
Parameters Res$,ID&
Var pic& = Create("hNewPic", 32,32,0)
Startpaint pic&
DrawLibIcon Res$,ID&,0,0
EndPaint
Return Pic&
ENDPROC
Var Pic& = Create("hIcoPic","shell32.dll",7)
DrawPic pic&,10,10,-1
WaitInput
End
|
|
|
| Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...] | 12/06/08 ▲ |
|
|
|
|
RGH | Hi,
Yes, The Help could here something eindeutiger his and again extra hereon allude, that the unterschiedlichen Formate the loading of Files (N=-1) relating. on the other hand come The angegebenen Dateiendungen too only Files to. ;)
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 12/06/08 ▲ |
|
|
|
|
Frank Abbing | The data in the File are however same.
@Andreas: The quality the painted Icons is though so unfortunately miserable. |
|
|
| |
|
|
|
| Perhaps not so "miserabel", if one whom background before on hpic copies. |
|
|
| |
|
|
|
Frank Abbing | iF
Perhaps not so "miserabel", if one whom background before on hpic copies.
Teste it, but be not disappointed. lying simply on the transparency, The not correctly. übernommen becomes. |
|
|
| |
|
|
|
| The nice "Alias" on the edge, gell?
there must the hPic well 32 bit "breit" his, so windows einmixt.
You could but too a Resample-Skalierfunktion of hPics z.B. by inlineASM einproggen.
then could one z.B. with doppelter Size draw, and to Runterresampling would "der" nice edge again present. |
|
|
| |
|
|
|
Frank Abbing | In my special drop, where it me Yes around the Icons from the Shell32.dll goes, "kopiere" I The Icons simply via ImageList_Draw(Ex) from the Systemimagelist (therein find itself too any Icons from the shell32.dll). utterly smooth. is then even possible, The Icons in (Pop)Menues To using, see Screenshots. too for others Icon-Resources recommend I sooner whom detour over a Image List. The Imagelist-functions are the site Icons correctly. transparent on a Bitmap To malen. without Umrechnungsfehler. |
|
|
| |
|
|