@JulzMighty: Ah, I understand what you mean now. I wonder whether or not it is possible to do calculations within defines as well, like this:

Code:
#define ss_x 1024     //ss_x = screen_size_x
#define ss_y 768      //ss_y = screen_size_y
#define panpos_x (ss_x / 2)
#define panpos_y (ss_y / 2)

PANEL* my_pan = 
{
   pos_x = panpos_x;
   pos_y = panpos_y;
}



I can't test that out myself because according to JCL defines can not be parameters for panel positions, but would the defines for panpos_x and panpos_y in my example above work that way?