[GDI32]
[reactos.git] / rosapps / templates / imagesoft / misc.h
1
2 INT AllocAndLoadString(OUT LPTSTR *lpTarget,
3 IN HINSTANCE hInst,
4 IN UINT uID);
5
6 DWORD LoadAndFormatString(IN HINSTANCE hInstance,
7 IN UINT uID,
8 OUT LPTSTR *lpTarget,
9 ...);
10
11 BOOL StatusBarLoadAndFormatString(IN HWND hStatusBar,
12 IN INT PartId,
13 IN HINSTANCE hInstance,
14 IN UINT uID,
15 ...);
16
17 BOOL StatusBarLoadString(IN HWND hStatusBar,
18 IN INT PartId,
19 IN HINSTANCE hInstance,
20 IN UINT uID);
21
22 INT GetTextFromEdit(OUT LPTSTR lpString,
23 IN HWND hDlg,
24 IN UINT Res);
25
26 VOID GetError(DWORD err);
27
28 BOOL ToolbarDeleteControlSpace(HWND hWndToolbar,
29 const TBBUTTON *ptbButton);
30
31 typedef VOID (*ToolbarChangeControlCallback)(HWND hWndToolbar,
32 HWND hWndControl,
33 BOOL Vert);
34 VOID ToolbarUpdateControlSpaces(HWND hWndToolbar,
35 ToolbarChangeControlCallback ChangeCallback);
36
37 BOOL ToolbarInsertSpaceForControl(HWND hWndToolbar,
38 HWND hWndControl,
39 INT Index,
40 INT iCmd,
41 BOOL HideVertical);
42
43 HIMAGELIST InitImageList(UINT NumButtons,
44 UINT StartResource);