Package com.ms.awt.peer |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public interface ComponentPeerX extends ComponentPeer { // Methods int gethwnd(); void GetPlaceOnScreen(Rectangle r); }
The ComponentPeerX interface specifies the methods that all Microsoft-extended components must define.
int gethwnd();Retrieves the window handle of the component.
Return Value:
Returns the window handle.
void GetPlaceOnScreen(Rectangle r);Retrieves the position on the screen of the component.
Return Value:
No return value.
Parameter Description r The rectangle to receive the coordinates of the screen position.