home *** CD-ROM | disk | FTP | other *** search
- CODEW32.DAT: WIN32 code library file.
-
- MAIN FILE: CODELIB.SPP
-
- NOTES: Enter library entries. The first line of each entry must be the
- entry marker, immediately followed by a description. The code begins
- on the line following the description, and extends until the next
- marker or EOF.
-
- <*>Example entry: Modify system menu.
- // Modify system menu.
- HMENU hMenu = GetSystemMenu( hWnd, FALSE );
- ModifyMenu( hMenu, SC_CLOSE, MF_BYCOMMAND | MF_GRAYED, NULL, NULL );
- EnableMenuItem( hMenu, SC_CLOSE, MF_BYCOMMAND | MF_DISABLED );
-
- <*>Example entry: Prevent opening of icon.
- // Prevent "opening" (restoring or maximizing) of icon.
- case WM_QUERYOPEN:
- return 0;
-
-
-