#ifndef KMWIN_NBOX_HPP_ #define KMWIN_NBOX_HPP_ #include "winext.hpp" #define CLASS_NOTIFYBOX "kmwinNotifyBoxClass" // ウィンドウの状態を示す定数 enum { NBSTATE_BEGINNING = 1, NBSTATE_APPEARING, NBSTATE_STABLE, NBSTATE_SUNKING, NBSTATE_FINISH }; /// メソッド /*! NotifyBox_begin( this_, delay, str, len, when_finish ) -- 表示開始 */ UINT NBM_BEGIN(); LRESULT NotifyBox_begin( HWND this__, int delay__, LPCTSTR str__, int len__, HWND on_finish ); /*! NotifyWin_getState( this_ ) * 現在のウィンドウの状態を得る */ UINT NBM_GETSTATE(); #define NotifyBox_getState( this__ ) ::SendMessage( this__, NBM_GETSTATE(), 0, 0 ) /// イベント //! on finish -- begin() の引数に hwnd があれば,それに post される UINT NBM_FINISH(); /// コンストラクタ HWND WINAPI createNotifyBox( HINSTANCE hinst // アプリケーションのインスタンス ); #endif // KMWIN_NWIN_HPP_