Changeset 802
- Timestamp:
- Aug 23, 2007, 6:04:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/treecnr.c
r793 r802 39 39 14 Aug 07 SHL Optimze ShowTreeRec collapse - was really slow 40 40 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 41 22 Aug 07 SHL Disable DbgMsgs shipped with 3.0.8beta1 41 42 42 43 ***********************************************************************/ … … 163 164 } 164 165 WinEnableWindowUpdate(hwndCnr, FALSE); 165 DbgMsg(pszSrcFile, __LINE__, "finding %s collapse %u maketop %u", dirname, collapsefirst, maketop); // 14 Aug 07 SHL fixme166 // DbgMsg(pszSrcFile, __LINE__, "finding %s collapse %u maketop %u", dirname, collapsefirst, maketop); // 14 Aug 07 SHL fixme 166 167 pci = FindCnrRecord(hwndCnr, dirname, NULL, TRUE, FALSE, TRUE); 167 168 if (!pci || (INT) pci == -1) { … … 195 196 pci = FindCnrRecord(hwndCnr, dirname, NULL, TRUE, FALSE, TRUE); 196 197 } 197 DbgMsg(pszSrcFile, __LINE__, "found"); // 14 Aug 07 SHL fixme198 // DbgMsg(pszSrcFile, __LINE__, "found"); // 14 Aug 07 SHL fixme 198 199 if (pci && (INT) pci != -1) { 199 200 if (~pci->rc.flRecordAttr & CRA_CURSORED) { 200 201 if (collapsefirst) { 201 DbgMsg(pszSrcFile, __LINE__, "collapsing"); // 14 Aug 07 SHL fixme202 // DbgMsg(pszSrcFile, __LINE__, "collapsing"); // 14 Aug 07 SHL fixme 202 203 pciP = WinSendMsg(hwndCnr, 203 204 CM_QUERYRECORD, … … 227 228 } 228 229 /* expand all parent branches */ 229 DbgMsg(pszSrcFile, __LINE__, "expanding parents"); // 14 Aug 07 SHL fixme230 // DbgMsg(pszSrcFile, __LINE__, "expanding parents"); // 14 Aug 07 SHL fixme 230 231 pciToSelect = pci; 231 232 for (;;) { … … 246 247 /* make record visible */ 247 248 MakeTop: 248 DbgMsg(pszSrcFile, __LINE__, "moving into view"); // 14 Aug 07 SHL fixme249 // DbgMsg(pszSrcFile, __LINE__, "moving into view"); // 14 Aug 07 SHL fixme 249 250 pciToSelect = pci; 250 251 if (pciToSelect && (INT) pciToSelect != -1) { … … 253 254 } 254 255 if (fSwitchTreeExpand && ~pciToSelect->rc.flRecordAttr & CRA_EXPANDED) { 255 DbgMsg(pszSrcFile, __LINE__, "expanding current"); // 14 Aug 07 SHL fixme256 // DbgMsg(pszSrcFile, __LINE__, "expanding current"); // 14 Aug 07 SHL fixme 256 257 WinSendMsg(hwndCnr, CM_EXPANDTREE, MPFROMP(pciToSelect), MPVOID); 257 DbgMsg(pszSrcFile, __LINE__, "expanded"); // 14 Aug 07 SHL fixme258 // DbgMsg(pszSrcFile, __LINE__, "expanded"); // 14 Aug 07 SHL fixme 258 259 } 259 260 if (!quickbail) { … … 265 266 } 266 267 } 267 DbgMsg(pszSrcFile, __LINE__, "done"); // 14 Aug 07 SHL fixme268 // DbgMsg(pszSrcFile, __LINE__, "done"); // 14 Aug 07 SHL fixme 268 269 WinEnableWindowUpdate(hwndCnr, TRUE); 269 270 DosSleep(1); // Let GUI update
Note:
See TracChangeset
for help on using the changeset viewer.