The IDD_DISPLAY_FORM is a resource id to a dialog or a formview. I believe you just need to include resource.h in the file you are calling GetActiveView.