Changeset 953 for trunk/dll/treecnr.c
- Timestamp:
- Feb 16, 2008, 3:15:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/treecnr.c
r950 r953 44 44 22 Nov 07 GKY Use CopyPresParams to fix presparam inconsistencies in menus 45 45 10 Jan 08 SHL Sync with CfgDlgProc mods 46 15 Feb 08 SHL Sync with settings menu rework 46 47 47 48 ***********************************************************************/ … … 63 64 #include "errutil.h" // Dos_Error... 64 65 #include "strutil.h" // GetPString 66 #include "notebook.h" // CfgDlgProc 65 67 #include "fm3dll.h" 66 68 … … 2373 2375 break; 2374 2376 2375 case IDM_ NOTEBOOK:2377 case IDM_TREECNRVIEWSETTINGS: 2376 2378 if (!ParentIsDesktop(dcd->hwndParent, dcd->hwndParent)) 2377 PostMsg(dcd->hwndParent, msg, MPFROMLONG(IDM_TREECNR SETTINGS), mp2);2379 PostMsg(dcd->hwndParent, msg, MPFROMLONG(IDM_TREECNRVIEWSETTINGS), mp2); 2378 2380 else { 2379 2381 WinDlgBox(HWND_DESKTOP, … … 2382 2384 FM3ModHandle, 2383 2385 CFG_FRAME, 2384 MPFROMLONG(IDM_TREECNR SETTINGS));2386 MPFROMLONG(IDM_TREECNRVIEWSETTINGS)); 2385 2387 } 2386 2388 break; … … 2953 2955 NULL, 2954 2956 WS_VISIBLE | fwsAnimate, 2955 2957 FM3ModHandle, TREE_FRAME, &hwndClient); 2956 2958 if (hwndParent != HWND_DESKTOP) { 2957 2959 hwndSysMenu = WinWindowFromID(hwndFrame, FID_SYSMENU); 2958 2960 if (hwndSysMenu != NULLHANDLE) 2959 2961 WinSendMsg(hwndSysMenu, MM_SETITEMATTR, 2960 2961 2962 MPFROM2SHORT(SC_CLOSE, TRUE), 2963 MPFROM2SHORT(MIA_DISABLED, MIA_DISABLED)); 2962 2964 if (!fFreeTree) 2963 2965 WinSendMsg(hwndSysMenu, MM_SETITEMATTR, 2964 2965 2966 MPFROM2SHORT(SC_MOVE, TRUE), 2967 MPFROM2SHORT(MIA_DISABLED, MIA_DISABLED)); 2966 2968 } 2967 2969 if (hwndFrame && hwndClient) { … … 2979 2981 if (!WinCreateWindow(hwndFrame, 2980 2982 WC_TREEOPENBUTTON, 2981 2983 "Op", 2982 2984 WS_VISIBLE | BS_PUSHBUTTON | BS_NOPOINTERFOCUS, 2983 2985 ((swp.cx - … … 3068 3070 if (dcd->oldproc == 0) 3069 3071 Win_Error(HWND_DESKTOP, HWND_DESKTOP, pszSrcFile, __LINE__, 3070 3072 "WinSubclassWindow"); 3071 3073 if (!PostMsg(dcd->hwndCnr, UM_SETUP, MPVOID, MPVOID)) 3072 3074 WinSendMsg(dcd->hwndCnr, UM_SETUP, MPVOID, MPVOID);
Note:
See TracChangeset
for help on using the changeset viewer.