Package com.ms.awt.peer Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Interface ComponentPeerX

Method

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.


Method


gethwnd

int gethwnd();

Retrieves the window handle of the component.

Return Value:

Returns the window handle.


GetPlaceOnScreen

void GetPlaceOnScreen(Rectangle r);

Retrieves the position on the screen of the component.

Return Value:

No return value.

ParameterDescription
r The rectangle to receive the coordinates of the screen position.



© 1996 Microsoft Corporation. All rights reserved.