AnimateWindow (user32.dll API) and picture

forum.centura.team.developer (2000-2005) & forum.sqlwindows (2000-2005)
Piermaria Saglietto

AnimateWindow (user32.dll API) and picture

Post by Piermaria Saglietto » 21 Jan 2005, 12:50

 Posted by:  Piermaria Saglietto 

Hi,
i tried to use AnimateWindow API to render a form with special effects. All
seems ok but if i have a picture control in the form (with a image) the
image is rendered only when i click on another form and after click in the
animated form.

Any ideas ?

Thanks in advance

Piermaria

Krister Henningsson

AnimateWindow (user32.dll API) and picture

Post by Krister Henningsson » 21 Jan 2005, 15:23

 Posted by:  Krister Henningsson 

Hello Piermaria,

On SAM_CreateComplete
SalSendMsg(hWndForm, SAM_Click,wParam,lParam)
SalSendMsg(hWndPictureControl, SAM_Click,wParam,lParam)
Fast and Dirty...

More Seriously
Look in the Team Developer Online Help for these functions:

bOk = SalUpdateWindow ( hWndUpdate )
bOk = SalInvalidateWindow ( hWndToPaint )

Reg Kriss

Return to “forum.sqlwindows”

Who is online

Users browsing this forum: [Ccbot] and 0 guests