Author Topic: Scroller AlphaBlend  (Read 952 times)

ragdog

  • Member
  • ****
  • Posts: 515
Scroller AlphaBlend
« on: August 04, 2013, 11:19:41 PM »
Hi

I have a Horizontal Text scroller now wish i add win32 APi AlphaBlend
http://msdn.microsoft.com/en-us/library/windows/desktop/dd183351%28v=vs.85%29.aspx

Code snipp:
Code: [Select]
invoke DrawText,hDcScroll,esi,1,addr rcScroll,DT_SINGLELINE or DT_VCENTER
invoke GetTextExtentPoint32,hDcScroll,esi,1,addr lpSize
mov eax, lpSize.x
add rcScroll.left, eax
pop ecx
inc esi
dec ecx

.endw
invoke BitBlt,hDC,Scrollx,Scrolly,Scrollw,rc.bottom,hDcScroll,NULL,NULL,SRCCOPY
invoke Sleep,30

Can any explain me this api to use it?