Article ID: 104393
Article Last Modified on 12/9/2003
/* VBGetControlProperty is prototyped in vbapi.h */
#include <vbapi.h>
*** You also need to add "vbapi.lib" to the libraries in the makefile. ***
float fValue ;
int nRet ;
/* hctl would normally be passed in as a HCTL to the function using
VBGetControlProperty */
/* The third parameter must be the address of a float */
nRet = VBGetControlProperty(hctl, IPROP_STD_TOP, &fValue) ;
Now fValue has the value of Top property for the hctl control.
Additional query words: 2.00 3.00
Keywords: KB104393