{ MFDB screen; OBJECT *tree; int res; rsrc_gaddr( 0, MY_DIAL, &tree); FormBegin( tree, &screen); res = FormDo( tree, -1) switch(res){ case OK: ... break; } FormEnd( tree, &screen); }