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 - get the handle of a certain control http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Get the handle of a certain control
--------------------------------------------------------------------------------
   Syntax: TDialog():GetItem( <nId> ) --> <nHWnd>

   Parameters:

   <nId>    The ID of the control for which the 'window handle' should be
            returned.


  Returns:
  <nHWnd> The handle of the control that is identified by <nId>.  If a
          control can be found on the current dialog box, <nHWnd> will be
          the handle to that control.  If no control can be found with id
          <nId> the return value will be 0.


   Comments:
   The purpose of this method is to retrieve a WINDOW HANDLE of a specific
   control, so you can use an API function to do a certain task.  However
   use this with care, because using the wrong API function with a handle
   can cause serious problems for your application.



Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson