Namespaces | Classes | Functions | Variables

ManagedServices Namespace Reference

Namespaces

namespace   Internal

Classes

class   AnimationFrameChangeListener
  Exposes an event to signal that the current animation frame in Max has changed. More...
class   NativeAnimationFrameChangeListener
  Native class responsible for monitoring frame change notifications from Max. More...
class   abstract
  Exposes native MaxSDK utility functions to managed code. More...
interface   ClassDescFactory
  Creates and serves native ClassDescs during plug-in assembly load. More...
class   ClassDescOwner
  Wraps a native ClassDesc, taking ownership of the wrapped object and deleting it during disposal. More...
class   ClassDescReference
  Wraps a native ClassDesc pointer. More...
interface   ClassDescWrapper
  Wraps a native ClassDesc pointer. More...
class   CuiUpdater
  Provides access to User Interface customization information and events to managed code. More...
class   FileDialogFilterList
  A filter list class used in file open/file save dialogs. More...
interface   IManagedHsvCallback
  A managed Callback interface that an object can implement to receive callback messages from an HSVCallback. More...
interface   IMaxValueCtrlWndMsg
  Interface class used to communicate from a wrapped native control to its managed listener. More...
class   Keyboard
  Convenient access to Keyboard and Mouse utility functions. More...
class   ManagedHsvCallback
  Implementation of HSVCallback, which forwards to a managed IManagedHsvCallback interface. More...
class   MaxActionItem
  Exposes a CUI Action Item interface for managed code. More...
class   MaxColorPicker
  The class simply wraps native max color picker so that managed code can handle max color picker. More...
class   MaxColorSwatch
  Managed wrapper intended for exposing a native Max color swatch control intended to be hosted in a WPF container. More...
class   MaxNotificationEventArgs
  EventArgs class for the NotificationRaised event declared on MaxNotificationListener. More...
class   MaxNotificationListener
  EventArgs class for the NotificationRaised event declared on MaxNotificationListener. More...
class   MaxNativeNotificationListener
class   MaxSpinner
  Managed wrapper for native max spinners, intended for use with WPF HwndHost. More...
class   Mouse
  Convenient access to mouse functions. More...
class   DeletePolicy
  Destructor policy class calling the delete operator. More...
class   DeleteThisPolicy
  Destructor policy class calling DeleteThis. More...
class   DeleteArrayPolicy
  Destructor policy class calling the array delete operator (delete []). More...
class   sealed
  Native resource guard providing automatic clean up of native pointer types inside managed code. More...

Functions

mNewIndex (0)
  return (MaxColorManager::ColorTheme) theme
virtual  ~MaxColorPickerCallback ()
  Destructor.
bool  CreateColorPicker (HWND hwnd, IPoint2 position, const AColor &currentColor, const MCHAR *title)
  Create a color picker dialog, with alpha channel.
bool  CreateColorPicker (HWND hwnd, IPoint2 position, DWORD currentColor, const MCHAR *title)
  Create a color picker dialog.
bool  IsColorPickerPresent () const
  Check if currently the color picker dialog is exist.
void  CloseColorPicker ()
  Close the existing color picker dialog.
void  ModifyColor (const AColor &newColor)
  Set the new color to the dialog.
void  ModifyColor (DWORD newColor)
  Set the new color to the dialog.
bool  TryGetRectangle (RECT &resultRectangle)
  Try to get the rectangle of the color picker dialog.
bool  IsColorSamplerMode () const
  Check if currently the dialog is in "color smapler" mode.
AColor  GetAColor () const
  Get the currently selected color, with alpha channel.
DWORD  GetColor () const
  Get the currently selected color.
virtual void  ButtonDown ()
  ButtonDown function which is called when mouse button down.
virtual void  ButtonUp (BOOL accept)
  ButtonDown function which is called when mouse button up.
virtual void  BeingDestroyed (IPoint2 pos)
  ButtonDown function which is called when color picker is destroyed.
virtual void  ColorChanged (AColor color, BOOL buttonUp)
  ColorChanged function which is called when color changed in color picker.
virtual void  ColorChanged (DWORD color, BOOL buttonUp)
  ColorChanged function which is called when color changed in color picker.
virtual void  OnOK ()
  OnOK function which is called when click OK button.
virtual void  OnCancel ()
  OnOK function which is called when click Cancel button.
public delegate void  ConfirmColorEventHandler (System::Object^sender, CSharpUtilities::ValueChangedEventArgs< System::Drawing::Color >^e)
  A delegation of corresponding handler for ValueChangedEventArgs.
  ExecuteMAXScriptScript (converter.Convert(aCommand), TRUE)
  if (nullptr==currentSelected)

Variables

__pad0__
D System::String  persistentId
  return = (MASK_OUT_LEAST_BIT_SHORT & result)
gcroot< MaxColorPicker^>  mManagedColorPicker
  Property which store the color picker instance.
ColorPicker *  mpNativeColorPickerDialog
  Points to a native color picker dialog.
bool  mIsClosing
  This flag is used to determine if the color picker dialog is closing.
::GetCursorPos &  pt
bool  editablePolyObject

Function Documentation

D ManagedServices::mNewIndex ( )
ManagedServices::return ( MaxColorManager::ColorTheme  )
ManagedServices::MaxColorPickerCallback::~MaxColorPickerCallback ( ) [virtual]

Destructor.

bool ManagedServices::MaxColorPickerCallback::CreateColorPicker ( HWND  hwnd,
IPoint2  position,
const AColor &  currentColor,
const MCHAR *  title 
)

Create a color picker dialog, with alpha channel.

bool ManagedServices::MaxColorPickerCallback::CreateColorPicker ( HWND  hwnd,
IPoint2  position,
DWORD  currentColor,
const MCHAR *  title 
)

Create a color picker dialog.

bool ManagedServices::MaxColorPickerCallback::IsColorPickerPresent ( ) const

Check if currently the color picker dialog is exist.

void ManagedServices::MaxColorPickerCallback::CloseColorPicker ( )

Close the existing color picker dialog.

void ManagedServices::MaxColorPickerCallback::ModifyColor ( const AColor &  newColor )

Set the new color to the dialog.

void ManagedServices::MaxColorPickerCallback::ModifyColor ( DWORD  newColor )

Set the new color to the dialog.

bool ManagedServices::MaxColorPickerCallback::TryGetRectangle ( RECT &  resultRectangle )

Try to get the rectangle of the color picker dialog.

If the color picker dialog does not exist, returns false.

bool ManagedServices::MaxColorPickerCallback::IsColorSamplerMode ( ) const

Check if currently the dialog is in "color smapler" mode.

AColor ManagedServices::MaxColorPickerCallback::GetAColor ( ) const

Get the currently selected color, with alpha channel.

DWORD ManagedServices::GetColor ( ) const

Get the currently selected color.

virtual void ManagedServices::ButtonDown ( ) [virtual]

ButtonDown function which is called when mouse button down.

virtual void ManagedServices::ButtonUp ( BOOL  accept ) [virtual]

ButtonDown function which is called when mouse button up.

Parameters:
accept Provides whether change is accepted.
virtual void ManagedServices::BeingDestroyed ( IPoint2  pos ) [virtual]

ButtonDown function which is called when color picker is destroyed.

Parameters:
pos Provides the position of color picker.
virtual void ManagedServices::ColorChanged ( AColor  color,
BOOL  buttonUp 
) [virtual]

ColorChanged function which is called when color changed in color picker.

Parameters:
color Provides current AColor color of color picker.
buttonUp Provides mouse button up status.
virtual void ManagedServices::ColorChanged ( DWORD  color,
BOOL  buttonUp 
) [virtual]

ColorChanged function which is called when color changed in color picker.

Parameters:
color Provides current DWORD color of color picker.
buttonUp Provides mouse button up status.
virtual void ManagedServices::OnOK ( ) [virtual]

OnOK function which is called when click OK button.

virtual void ManagedServices::OnCancel ( ) [virtual]

OnOK function which is called when click Cancel button.

public delegate void ManagedServices::ConfirmColorEventHandler ( System::Object^  sender,
CSharpUtilities::ValueChangedEventArgs< System::Drawing::Color >^  e 
)

A delegation of corresponding handler for ValueChangedEventArgs.

ManagedServices::ExecuteMAXScriptScript ( converter.  ConvertaCommand,
TRUE   
)
ManagedServices::if ( nullptr  = = currentSelected )

Variable Documentation

ManagedServices::return = (MASK_OUT_LEAST_BIT_SHORT & result)

Property which store the color picker instance.

Points to a native color picker dialog.

This flag is used to determine if the color picker dialog is closing.

::GetCursorPos& ManagedServices::pt
Initial value:
 
        MaxSDK::BoolCast(EPOLYOBJ_CLASS_ID == currentSelected->ClassID())