Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how to use alphablend library ?

Featured Replies

Posted

Hello There euro.gif

anyone here can help me how to use alphablend library in c language cold2.gif

i found it in patchlib but i dont want to use patchlib and some times i cannot use patchlib with my weired apps too crazy.gif

there are 3 functions but dont know how to use them cryss.gif


VOID AlphaBlend2(ULONG,HBITMAP,ULONG,ULONG,ULONG,ULONG,HBITMAP,ULONG,ULONG,BOOL);VOID AlphaBlendScroller(ULONG,HBITMAP,ULONG,ULONG,ULONG,ULONG,HBITMAP,ULONG,ULONG,BOOL,ULONG,ULONG,ULONG);VOID PaintText(HDC,HBITMAP,HDC,HBITMAP,const LPCSTR strText,ULONG,ULONG);

Alphablend Library : http://uppit.com/xxti9x3w817y/alphablend.zip

Please Help cry.gif

Thanks in advance

Mike.X. elvis.gif

Check the ASM file for the params:


AlphaBlend2 PROC C USES EBX ESI EDI ulSrcWndWidth:ULONG, hSrcBMP:HBITMAP,ulSrcX:ULONG,ulSrcY:ULONG,ulSrcWidth:ULONG,ulSrcHeight:ULONG,hDestBMP:HBITMAP,ulDestX:ULONG,ulDestY:ULONG,bFade:BOOLAlphaBlendScroller PROC C USES EBX ESI EDI ulSrcWndWidth:ULONG,hSrcBMP:HBITMAP,ulSrcX:ULONG,ulSrcY:ULONG,ulSrcWidth:ULONG,ulSrcHeight:ULONG,hDestBMP:HBITMAP,ulDestX:ULONG,ulDestY:ULONG,bFade:BOOL,Frequency:ULONG,Sine_Speed:ULONG,Amplitude:ULONGPaintText PROC C USES EBX ESI EDI hTmpDC:HDC,hTmpBMP:HBITMAP,hOutDC:HDC,hOutBMP:HDC,lpString:LPCSTR,ulX:ULONG,ulY:ULONG
  • Author

Thanks smile.png

i dont know ASM but i'll try to follow params.

still anyone have done this can help me cold2.gif

Mike.X. elvis.gif

Edited by Mike.X.

The params are in order just like they are in the C header I made for patchLib to use the lib. Just ignore the right-side type that is attached to them.

such as:


PaintText PROC C USES EBX ESI EDI hTmpDC:HDC,hTmpBMP:HBITMAP,hOutDC:HDC,hOutBMP:HDC,lpString:LPCSTR,ulX:ULONG,ulY:ULONG

Strip the unneeded stuff from ASM and you get:

PaintText( hTmpDC, hTmpBMP, hOutDC, hOutBMP, lpString, ulX, ulY )

hTmpDC - DC to the object you want to draw.

hTmpBMP - Bitmap of the object you want to draw.

hOutDC - DC to the main object you are drawing to.

hOutBMP - Bitmap of the main object you are drawing to.

lpString - Text that you are drawing.

ulX - x position you are drawing the text at.

ulY - y position you are drawing the text at.

Do the same for the AlphaBlend calls.

  • Author

Thanks atom0s

i'll try :)

Mike.X.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.