Index: src/chext/TContextMenuHandler.h =================================================================== diff -u -N -r250c9a4d3a066af0d40def01e15df5753748aefe -rd3371a00eafb40afa4251953591ff1004343e1be --- src/chext/TContextMenuHandler.h (.../TContextMenuHandler.h) (revision 250c9a4d3a066af0d40def01e15df5753748aefe) +++ src/chext/TContextMenuHandler.h (.../TContextMenuHandler.h) (revision d3371a00eafb40afa4251953591ff1004343e1be) @@ -46,6 +46,8 @@ bool HasCHItems(HMENU hMenu) const; void Clear(); + int FindMenuInsertLocation(HMENU hMenu); + UINT GetLastCommandID() const { return m_uiNextMenuID; } TShellMenuItemPtr GetCommandByMenuItemOffset(UINT uiOffset); TShellMenuItemPtr GetCommandByItemID(UINT uiOffset);