[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SetProp( hWnd, cProp, nData )-> <lSuccess>
------------------------------------------------------------------------------


 PARAMETER:

  <hWnd>        Is the handle that identifies the window whose property
                list entry will be added or edited 

  <cProp>       Is a string that iodentifies the property

  <nData>       A handle that identifies the data to be copied to the
                property list


 RETURNS:

  <lSuccess> is TRUE if the function is successful



 DESCRIPTION:

  SetProp() adds a new entry or changes an existing entry in the property
  list of the given window. The function adds a new entry to the list if the
  given character string does not already exist in the list.
  The new entry contains the string and the handle. Otherwise, the function
  replaces the string's current handle with the given handle. 
  Before destroying a window ( before processing the WM_DESTROY message), an
  application must remove all entries it has added to the property list.
  This is done by using RemoveProp()


 SOURCE:

  SOURCE\WINAPI\PROP.C



See Also: GetProp RemoveProp Property functions
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson