Microsoft KB Archive/103591

= How to Use _GetNewItemId API Function =

Article ID: 103591

Article Last Modified on 11/17/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft FoxPro Library Construction Kit 2.6
 * Microsoft FoxPro Library Construction Kit 2.5b for MS-DOS

-



This article was previously published under Q103591



SUMMARY
After calling _GetNewItemId, add the item to the menu before calling _GetNewItemId again. If the item is not added to the menu, subsequent calls to _GetNewItemId return the same item ID.

