1 ///////////////////////////////////////////////////
4 // main.cpp's lumber room :)
5 ///////////////////////////////////////////////////
16 int selected
, splitter_pos
= 50;
21 HWND hTBar
, hTree
, hEdit
, hStatus
;
22 HTREEITEM nodes
[MAXNODES
];
24 /* Window Callbacks */
26 LRESULT CALLBACK
WndProc(HWND
, UINT
, WPARAM
, LPARAM
);
27 INT_PTR CALLBACK
StatusProc (HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
28 INT_PTR CALLBACK
OptionsProc (HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
34 int AddItem (int id
, const char* name
, int parent
, int icon
);
35 int SetText (const char* text
);
36 int SetStatus (int status1
, int status2
, WCHAR
* text
);
37 int Ask (const WCHAR
* message
);
39 /* Toolbar Releated */
41 #define TBSTYLE_FLAT 2048
43 // This is the struct where the toolbar is defined
44 extern const TBBUTTON Buttons
[];