4 // WM_COVER_WINDOW is used by CoverWindow() and CoverClient() to ensure that
5 // the proper thread creates a cover window when requested (if any thread
6 // other than g.hMain's thread creates the window, it will be destroyed
7 // automatically when the thread terminates).
9 // When used to cover a window:
10 // LPCOVERPARAMS lpCoverParams = (LPCOVERPARAMS)lParam;
12 // When used to uncover a window:
13 // HWND hwndToUncover = (HWND)wParam;
15 #define WM_COVER_WINDOW (WM_USER + 0x200)
17 // WM_CREATE_ERROR_DIALOG is sent by ErrorDialog() to tell g.hMain to
18 // create a dialog; this way, the error dialog is always created by
21 // LPERROR_PARAMS = (LPERROR_PARAMS)lParam;
23 #define WM_CREATE_ERROR_DIALOG (WM_USER + 0x201)
25 // WM_ENDTASK is posted to a window after a task request is created
26 // (via StartTask()). A background routine handles one request at a time
27 // on an alternate thread, and posts its results to a specified window by
28 // means of an allocated structure. That structure should be freed using
29 // FreeTaskPacket() when this message is received.
31 // LPTASKPACKET ptp = (LPTASKPACKET)lParam;
33 #define WM_ENDTASK (WM_USER + 0x202)
35 // WM_EXPIRED_CREDENTIALS is sent to the main window when a background
36 // thread detects that the user's credentials have expired.
38 // BOOL fExpired = (BOOL)wParam;
40 #define WM_EXPIRED_CREDENTIALS (WM_USER + 0x203)
42 // WM_CLOSE_DIALOG is sent to a modal dialog when the CloseDialog() routine
45 // HWND hWnd = (HWND)wParam;
46 // int rc = (int)lParam;
48 #define WM_CLOSE_DIALOG (WM_USER + 0x204)
50 // WM_PERMTAB_REFRESH is sent to a Permissions tab to cause its contents
51 // to be completely recalculated and redrawn. Any changes the user has
52 // made so far are discarded.
54 #define WM_PERMTAB_REFRESH (WM_USER + 0x205)
56 // WM_REFRESHED_CREDENTIALS is sent to the main window whenever the
57 // AfsAppLib_SetCredentials to obtain new credentials.
59 // LPARAM lp = (LPARAM)hCreds
61 #define WM_REFRESHED_CREDENTIALS (WM_USER + 0x206)