Re: Win Programming


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Brian Levantine on June 27, 2005 at 12:29:53:

In Reply to: Win Programming posted by Tom Fulton on June 27, 2005 at 12:15:27:

Hi Tom. Windows applications use one file (usually named resource.h or .h) to include all of the identifiers for all (hundreds or thousands) of the dialogs associated with the application. We simply read through that file and generate a IB compatible include file. There is no mechanism in place to do this differently. The .rc file is a readable (and modifyable) text file that contains all of your dialog definitions. You could write a utility that scans the file and generates separate files for each dialog but I don't know how you'd name them. Basically, it's up to you to know what controls are used in what dialogs and for what purpose. I sometimes (but not always) will give my controls names that provide an indication of the dialog that uses them but then I end up with huge numbers of constants. I prefer to share control identifiers between my dialogs.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]