Delphi
property ItemsCount: Integer read GetItemsCount;
C++
__property int ItemsCount = {read=GetItemsCount, nodefault};
このメニュー バーにあるメニュー項目の合計数を返します。