Re: [GD-Windows] Unique menu IDs
Brought to you by:
vexxed72
From: Rich <leg...@xm...> - 2002-10-15 04:38:55
|
In article <03bd01c27402$d7f7e7e0$0e00000a@pierre>, "Pierre Terdiman" <p.t...@wa...> writes: > So, is there a way to get free IDs at runtime, or a way to create them in a > safe way, etc ? I think "Win32 Programming" by Rector and Newcomer has something to say about this, but my copy is on loan right now. IIRC, the suggested remedy is to allocate a range of IDs that you use for this purpose and keep track of which ones you're using at the moment when you need a new one. -- Ask me about my upcoming book on Direct3D from Addison-Wesley! Direct3D Book <http://www.xmission.com/~legalize/book/> izfree: Open source tools for Windows Installer <http://izfree.sourceforge.net> |