1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef M_FOLDERS_DLG_HANDLERS_H
#define M_FOLDERS_DLG_HANDLERS_H
//#include "commonheaders.h"
#include "services.h"
#include "events.h"
#include <richedit.h>
INT_PTR CALLBACK DlgProcOpts(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK DlgProcVariables(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
int GetCurrentItemSelection(HWND hWnd);
int GetCurrentSectionSelection(HWND hWnd);
PFolderItem GetSelectedItem(HWND hWnd);
int GetCurrentSectionText(HWND hWnd, char *buffer, int count);
int GetCurrentItemText(HWND hWnd, char *buffer, int count);
void GetEditText(HWND hWnd, TCHAR *buffer, int size);
void SetEditText(HWND hWnd, const TCHAR *buffer);
void LoadRegisteredFolderSections(HWND hWnd);
void LoadRegisteredFolderItems(HWND hWnd);
void LoadItem(HWND hWnd, PFolderItem item);
void SaveItem(HWND hWnd, PFolderItem item, int bEnableApply = TRUE);
int ChangesNotSaved(HWND hWnd);
void RefreshPreview(HWND hWnd);
#endif //M_FOLDERS_DLG_HANDLERS_H
|