serhat Posted June 23, 2009 Posted June 23, 2009 Hallo I'm coding with RadASM Program. Not so good . I have now a Problem with RC-file...If I create a dialogNormally the RC-file content should be such!!100 DIALOGEX 6, 6, 207, 96STYLE DS_CENTER | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENUFONT 8, "MS Reference Sans Serif"BEGIN CONTROL "IDC_BTN", 101, BUTTON, BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 125,24,62,15 CONTROL "OK", 102, BUTTON, BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 125,41,62,15 CONTROL "Cancel", 103, BUTTON, BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 125,59,62,15 CONTROL "IDC_GRP", 104, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 117,12,78,69ENDBut RadASM RC files created like so100 DIALOGEX 6, 6, 207, 96FONT 8,"MS Sans Serif",0,0STYLE 0x90000800EXSTYLE 0x00000008BEGIN CONTROL "IDC_BTN"Button",0x54010000,125,24,62,15,0x00000201 CONTROL "OK"Button",0x54010000,125,41,62,15,0x00000201 CONTROL "Cancel",btnCikis,"Button",0x54010000,117,12,78,69,0x00000201ENDI do not want to compile it.. If there is a setting could not find any, Please Help Me ,Because it can sometimes be wrong encodingsSorry my bad English, Thanx for all comment
by:70 Posted June 23, 2009 Posted June 23, 2009 (edited) Contrast, under#define IDD_DLG1 1000#define IDC_BTN1 1001#define IDC_BTN2 1002IDD_DLG1 DIALOGEX 10,10,193,100CAPTION "IDD_DLG"FONT 8,"MS Sans Serif",0,0,0STYLE WS_VISIBLE|WS_OVERLAPPEDWINDOWBEGINCONTROL "Cancel",IDC_BTN1,"Button",WS_CHILD|WS_VISIBLE|WS_TABSTOP,33,69,48,12CONTROL "OK",IDC_BTN2,"Button",WS_CHILD|WS_VISIBLE|WS_TABSTOP,114,72,51,9END Edited June 23, 2009 by by:70
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now