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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to import Dialog_122.rc files to my visual studio 6 project?

Status
Not open for further replies.

Jason231

MIS
Apr 15, 2006
43
NL
hi all i got a file called Dialog_122.rc and it has the code below . I wonder how i can use it with my visual studio 6 project? I be happy if some one tell me how i can use it .When i just open it in visual studio 6 i get error:

STYLE DS_SETFONT ==>error RC2104 : undefined keyword or key name: DS_SETFONT

I be happy if an expert tell me how i can use it.Thanks
Code:
211 DIALOGEX 0, 0, 156, 166, 0
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUPWINDOW | WS_DLGFRAME
CAPTION "Welcome"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Sans Serif"
{
  DEFPUSHBUTTON   "&Login", 1, 84, 139, 50, 14
  PUSHBUTTON   "&Cancel", 2, 23, 139, 50, 14
  LTEXT   "...", 1013, 12, 46, 138, 10
  RTEXT   "Nickname:", 1014, 2, 58, 41, 10
  RTEXT   "Password:", 1015, 2, 82, 41, 10
  COMBOBOX   "", 1016, 56, 57, 94, 73, NOT CBS_SIMPLE | CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL
  EDITTEXT   "", 1017, 57, 83, 93, 12, ES_PASSWORD | ES_AUTOHSCROLL
  AUTOCHECKBOX   "Remember my Password", 1018, 25, 113, 110, 8
  PUSHBUTTON   "Account Management", 1019, 28, 15, 80, 14, NOT WS_VISIBLE
  RTEXT   "Forgot Password?", 1021, 86, 99, 64, 10
  RTEXT   "Help", 1189, 109, 39, 41, 10
  AUTOCHECKBOX   "Login as invisible", 1248, 25, 126, 98, 8
  LTEXT   "Login To system", 1330, 10, 37, 68, 10
  LTEXT   "New user? Get a Nickname", 1348, 62, 73, 88, 10
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top