2009/9/8 yu ping <spingyu at gmail.com>: > how to translate following C code to pascal? > > enum{IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE}; type TMyEnum = (IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE); Henry