07-06-2005 10:19 AM
07-06-2005 03:15 PM
Hello surferboy,
If you are try to use the CWNumEdit ActiveX control, you should do the following steps:
1. Get a handle to the ActiveX control.
GetObjHandleFromActiveXCtrl (panelHandle, PANEL_CWNUMEDIT, &numEditCtrl);
2. Get the value of the NumEdit control.
CWUIControlsLib__DCWNumEditGet_Value (numEditCtrl, NULL, &variantval);
3. Convert the variant into an integer.
CA_VariantConvertToType (&variantval, CAVT_INT, &intval);
Hope that helps.