| |
|
|
Pedro Santos | Hello
Moechte a Bitmap a DLL read and on one Button lay, can someone help? of these code functions not, what make I wrong? CompileMarkSeparationdeclare hl&,but&,_dlg&,dll&
cls
dll&=@UseDLL("test.dll")
_dlg& = @Create("Dialog",%hwnd,"TESTEN",50,50,200,200)
hl& = @Create("hPic",123,"test.dll") in der dll ist die bitmapressource nr.123 oder #123
but& = @Create("PicButton",_dlg&,hl&,100,100,32,32)
waitk
thanks
greeting
Pedro XProfan10 RC10 |
|
|
| |
|
|
|
| Lass you time hl& spend - ought to >0 his. Ists the? |
|
|
| |
|
|
|
Pedro Santos | Hello iF
No, hl& is = 0
it appear The Message Bitmap isn't ladbar: Test.dll
How koennte The function @Create(hPic,n,s) lauten around the bitmap #123 from the DLL auszulesen? type > 0: s = name of/ one Bitmapressource in external File (z.B. DLL), type% = lever the Ressource
thanks greeting
Pedro |
|
|
| |
|
|
|
RGH | the lever the Ressorce is the lever the DLL: dll& The name the Bitmap-Ressource is to your indicated #123 then should it so klappen: CompileMarkSeparationhl& = @Create("hPic",dll&,"#123") > 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 | 11/02/06 ▲ |
|
|
|
|
Pedro Santos | Hello Roland
functions very well
thanks
greeting
Pedro |
|
|
| |
|
|