Public Member Functions

ListenerViewWindow Class Reference

Search for all occurrences

#include <listener.h>

Inheritance diagram for ListenerViewWindow:
Inheritance graph
[legend]

List of all members.

Public Member Functions

MCHAR *  GetName ()
HWND  CreateViewWindow (HWND hParent, int x, int y, int w, int h)
void  DestroyViewWindow (HWND hWnd)
BOOL  CanCreate ()

Member Function Documentation

MCHAR* GetName ( ) [virtual]
Remarks:
Returns the name of the window type. For example, "Asset Manager".

Implements ViewWindow.

HWND CreateViewWindow ( HWND  hParent,
int  x,
int  y,
int  w,
int  h 
) [virtual]
Remarks:
Creates and returns a handle to a new extended view window.
Parameters:
HWND hParent

The handle of the parent window.

int x

The x coordinate of the window's upper left corner.

int y

The y coordinate of the window's upper left corner.

int w

The window width.

int h

The window height.

Implements ViewWindow.

void DestroyViewWindow ( HWND  hWnd ) [virtual]
Remarks:
Destroys the previously created window as specified by the handle.
Parameters:
HWND hWnd

The handle of the window to destroy.

Implements ViewWindow.

BOOL CanCreate ( ) [virtual]
Remarks:
Returns TRUE if the ViewWindow can be created; otherwise FALSE. This method can be overridden to return FALSE if a ViewWindow can only have a single instance, and that instance is already present. If this method returns FALSE, then the menu item for this ViewWindow will be grayed out.
Default Implementation:
{ return TRUE; }

Reimplemented from ViewWindow.


ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow
ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow ListenerViewWindow