maxscript/util/listener.h File Reference
 
 
 
maxscript/util/listener.h File Reference

This reference page is linked to from the following overview topics: Structure edit_window.


#include <windowsx.h>
#include "..\foundation\pipe.h"
#include "..\compiler\thunks.h"

Classes

class   Listener
class   ListenerViewWindow
class   ListenerMessageData
struct   edit_window

Defines

#define  LISTENER_STYLE_INPUT   0
#define  LISTENER_STYLE_OUTPUT   1
#define  LISTENER_STYLE_MESSAGE   2
#define  LISTENER_STYLE_LABEL   3
#define  LSNR_INPUT_MODE_MASK   0x000F
#define  LSNR_KEYINPUT_OFF   0x0000
#define  LSNR_KEYINPUT_LINE   0x0001
#define  LSNR_KEYINPUT_CHAR   0x0002
#define  LSNR_SHOWING   0x0010
#define  LSNR_NO_MACRO_REDRAW   0x0020
#define  LSNR_QUITMAX_RUN   0x0040
#define  LSNR_STYLE_MASK   0x0300
#define  LSNR_STYLE_INPUT   0x0000
#define  LSNR_STYLE_OUTPUT   0x0100
#define  LSNR_STYLE_MESSAGE   0x0200
#define  LSNR_BLOCK_MINI_UPDATES   0x0400
#define  EDIT_BOX_ITEM   1001
#define  MACROREC_BOX_ITEM   1002
#define  CLICK_STACK_SIZE   8

Functions

ScripterExport int  get_cur_line (HWND window, MSTR &line, bool stripEOL)
ScripterExport void  set_edit_box_font (HWND window, const MCHAR *font_name)
ScripterExport void  set_edit_box_font_size (HWND window, int fontSize)

Variables

GlobalThunk listener_result_thunk
ScripterExport BOOL  end_keyboard_input
ScripterExport BOOL  start_keyboard_input
ScripterExport MCHAR *  keyboard_input
ScripterExport Value keyboard_terminator
ScripterExport Array *  keyboard_input_terminators
COLORREF  input_text_color
COLORREF  output_text_color
COLORREF  message_text_color
COLORREF  label_text_color

Define Documentation

#define LISTENER_STYLE_INPUT   0
#define LISTENER_STYLE_OUTPUT   1
#define LISTENER_STYLE_MESSAGE   2
#define LISTENER_STYLE_LABEL   3
#define LSNR_INPUT_MODE_MASK   0x000F
#define LSNR_KEYINPUT_OFF   0x0000
#define LSNR_KEYINPUT_LINE   0x0001
#define LSNR_KEYINPUT_CHAR   0x0002
#define LSNR_SHOWING   0x0010
#define LSNR_NO_MACRO_REDRAW   0x0020
#define LSNR_QUITMAX_RUN   0x0040
#define LSNR_STYLE_MASK   0x0300
#define LSNR_STYLE_INPUT   0x0000
#define LSNR_STYLE_OUTPUT   0x0100
#define LSNR_STYLE_MESSAGE   0x0200
#define LSNR_BLOCK_MINI_UPDATES   0x0400
#define EDIT_BOX_ITEM   1001
#define MACROREC_BOX_ITEM   1002
#define CLICK_STACK_SIZE   8

Function Documentation

ScripterExport int get_cur_line ( HWND  window,
MSTR line,
bool  stripEOL 
)
ScripterExport void set_edit_box_font ( HWND  window,
const MCHAR *  font_name 
)
ScripterExport void set_edit_box_font_size ( HWND  window,
int  fontSize 
)

Variable Documentation