Przejdź do głównej zawartości

GetMenuItem

warning

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description

Get the text in the specified cell - addressed by column and row.

NameDescription
Menu:menuidThe ID of the menu.
columnThe column.
rowThe row to get the text of.
cell[]An array into which to store the text, passed by reference.
lenThe length of the string that should be stored.

Returns

This function always returns true.

Examples

new text[32];

// Get the menu item text in the column 1 and row 2
GetMenuItem(menuid, 1, 2, text, sizeof(text));