TAILIEUCHUNG - Excel Add-in Development in C/C++ Applications in Finance phần 8

Tham khảo tài liệu 'excel add-in development in c/c++ applications in finance phần 8', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 258 Excel Add-in Development in C C 4 Commandposition An optional argument specifying the position of the menu item at which the command is to be placed a number or the text of an existing menu item. The nth separator line can be specified by a string of n dashes. 5 SubMenuPosition An optional argument specifying the position on the sub-menu at which the command is to be placed. This can be a number or the text of an existing sub-menu item. The nth separator line can be specified by a string of n dashes. If CommandRef is simply the name of a built-in menu the remaining arguments are not required and the function restores the menu to its original default state returning the position number of the restored menu. To restore it to its original position you need to specify this in MenuPosition otherwise it is placed at the right of the menu bar. CommandRef is a horizontal array as that describes the menu to be added or extended as shown in Table . Table Custom command definition array Required columns Optional columns Command text Commandl Name not used Status bar text Help reference Notes The array is the same as the 2nd and subsequent rows in the MenuRef array described in the previous section. The first two columns are required. The second column contains the command name as passed to Excel in the 4th argument to xlfRegister or the name of some other command macro of VB function. If the command is not a recognised name Excel will not complain until the user attempts to run the command at which point an alert dialog with the message The macro command-name cannot be found. is displayed. The third column would contain a short-cut key for Macintosh systems and is therefore not used in Windows DLLs. The fifth column contains a help reference in the form HelpFilelTopicNum where HelpFile is a standard Windows help file. The third fourth and fifth columns are all optional. If CommandRef is simply the text of a previously deleted built-in command on this menu the .

TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.