I am building a Window App. I want to send a message
from within a C function. I want one of the parameters
in the message to be a float. Here is the code:
f_value = 3.14;
SendMessage(Wnd1, MY_MESSAGE_TYPE, 1, f_value);
I get the following compiler warning:
warning C4244: 'function' : conversion from 'float ' to 'long ', possible loss of data
How can I pass the float value as a parameter of the message?