Arto,
for future reference:
That's a defined constant. The control was missing it's reference to the VFE.h include file. Adding it to the project isn't enough.
Open the class, from the menu select class->Include File and find the vfeframe\include\vfe.h file. Rebuilding or refreshing the project probably did this for you.