How to show a number that is updated consistantly?

Hello,
im using c++ and winapi and i can't figure out how to show a consistantly updated number in a dialog-based application.

Think im trying to retrieve the cursor position while moving it, and want to show its X and Y coordinate in two respective little boxes.
I started looking at CreateWindowEx() but found nothing of help.
Also googled pretty much but nothing still. And this is weird because i thought it should be a popular subject. But maybe i googled wrong..
I think there's SendMessage() or PostMessage() involved but i wouldn't know how to move on, nor if it's the preferable way to do it.

Anyone please?
Any help is much appreciated, thanks.
Ps: I posted this in "Windows Programming" section too.
Ps: I posted this in "Windows Programming" section too.


Don't cross post like that - it is very annoying and waste people's time
I know im sorry, i did it to get the most visibility as possible.
Since my question was answered in "Windows Programming" section (at http://www.cplusplus.com/forum/windows/27068/ ) this thread can be canceled by a moderator/administrator.
Thanks
Last edited on
Topic archived. No new replies allowed.