We have a menu bar that is not recognisable to Ranorex Spy
However "Inspect" tool from Microsoft SDK recognises the menu items fine as IOleWindow objects
Not an expert here, but why cant ranorex find such items?

Can you send us a sample with the specific menu bar because this will allow us analyzing the issue or at least a Ranorex Snapshot file of it, a screen shot of the Inspect tool, when the specific menu bar is shown, and more general information about the menu bar?
It is a custom control, which technology is used, which Ranorex version are you using, which Os and Bit version, ...?
Following link will show you how to generate a snapshot file:http://www.ranorex.com/support/user-gui ... files.html

It looks like the MSAA implementation of that toolbar is broken. The toolbar does not return any children that's why Ranorex Spy cannot get from the toolbar to the individual menu items on the toolbar.

I guess that the "FromPoint" functionality is correctly implemented, that's why Inspect shows the individual items. Ranorex Spy does not show the menu items, since there is no way to get to the items at runtime with the toolbar having no children. (Ranorex Spy cannot get to the menu items using the element tree.)

In other words: The top-down (FromPoint) MSAA implementation of the toolbar looks OK, but the bottom-up structure/implementation does not, since the toolbar does not have any children.

It's just a guess without having access to the application, but we have seen such incorrect MSAA implementation with some toolbars already