sbIWindowMinMaxCallback Interface Reference

WindowMinMax callback interface This interface describes a callback for the WindowMinMax service, used to query the application for minimum and maximum dimensions. The callback is also used to trap the closing of the window. More...

import"IWindowMinMax.idl";

Inheritance diagram for sbIWindowMinMaxCallback:
[legend]
Collaboration diagram for sbIWindowMinMaxCallback:
[legend]

Public Member Functions

PRInt32 GetMinWidth ()
 Get minimum window width This method is called by the WindowMinMax hook to query the application for a minimum window width. More...
 
PRInt32 GetMinHeight ()
 Get minimum window height This method is called by the WindowMinMax hook to query the application for a minimum window height. More...
 
PRInt32 GetMaxWidth ()
 Get maximum window width This method is called by the WindowMinMax hook to query the application for a maximum window width. More...
 
PRInt32 GetMaxHeight ()
 Get maximum window height This method is called by the WindowMinMax hook to query the application for a maximum window height. More...
 
void OnWindowClose ()
 Window closing callback This method is called by the WindowMinMax hook to notify the callback object that the window being monitored is now closing. More...
 

Detailed Description

WindowMinMax callback interface This interface describes a callback for the WindowMinMax service, used to query the application for minimum and maximum dimensions. The callback is also used to trap the closing of the window.

See Also
sbIWindowMinMaxCallback

Definition at line 44 of file IWindowMinMax.idl.

Member Function Documentation

PRInt32 sbIWindowMinMaxCallback::GetMaxHeight ( )

Get maximum window height This method is called by the WindowMinMax hook to query the application for a maximum window height.

Returns
The maximum height of the window
See Also
getMinWidth, getMinHeight, getMaxWidth, sbIWindowMinMax
PRInt32 sbIWindowMinMaxCallback::GetMaxWidth ( )

Get maximum window width This method is called by the WindowMinMax hook to query the application for a maximum window width.

Returns
The maximum width of the window
See Also
getMinWidth, getMinHeight, getMaxHeight, sbIWindowMinMax
PRInt32 sbIWindowMinMaxCallback::GetMinHeight ( )

Get minimum window height This method is called by the WindowMinMax hook to query the application for a minimum window height.

Returns
The minimum height of the window
See Also
getMinWidth, getMaxWidth, getMaxHeight, sbIWindowMinMax
PRInt32 sbIWindowMinMaxCallback::GetMinWidth ( )

Get minimum window width This method is called by the WindowMinMax hook to query the application for a minimum window width.

Returns
The minimum width of the window
See Also
getMinHeight, getMaxWidth, getMaxHeight, sbIWindowMinMax
void sbIWindowMinMaxCallback::OnWindowClose ( )

Window closing callback This method is called by the WindowMinMax hook to notify the callback object that the window being monitored is now closing.

See Also
sbIWindowMinMax

The documentation for this interface was generated from the following file: