Hi, after a long google searching session, i'm not entirely clear as to how to go about making an edittext control in a dialog box accept a floating variable, then do some numerical things with that number and be able to display it in floating variable form in another edittext control.

At the moment i'm using the style ES_NUMBER for the boxes, but as i realise that won't accept a decimal point in the control, i figure i'd have to get rid of that style. But how would i keep the dialog box from having letters and other characters typed in when i only want numbers and a decimal point?

Most of the google searchs popped up MFC, is this nessecary to learn to be able to do this? I only really know the basic Win32 API.

Thanks for any potential clarification...