Changeset 28


Ignore:
Timestamp:
10/10/07 10:29:35 (7 years ago)
Author:
lowjoel
Message:

-Fixed a warning of unused variables in ShellListView?.cpp
-In the Preferences page the Minimize to tray option should be DISABLED when the tray icon is disabled

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PreferencesPage.cpp

    r3 r28  
    33// Eraser. Secure data removal. For Windows. 
    44// Copyright © 1997-2001  Sami Tolvanen (sami@tolvanen.com). 
     5// Copyright © 2007 The Eraser Project 
    56// 
    67// This program is free software; you can redistribute it and/or 
     
    264265    GetDlgItem(IDC_STATIC_KB)->EnableWindow(m_bLog); 
    265266 
    266     if (!m_bNoTrayIcon) 
     267    if (m_bNoTrayIcon) 
    267268    { 
    268269        m_bHideOnMinimize = FALSE; 
     
    324325{ 
    325326    UpdateData(TRUE); 
    326     GetDlgItem(IDC_CHECK_HIDEONMINIMIZE)->EnableWindow(m_bNoTrayIcon); 
     327    GetDlgItem(IDC_CHECK_HIDEONMINIMIZE)->EnableWindow(!m_bNoTrayIcon); 
    327328} 
    328329 
  • trunk/ShellListView.cpp

    r3 r28  
    33// Eraser. Secure data removal. For Windows. 
    44// Copyright © 1997-2001  Sami Tolvanen (sami@tolvanen.com). 
     5// Copyright © 2007 The Eraser Project 
    56// 
    67// This program is free software; you can redistribute it and/or 
     
    875876void CShellListView::OnBeginDrag(NMHDR* pNMHDR, LRESULT* pResult) 
    876877{ 
    877     NMLISTVIEW* pNMListView = (NMLISTVIEW*)pNMHDR; 
    878  
    879878    OnDragDrop(pNMHDR, pResult); 
    880879    *pResult = 0; 
     
    883882void CShellListView::OnBeginRDrag(NMHDR* pNMHDR, LRESULT* pResult) 
    884883{ 
    885     NMLISTVIEW* pNMListView = (NMLISTVIEW*)pNMHDR; 
    886  
    887884    OnDragDrop(pNMHDR, pResult); 
    888885    *pResult = 0; 
Note: See TracChangeset for help on using the changeset viewer.