Preskoči na glavni sadržaj

GetMenuItem

Upozorenje

Dodano u verziji omp v1.1.0.2612. Ova stavka ne radi u starijim verzijama. Vrsta: funkcija.

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));