Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using CFont

Status
Not open for further replies.

aidanh

Programmer
Joined
Aug 14, 2003
Messages
9
Location
GB
Which header file do I have to include if I want to use class CFont - I get the error Undeclared identifier.

I have Use MFC in a Shared DLL selected in the Project settings

thx
 
You shouldn't have to include any header. It should be automatically included in MFC.

Is it an MFC project?
 
I didn't originally in the app wizard make it a MFC project,

but I have put in the settings use the MFC library :(
 
try

#include <afxwin.h>

Also,
it wont be very hard to re-start the project ? :-)

goodluck



/Srikanth

How much deeper would the ocean be if it didn’t have sponges?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top