Ignore:
Timestamp:
Jul 13, 2017, 5:17:57 AM (8 years ago)
Author:
stevenhl
Message:

Import modifications from cwmm-0_2_9-work-01_10_2006.zip dated 2006-08-27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mediafolder/c/mediafldr/mediadialogprocs.cpp

    r3 r4  
    405405        thisPtr->usLastSelMenuItem=SHORT1FROMMP(mp1);
    406406      break;
     407    case WM_TIMER:
     408      /* The user didn't click any button on the message box asking for closing the
     409         folder. Now the system forces the closing so automatic shutdown may finally
     410         succeed. */
     411      if(SHORT1FROMMP(mp1)==MFLDR_MBOX_TIMER_ID) {
     412        WinStopTimer(WinQueryAnchorBlock(HWND_DESKTOP), hwnd, MFLDR_MBOX_TIMER_ID);
     413        WinPostMsg(hwnd, WM_CLOSE, 0, 0);
     414      }
     415      return MRFALSE;
    407416    default:
    408417      break;
Note: See TracChangeset for help on using the changeset viewer.