Hi all,
In Visual Basic, you can set a window to have an image as the background. Is this possible using asm?
Norad00,
Check here for a general use example.
C:\Masm32\EXAMPLE4\STRCHBLT
Start going through your Help files and tutorials, you will come up to speed quicker if you do.
Googling is a good thing too! :U
Regards, P1 :8)
Naturally. If your image is a bitmap, use for example:
in WM_INITDIALOG
Invoke LoadBitmap, hInstance, yourbitmapinressource
Mov hBitmap, Eax
invoke CreatePatternBrush,eax
mov hBrushD,eax
in WM_CTLCOLORDLG
mov eax,hBrushD
Ret
In attachment this is a good example (it is not from me).
[attachment deleted by admin]