InsertMenuItem
Inserts an item into the menu before a certain position; the new item will
be at the given position and all next items pushed forward.
native bool InsertMenuItem(Handle menu, int position, const char[] info, const char[] display, int style = 0)Parameters
int position
Position, starting from 0.
const char[] info
Item information string.
const char[] display
Default item display string.
int style
Drawing style flags. Anything other than DEFAULT or
DISABLED will be completely ignored when paginating.
Return Value
bool True on success, false on failure.Error
Invalid Handle or menu position.