65.9K
CodeProject is changing. Read more.
Home

Color picking and Animating window

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.95/5 (5 votes)

May 3, 2005

viewsIcon

20331

downloadIcon

601

This application to some extent gives idea about getting

Sample Image - VarnaandAnimation.gif

Introduction

This application to some extent gives idea about getting

the value of the pixel under the cursor and animating a

window.

Actually i started this as a project to fetch the RGB

values of the pixels under the mouse cursor.

Then i'd thought of closing the application with some

nice animations.

I used AnimateWindow API to do this.  But i couldn't do

it directly.  so i got the help of GetModuleHandle() and

GetProcAddress() and a function pointer.

Go thro' the code and fire me any suggestions,

guidelines(of course i know the work is not a much

sophisticated one.) to plseenivasan@yahoo.com.sg :)

Hope this small app would be useful.