[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  GetClassName( hWnd )-> <cClassName>
------------------------------------------------------------------------------


 PARAMETER:

  <hWnd>         is the handle of the window ( or control ),whose classname 
                 we want to know.


 RETURNS:

  <cClassName> is the API classname that windows has registered for that 
  kind of window.


 DESCRIPTION:

  The GetClassName function retrieves the class name of a window. 
  You should be aware that this is NOT Clippers classname but a Windows API 
  classname! 

  
  EXAMPLE:


     +-------------------------------------------------------------+
     |  /* Get Clipper Classname for a RadioButton */              |
     |   cClName := oRadio:ClassName()  // -> "TRADIO"             |
     |                                                             |
     |  /* Get Windows API ClassName */                            |
     |   cClName := GetClassName( oRadio:hWnd ) // -> "BUTTON"     |
     |                                                             |
     +-------------------------------------------------------------+


 SOURCE:  

  SOURCE\WINAPI\WndUpdat.c



See Also: CreateWindow ClassName
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson