Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - getnewid generates an unique control id http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetNewId        Generates an unique control ID
--------------------------------------------------------------------------------

   Syntax: GetNewId() --> nId

   Returns:
   The ID for a control that is linked to a window/dialogbox.


   Comments:
   When a control is generated from source code, it needs an unique ID
   (a requirement of MS-Windows <g>). To make sure that all ID's are
   actually unique, this value is stored inside the TControl() method.
   This to be sure that all controls actually get an unique ID.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson