$ 0 0 Actually, .r resource file in CE supports auto layout of dialog items.Please see my below two pages for a getting start.