Thank's for reply Erik,
Actually,I used to count the number of bar in menus times Fontmetric(), I'm trying to find a better solution, because the menus will be activated if I click a command button.
Regards,
Senna Dwipayana
Being good is better
Being better is a bless