When I use InsertItem on the root-menu, items are not painted in the right order.
I add the root items (the first with add, the second with InsertBefore). Then I add some submenu-items for each.
What happens is, that the top-level (root) menu is painted in the order I inserted the items (regardless of InsertBefore or not), the child-items are added to the right (correct) one, though. Strange....
|