anuj.tanksali Community Member
- Member since May 16th 2013
- Last Activity
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
anuj.tanksali -
Replied to the thread Image widget callback function for GIF animation..
PostHi Florian, I set the WM_CF_HASTRANS flag to image widget using WM_SetTransState() function in WM_INIT_DIALOG. But still facing same issue. What I noticed is without the flag if no callback is used then doing only IMAGE_SetGif starts the GIF and it is… -
anuj.tanksali -
Replied to the thread Image widget callback function for GIF animation..
PostHello Florian, Thanks for the quick reply. Yes the image has transparency and I checked this on my windows computer. When I draw the same sub images in my dialog WM_PAINT they display fine i.e. with transparency. Only when I draw sub images in the… -
anuj.tanksali -
Replied to the thread Image widget callback function for GIF animation..
PostHi Florian, Thanks, The issue was with the coordinates I changed the coordinates to (0,0) then it is working but facing an odd issue. This is my code in the image callback function. if(gasIconState ==… -
anuj.tanksali -
Posted the thread Image widget callback function for GIF animation..
ThreadHello, I want to control the no of GIF frames displayed on an image widget so have used a callback for the image widget. I use the IMAGE_SetGIFData(hItem, pData, FileSize) to set the GIF to image widget and use WM_SetCallback(hObj, Image_CallbackFunc)…