pass a double value via WPARAM

Hi,
I need to SendMessage with a double value as a parameter (via WPARAM).

What is the most elegant way to do it ?

thanks,
Iris.
iriszAsked:
Who is Participating?
 
migelCommented:
Hi!
you cant pass double directly, since its size is 8 byte. WPARAM is 4 boyte length.
But you can pass pointer to te double (if you send message to the window your current process owned).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.