헐 그렇군요.
님 코드를 예를들어 msgLevel을 가져다 쓸려면
sheet_info_t sheetinfot;
sheetinfot.msgLevel
이런식으로 가져다 쓰면 되는거 맞져?
Neit 님이 쓰신 글 :
: 이상하네요. 왜 안될까요 ?
:
: 제코드 일부 입니다.
:
: 아래처럼 하고 있는데 잘 되는데요 ?
:
:
: #include "options.h"
: #include "findtext.h"
: #include "SynEdit.hpp"
: #include "go2line.h"
: #include
: #include "SynEdit.hpp"
: #include
: #include "NiceGrid.hpp"
:
: struct sheet_info_t
: {
: TStringGrid *sg;
: int msgLevel;
: };
:
: enum
: {
: INI_FILTER,
: INI_FILTER_OPTION,
: INI_RECENT_FIND_TEXT,
: INI_FIND_TEXT_OPTION,
: INI_SECTION_MAX
: };
:
: class TForm1 : public TForm
: {
: __published: // IDE-managed Components
: ...
: ...
: }
:
:
: 축구 님이 쓰신 글 :
: : 헤더를 보면 저런식으로 되어있잖아요
: : struct ABC를 만들어서 추가하고 싶은데 어디에 넣어야 하나요?
: : 여기 저기 넣어봐도 안되서 질문드려요.
: :
: : 아 그리고 enum위치도 알려주세요.
: :
: :
: : #ifndef MainH
: : #define MainH
: : //---------------------------------------------------------------------------
: : #include
: : #include
: : #include
: : #include
: : #include
: : #include
: : #include
: : #include
: : #include
: : #include
: : #include
: : //---------------------------------------------------------------------------
: : class TForm1 : public TForm
: : {
: : __published: // IDE-managed Components
: : TButton *Button1;
: : TLabel *Label1;
: : TButton *Button2;
: : TButton *Button3;
: : TButton *Button4;
: : TButton *Button5;
: : TMemo *Memo1;
: : void __fastcall Button1Click(TObject *Sender);
: : void __fastcall Button2Click(TObject *Sender);
: : void __fastcall Button3Click(TObject *Sender);
: : void __fastcall Button4Click(TObject *Sender);
: : void __fastcall Button5Click(TObject *Sender);
: : void __fastcall FormCreate(TObject *Sender);
: : private: // User declarations
: : public: // User declarations
: : __fastcall TForm1(TComponent* Owner);
: : };
: : //---------------------------------------------------------------------------
: : extern PACKAGE TForm1 *Form1;
: : //---------------------------------------------------------------------------
: : #endif
: : |