Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmButtonSubclass function 
 
Remarks
Given a container, takes control over one of its buttons: after calling this function, the button rendering will be under the control of this API functions. 
This function must be called before any other function that will change the button look & feel. 
This function cannot be used with development environments that don't allow a full subclassing as: 
  • Visual Basic 6.0 
  • Visual Basic.NET 
  • Visual C#.NET 
  • With this kind of environments use the abmButtonSubclassEx function.
    Return value
    Value
    Meaning
     
     
    -1
    The operation failed.
    0
    The operation was successful
    Syntax
    short abmButtonSubclass
    HWND hWndContainer, 
    HWND hWndBtn 
    ); 
     
    Parameters
    Description
    hWndContainer
    Windows handle associated to the buttons container.
    hWndBtn
    Windows handle associated to the button that must be subclassed.
     
     
     
     
     
     
     
    Copyright © 2002-2009 MultiMedia Soft 
    Return to index