tailieunhanh - Financial Applications using Excel Add-in Development in C/C++ phần 7
Bảng 8,22 Built-trong menu ID thanh số ID Bar ngày 01-ngày 06 tháng 7, 8, 9 10 11 12 13 35 36 50 Xây dựng trong thanh menu mô tả không còn được sử dụng. Những công cụ này đều tương ứng với phiên bản của Excel và trước đó. Nhóm đơn cắt ngắn (xem phần tiếp theo) Worksheets (và Excel 4 vĩ mô tờ) | 328 Excel Add-in Development in C C Table Built-in menu bar IDs Bar ID number Built-in menu bar description 1 to 6 No longer used. These all correspond to versions of Excel and earlier. 7 8 9 Short-cut menu groups see next section 10 Worksheets and Excel 4 macro sheets 11 Chart sheets 12 No longer used Excel and earlier 13 to 35 Reserved for use by Excel s short-cut menus. 36 to 50 Returned by xlfAddBar when creating custom menu bars. Each menu bar contains a number of menus which can either be referred to by name the displayed text or position number counting from 1 from the left. Each menu contains a number of lines menu items comprised of the following three types Commands Separator lines Sub-menus containing. o Commands Separator lines These lines can also be referred to either by name the displayed text or position number counting from 1 top to bottom. Counting includes separator lines. Where the menu item is a sub-menu its sub-commands can also be referred to by name or position number in the same way. Some of the menu management functions take search strings that can contain wildcards. These strings can be the name of a menu or a menu item. Ampersands indicating the Alt-key access key are ignored in these searches. An ellipsis . needs to be included if the command contains one. The ellipsis has no function but by convention indicates that the command will display a dialog box. Searches are not-case sensitive. Where text is provided in order to create a new menu the position of any ampersand is important to avoid conflicts with built-in menus. Note Built-in menu-bars and menus can change from version to version and as this section shows can be altered by add-ins even during an Excel session. Therefore menus and commands should generally be specified as text rather than by position. Short-cut context menu groups The short-cut drop-down menus referred to in the above table Bar ID numbers 7 8 and 9 are displayed by right-clicking on the .
đang nạp các trang xem trước