2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
15 #define ID_DISPATCH_TIMER 996
16 #define ID_ACTION_TIMER 997
18 // WM_NOTIFY_FROM_DISPATCH is posted when the AFSClass library notifies our
19 // handler that an event has taken place.
21 // LPNOTIFYSTRUCT lpns = (LPNOTIFYSTRUCT)lParam;
23 // Use NotifyMe() to have notifications sent to your window when a
24 // particular object changes.
26 #define WM_NOTIFY_FROM_DISPATCH (WM_USER + 0x100)
28 // WM_SERVER_CHANGED is sent to the child dialog of a server's window's tab
29 // control whenever that dialog's selected server changes. It causes the
30 // window to be redisplayed.
32 // LPIDENT lpiServerNew = (LPIDENT)lParam; // NULL indicates no server
34 // Use Server_ForceRedraw() to post this message.
36 #define WM_SERVER_CHANGED (WM_USER + 0x101)
38 // WM_REFRESH_UPDATE is sent to the "Refreshing..." dialog to update its
39 // displayed percent-complete.
41 // DWORD dwPercentComplete = (DWORD)wParam;
42 // LPIDENT lpiNowRefreshing = (LPIDENT)lParam;
44 #define WM_REFRESH_UPDATE (WM_USER + 0x102)
46 // WM_OPEN_SERVERS is used by Display_Servers() to let g.hMain's thread know
47 // when it is finished updating the list of servers in a cell. When received,
48 // all known servers are enumerated and secondary windows opened for them
51 #define WM_OPEN_SERVERS (WM_USER + 0x103)
53 // WM_COLUMNS_CHANGED is sent by ShowColumnsDialog() if the user modified
54 // the list-of-columns given as the default selection.
56 #define WM_COLUMNS_CHANGED (WM_USER + 0x104)
58 // WM_OPEN_SERVER is posted to g.hMain to cause it to call Server_Open().
60 // LPIDENT lpiServerToOpen = (LPIDENT)lParam;
62 #define WM_OPEN_SERVER (WM_USER + 0x105)
64 // WM_SHOW_CREATEREP_DIALOG is posted to g.hMain from any thread to cause
65 // the "Create Replica" dialog to be presented to the user. In particular,
66 // this mechanism is used if the user right-drags an unreplicated fileset
67 // onto an aggregate and selects "replicate here": the user is first presented
68 // with the NOTREP dialog, and if the user is successful in getting the set
69 // replicated from there, the NOTREP_APPLY task posts this message to cause
70 // the "Create Replica" confirmation dialog to appear next.
72 // LPIDENT lpiRW = (LPIDENT)wParam;
73 // LPIDENT lpiTarget = (LPIDENT)lParam; // may be NULL
75 #define WM_SHOW_CREATEREP_DIALOG (WM_USER + 0x106)
77 // WM_SHOW_YOURSELF is posted to g.hMain to cause the main window to be
78 // displayed iff a cell has already been selected.
80 // BOOL fForce = (BOOL)lp; // if !fForce, only show if g.lpiCell set
82 #define WM_SHOW_YOURSELF (WM_USER + 0x107)
84 // WM_OPEN_ACTIONS is used by taskOPENCELL() to open the Operations In
85 // Progress window when appropriate. The message is posted to g.hMain.
87 #define WM_OPEN_ACTIONS (WM_USER + 0x108)
89 // WM_REFRESH_SETSECTION is sent to the "Refreshing..." dialog to tell
90 // the window what ID to pass to AfsClass_SkipRefresh() when the "Skip"
93 // BOOL fStart = (BOOL)wParam;
94 // int idSection = (int)lParam;
96 #define WM_REFRESH_SETSECTION (WM_USER + 0x109)