Changeset 494 for trunk/Utilities/RotView/MainDialog.h
- Timestamp:
- Jul 25, 2015, 10:13:05 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/RotView/MainDialog.h
r156 r494 192 192 _W(Menu.AppendMenu(MF_SEPARATOR)); 193 193 _W(Menu.AppendMenu(MF_STRING, ID_APP_ABOUT, _T("&About..."))); 194 { 195 CString sCaption; 196 GetWindowText(sCaption); 197 CRoArrayT<CString> Array; 198 #if defined(_WIN64) 199 Array.Add(_T("64-bit")); 200 #else 201 if(SafeIsWow64Process()) 202 Array.Add(_T("32-bit")); 203 #endif // defined(_WIN64) 204 if(GetOsVersion() >= 0x00060000 && IsAdministrator()) 205 Array.Add(_T("Administrator")); 206 if(!Array.IsEmpty()) 207 { 208 sCaption.Append(AtlFormatString(_T(" (%s)"), _StringHelper::Join(Array, _T(", ")))); 209 SetWindowText(sCaption); 210 } 211 } 194 CAboutDialog::UpdateCaption(*this); 212 195 m_EntryListView.Initialize(GetDlgItem(IDC_MAIN_ENTRY)); 213 196 //m_EntryListView.SetColumnWidth(0, LVSCW_AUTOSIZE_USEHEADER);
Note: See TracChangeset
for help on using the changeset viewer.