//---------------------------------------------------------------------------

#ifndef ide_msgH
#define ide_msgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------


#include "font.h"

#include "gui_captionbar.h"
#include "gui_page.h"
#include "gui_scroll_v.h"
#include "gui_scroll_h.h"
#include "gui_tabs.h"
#include "gui_edgebox.h"

//[2009.08.09.일][추가!!!]
#include "gui_radio_button.h"
#include "gui_label.h"
#include "gui_button.h"
#include <ExtCtrls.hpp>



class Tide_msg_Form : public TForm
{
__published:	// IDE-managed Components
    TTimer *comRxd_Timer;
    TTimer *comDebug_Timer;

        void __fastcall FormResize(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
    void __fastcall comRxd_TimerTimer(TObject *Sender);
    void __fastcall comDebug_TimerTimer(TObject *Sender);

private:	// User declarations

public:		// User declarations

        __fastcall Tide_msg_Form(TComponent* Owner);

        //[2012.04.29.일][완료!!!]
        __fastcall ~Tide_msg_Form(void);

        //[서브클래싱]
        //{
            //[2012.06.07.목][완료!!!]
            void __fastcall WndProc(Messages::TMessage &Message);

        //}

        //[VAR]
        //{
            //[환경변수]
            //{
                //[2007.10.02.화][추가!!!]
                struct  IDE_OPTION   *_ide_option;

            //}

            //[내부 컨트롤]
            //{
                Tgui_captionbar_Form  *_captionbar_Form;
                Tgui_page_Form        *_page_Form;
                Tgui_scroll_v_Form    *_scroll_v_Form;
                Tgui_scroll_h_Form    *_scroll_h_Form;
                Tgui_tabs_Form        *_tabs_Form;
                Tgui_edgebox_Form     *_edgebox_Form;
            //}

            //[통신관련]
            //{
                //[2009.10.01.목][추가!!!]{------------------
                //검증용 통신포트에 관련된 부품을 추가한다.
                //통신상태 를 보여줄 LED 를 만든다.
                //단, 수신만 필요하므로 수신관련만 생성한다.
                //}------------------------------------------

                Tgui_button_Form        *_comPortNum_Btn,
                                        *_comPortBaud_Btn,
                                        *_comPortOpen_Btn;

                //바탕판 만들기용 라벨.
                //다른 부품을 이곳에 생성하여 관리한다.
                Tgui_Label_Form         *_comPortBase_Label;

                Tgui_radio_button_Form  *_comPort_RadioBtn,
                                        *_comRxd_RadioBtn;

                Tgui_Label_Form         *_comPort_Label,
                                        *_comRxd_Label;

            //}

            //[통신 처리용]
            //{
                //[2009.10.02.금][추가!!!]
                //[2011.08.21.일][수정!!!]{------------------------------------
                //[통신포트] 의 [수신 저장소] 를 대상으로 직접 처리하는 것으로
                //수정하였으므로 필요없어 주석으로 처리한다.
                //같은 날짜로 해당 수정 부분을 찾아 본다.
                //unsigned char   *_comStr;
                //int              _comStrIndex;
                //}------------------------------------------------------------

            //}

        //}

        //[FUNCTION]
        //{
            //[2009.10.02.금][완료!!!]
            void __fastcall _Resize(void);

            void __fastcall _Split_h(void);

        //}

        //[EVENT FUNCTION]
        //{
            //[2023.02.01.수][완료]
            void __fastcall _EVENT_V_Scroll(void);

            void __fastcall _EVENT_V_MouseDown(void);
            void __fastcall _EVENT_H_Scroll(void);
            //[2007.04.05.목][완료!!!]
            void __fastcall _EVENT_H_MouseDown(void);

            void __fastcall _EVENT_PageUp(void);
            void __fastcall _EVENT_PageDown(void);

            //[2006.11.06.월][완료!!!]
            void __fastcall _EVENT_TabSelect(void);

            //[2009.10.02.금][완료!!!]
            void __fastcall _EVENT_Click_comPortNum_Btn(void);

            //[2009.10.02.금][완료!!!]
            void __fastcall _EVENT_Click_comPortBaud_Btn(void);

            //[2009.10.02.금][완료!!!]
            void __fastcall _EVENT_Click_comPortOpen_Btn(void);

        //}

        //[부가 함수]
        //{
            //[2009.10.02.금][완료!!!]
            void __fastcall _Led_Comport(bool  pTonFoff);

            //[2009.10.02.금][완료!!!]
            void __fastcall _Led_Rxd(bool  pTonFoff);

            //[2009.10.02.금][완료!!!]
            void __fastcall _ComPort_OptionReload(void);

            //[2009.10.02.금][완료!!!]
            void __fastcall _ComDebugTimer_OnOff(bool  pTonFoff);

            //[2012.03.12.월][완료!!!]
            void __fastcall _ComPort_ExClose(void);


        //}


};
//---------------------------------------------------------------------------
extern PACKAGE Tide_msg_Form *ide_msg_Form;
//---------------------------------------------------------------------------
#endif

