NiCMidi 1.1.0
A MIDI library derived from J.D.Koftinoff jdksmidi
|
A MIDISequencerGUINotifier which sends messages to a Win32 window using the Windows PostMessage() function. More...
#include <notifier.h>
Public Member Functions | |
MIDISequencerGUINotifierWin32 (HWND w, DWORD msg, WPARAM param_value=0) | |
In this form of the constructor you must give the Windows parameters to the notifier. More... | |
MIDISequencerGUINotifierWin32 (HWND w) | |
This form auto sets the Windows message id and wparam_value, so you don't have to worry about them. More... | |
virtual | ~MIDISequencerGUINotifierWin32 () |
The destructor. More... | |
DWORD | GetMsgId () const |
Returns the Window message id. More... | |
virtual void | Notify (const MIDISequencerGUIEvent &ev) |
Sends the MIDISequencerGUIEvent ev to the window. More... | |
![]() | |
MIDISequencerGUINotifier (const MIDISequencer *seq=0) | |
The constructor. More... | |
virtual void | SetSequencer (const MIDISequencer *seq) |
This sets the sequencer which generates messages sent to the GUI. More... | |
virtual bool | GetEnable () const |
Returns the enable/disable status. More... | |
virtual void | SetEnable (bool f) |
Sets message sending on/off. More... | |
A MIDISequencerGUINotifier which sends messages to a Win32 window using the Windows PostMessage() function.
MIDISequencerGUINotifierWin32::MIDISequencerGUINotifierWin32 | ( | HWND | w, |
DWORD | msg, | ||
WPARAM | param_value = 0 |
||
) |
In this form of the constructor you must give the Windows parameters to the notifier.
w | the id of the window to whom sending messages |
msg | a Windows message id used by the notifier to communicate with the window |
param_value | an optional parameter sent by the message. |
MIDISequencerGUINotifierWin32::MIDISequencerGUINotifierWin32 | ( | HWND | w | ) |
This form auto sets the Windows message id and wparam_value, so you don't have to worry about them.
|
inlinevirtual |
The destructor.
|
inline |
Returns the Window message id.
|
virtual |
Sends the MIDISequencerGUIEvent ev to the window.
Implements MIDISequencerGUINotifier.