Subj : Re: beginning dialog boxes (2) To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Tue Sep 16 2003 10:19 pm If the resource file is dialog1.rc then the corresponding header file is likely to be dialog1.rh and it would include the #define statements for the variouis items in the rc file. Include that file in your source so that your source can use those symbols in the dialog procedure. .. Ed > Rob C wrote in message > news:3f679ccc$1@newsgroups.borland.com... > > OK, so now I can create/design a dialog box, but how do I put > it into my program. There should be a basic, step-by-step > tutorial for beginners like me. If there is, where is it? > > Following is what I’ve got so far . . . > > FILE|NEW|PROJECT. > project path/name - c:\bc5\bin\dialog1.ide > target name - dialog1 > target type - application > platform - Win32 > platform model - GUI > > then I click OK > > in project I click “dialog1.rc” > I double click “identifiers” and I get a 3 widow screen > I go up and click RESOURCE|NEW > I click on “DIALOG” and I get a dialog box to add to and arrange > (I think I’ve got this figured out). When I’m done creating the > dialog box, I click FILE|SAVE, then FILE|CLOSE. > > I then have a 3 widow screen named “dialog1.rc : identifiers.” > The left window shows the name of the dialog box I just created - > “dialog1.rc”, and the middle window shows the elements I just > added to the dialog box - “IDC_EDIT1, IDC_EDIT2, IDC_EDIT3, > IDC_GROUPBOX1, and IDD_DIALOG1”. The right window > shows “IDD_DIALOG1” > > At this point I know I have to do something, but I don’t know > what it is. .