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

Interface ComponentPeerX

Methods

public interface ComponentPeerX extends ComponentPeer
{
	// Methods
	int gethwnd();
	void GetPlaceOnScreen(Rectangle r);
}

Specifies the methods that all Microsoft-extended components must define.


Methods


gethwnd

int gethwnd();

Retrieves the window handle of the component.

Return Value:

Returns the window handle.


GetPlaceOnScreen

void GetPlaceOnScreen(Rectangle r);

Retrieves the on-screen position of the component.

Return Value:

No return value.

ParameterDescription
r Rectangle to receive the coordinates of the component's on-screen position.



© 1997 Microsoft Corporation. All rights reserved. Terms of Use.