Changeset 631 in dev for trunk/ab5.0/abdev
- Timestamp:
- Jun 4, 2008, 11:00:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/History.cpp
r625 r631 107 107 pobj_SubMenu->InsertItem(i,m_BaseID+i,lpszPath[i]); 108 108 109 //アイコンをセット 110 if(IsExistFile(lpszPath[i])){ 111 SHFILEINFO shfi; 112 SHGetFileInfo( lpszPath[i], FILE_ATTRIBUTE_ARCHIVE, &shfi, sizeof(SHFILEINFO), SHGFI_ICON | SHGFI_SMALLICON ); 109 //アイコンをセット(ネットワークドライブ内のファイルは取得に時間がかかるため、除外する) 110 if( !Jenga::Common::Path( lpszPath[i] ).IsNetworkPath() ) 111 { 112 if(IsExistFile(lpszPath[i])){ 113 SHFILEINFO shfi; 114 SHGetFileInfo( lpszPath[i], FILE_ATTRIBUTE_ARCHIVE, &shfi, sizeof(SHFILEINFO), SHGFI_ICON | SHGFI_SMALLICON ); 113 115 114 if(shfi.hIcon){ 115 pobj_SubMenu->SetIcon(m_BaseID+i,shfi.hIcon); 116 if(shfi.hIcon){ 117 pobj_SubMenu->SetIcon(m_BaseID+i,shfi.hIcon); 118 } 116 119 } 117 120 }
Note:
See TracChangeset
for help on using the changeset viewer.