Advice on using 3DE:

1) Avoid multiple dialogs in a single 3DE file. Things seem to work 
smoother this way.

2) Dedicate one C module per dialog. #include<> the 3DE file in this 
module only.

By following 1) and 2) it is easy to modify 3DE files over and over 
during the development process without problems. Also, identifier and 
index define names can be re-used in different dialogs. For instance, I 
always give the "OK" button the ID "BUT_OK" and the cancel button 
"BUT_CANC". Having multiple dialogs in one 3DE file and one C module 
would not allow this as IDs are actual indices into the dialog arrays 
and, of course, the "OK" and "CANCEL" buttons generally would not be in 
the same position within the array for different dialogs.

3) Use a separate 3DE file for each icon you create. Each file should 
contain a dialog (that is never used) which has one element, the icon. 
3DE will generate a declaration for a variable that is an array of 
bytes. You can pass this variable to gfx_blit_put() to draw the icon.


