Wednesday, June 23, 2010

How to Disable Full Row Select in Explorer in Windows 7?

I’m writing this article specifically for Windows 7, because the FullRowSelect registry value that you used in Windows Vista, doesn’t work in Windows 7. (REF: Enable or Disable Full Row Select feature in Explorer in Windows Vista). After some of our readers reported that setting FullRowSelect to 0 doesn’t do anything in Windows 7, I decided to have a look at this issue. Playing with different bitmask values, I finally got what I wanted – to disable full row select feature in Windows Explorer (Details mode) in Windows 7, but with a minor side-effect which is explained in the later part of the article.

MSDN article on FOLDERFLAGS Enumerated Type tells that when the FWF_FULLROWSELECT 0×00200000 (Windows Vista and later) bit is set, when an item is selected, the item and all its sub-items are highlighted. However, in my Windows 7 system, the FWF_FULLROWSELECT wasn’t set, yet the full row select feature is still enabled. It appears that Windows 7 doesn’t honor the 0×00200000 bit. Perhaps Raymond Chen or someone from the MS Shell team can provide an expert insight on this?

Workaround

I could disable the full row select feature by adding the 0×02000000 bit (FWF_EXTENDEDTILES) and applying the setting for Generic folders. Yes! It was just a fluke. Here are the detailed instructions (accompanied by a REG file to automate) if you want to try it out:

Before proceeding, first set the FullRowSelect registry value to 0. Refer to our earlier article for more information on the registry edit.

1. Start Regedit.exe and navigate to the following location:

HKEY_CURRENT_USER \ Software \ Classes \ Local Settings \ Software \ Microsoft \ Windows \ Shell \ Bags

2. Create a subkey named AllFolders

3. Under AllFolders, create a key named Shell

4. Under Shell, create a key named {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}

5. Select {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}, and create a DWORD value named FFlags

6. Double-click FFlags and set its value data to 43000001 (hex)

7. Create another DWORD value named Mode and set 4 as its data

8. Go back to the Bags key, export the branch to a REG file.

9. Delete every Bag# under the Bags key. Do NOT delete the AllFolders key. Caution: You lose existing folder views/customizations by doing this. You need to redo them again.

10. Open My Computer, customize the window and then close it.

11. Exit the Registry Editor.

12. Logoff and login back. (Alternately, you could terminate the shell cleanly and restart it. REF: Terminate and Restart Explorer.exe Process Cleanly in Windows 7 & Windows Vista).

Other Folder Types

The above example applies to generic folders, with the Folder Type GUID {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}. You can adapt the above instructions for other folder types. Here are the GUIDs:

Folder Template GUID
Generic {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
Documents {7D49D726-3C21-4F05-99AA-FDC2C9474656}
Music {94D6DDCC-4A68-4175-A374-BD584A510B78}
Pictures {B3690E58-E961-423B-B687-386EBFD83239}
Videos {5FA96407-7E77-483C-AC93-691D05850DE8}

For other GUIDs, check out the following Folder Types registry key here, just in case you want to test the above hack for Libraries and other special folders.

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ FolderTypes

Registry Fix

If you need a REG file to carry out the above task, download w7-fullrowsel.zip, unzip and apply the REG file. There is an undo REG file attached if you want to reverse this hack. Caution: You lose existing folder views/customizations by running the Undo file. You need to redo the customizations again.

Screenshots

With full row select feature enabled (default)

With full row select feature disabled.

Minor Side-Effect

The above hack also causes a little glitch which you can notice only if you enable the Preview pane in Explorer. When you double-click on a text file (or any text based file which has the Text Preview handler enabled), it simply goes into the rename mode. That is, if you want to open a text file, you must first select the file by single clicking on it, and then double-clicking the file to open it. Three clicks, totally. Again, this is observed only for .txt files and only if the Preview pane is enabled in Windows Explorer.

(Update: Feb 22 2010 – Additional note added below)

Other Interesting Observations of this Magical Registry Hack

Our vigilant reader Anon reported some interesting observations after running the above edit. This edit seems to force Windows 7 to use the standard list view control used in Windows Vista, instead of DirectUIHWND. Therefore, there are also other UI changes (as in the following screenshots) after running this edit.

#1: Blue-colored column header is back!

#2: Extended Tiles view option is added instead of Tiles (some may find this annoying)

#3: Selecting a file when in list view highlights the entire length (of the longest file name in that row)

#4: Auto arrange menu option is back. Atlast, you can disable Auto arrange option when in "icons" view. This wasn’t possible in Windows 7 earlier.


-----------


So today I’ve tried win 7, man does this explorer suck. Must have been designed by either some woman or an uber-gay dude. Especially that “hey I know the best view mode for you” thing. I prefer details view but that gay explorer doesn’t seem to respect that. Googled for some solution and found Reset Windows Explorer Folder View Settings. Didn’t fully fit my needs though. So here is what I came up with:


  • Export [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}] to a file.
  • Open file and replace HKEY_LOCAL_MACHINE with HKEY_CURRENT_USER
  • Change ‘ColumnList’ to what I/You want.
  • Added “HideFileNames”=dword:00000000 to [...\TopViews\{00000000-0000-0000-0000-000000000000}]
    -I like to see all stuff:)
  • Save and import file.
  • Deleted all subkeys in [HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags] except for “AllFolders”.
  • Right click on Bags -> Permissions -> Advanced, Add “Deny Create Subkey” to [username].
  • Open Task Manager, kill all explorer instances, File->New Task->explorer.

Thursday, June 17, 2010

Tips for iPad

1)Khởi động lại máy:

Đây cũng là một trong những điều đơn giản nhất mà không nhiều người dùng iPad và cả iPhone không biết! Để thực hiện việc này, bạn chỉ đơn giản nhấn, giữ đồng thời 2 nút nguồn và home trong vài giây là được. Còn để thoát khỏi một ứng dụng đang treo, mãy giữ phím home trong vài giây.


2)Cắt, copy và dán:





Khi chạm vào 1 từ 2 lần liên tiếp sẽ làm xuất hiện 2 thanh điều hướng nhỏ màu xanh cho phép bạn copy dễ dàng. Nhưng nếu đoạn văn quá dài thì bạn phải làm sao? Chẳng lẽ phải kéo 2 thanh này cho đến hết ah? Không, bạn chỉ cần chạm liên tiếp 4 lần là toàn bộ đoạn văn sẽ được đánh dấu để sẵn sàng cho việc sao chép.


3)Đọc những quyển sách của bạn:



Thay vì phải bỏ tiền ra mua những quyển sách từ kho ứng dụng của Apple, bạn chỉ cần đưa những quyển sách này vào iTunes rồi đồng bộ hóa nó với iPad là được. iPad hiện mới chỉ cho đưa các file epub ở ngoài vào. Cách chuyển file qua định đạng epub và gỡ bỏ DRM bạn có thể xem ở topic này.


4)Tắt âm lượng:
Trong khi iPhone có 1 phím gạt cho phép đưa máy về chế độ im lặng thì iPad không hề có. Để làm điều này một cách nhanh chóng, bạn nhấn và giữ nút giảm âm lượng trong khoảng 2 giây.

Nếu như thiệt thòi về phím im lặng thì iPad lại có thêm phím tắt cảm biến chuyển động. Khi gạt nút này, màn hình iPad sẽ không tự động xoay theo hướng cầm máy nữa. Đây là một tính năng rất hữu ích nếu bạn sử dụng máy khi đang nằm.


5)Không cần phải mua khung ảnh số:



Thay vì phải mua riêng 1 khung ảnh số, bạn có thể dùng màn hình tuyệt đẹp của iPad để thay thế. Khi ở màn hình khóa máy, bạn sẽ thấy có một biểu tượng bông hoa nhỏ ngay cạnh dòng chữ slide to unlock. Bấm vào đó là iPad sẽ tự động trình diễn những hình ảnh trong bộ sưu tập của bạn. Tốc độ chuyển hình có thể điều chỉnh trong phần Setting, bạn cũng có thể điều chỉnh 1 số hiệu ứng tại đây nhưng nên tắt cái "zoom in on faces" đi.


6)Chụp ảnh màn hình:
Cũng là một tính năng mà không nhiều người dùng iPhone biết. Chỉ việc nhấn phím home và nguồn trong khoảng nửa giây là được. Hình ảnh chụp lại sẽ được lưu trong phần photo library.


7)Trở về đầu trang web một cách nhanh chóng:
Thay vì phải cuộn ngược trở lên để đọc những nội dung ở đầu trang web, bạn chỉ cần chạm vào thành title bar là iPad sẽ tự động đưa bạn về đầu trang ngay.


8)Xem trước nội dụng email nhiều hơn:



iPhone cũng có tùy chọn này nhưng màn hình quá bé của nó làm cho tính năng này không thực sự hữu ích. Ở iPad, hãy vào Setting>Mail, Contact and Calendar>Preview và chọn 5 dòng. Khi này, bạn sẽ thấy email của mình được hiện thị 5 dòng đầu tiên thay vì 2 dòng như trước nữa.

Ngoài ra, bạn cũng nên bật tính năng Push email lên nếu muốn nhận email nhanh hơn. Tất nhiên, tùy chọn này sẽ làm máy bạn tốn pin hơn nhiều.


9)Mở bàn phím ảo lên:
Khi kết nối bàn phím Bluetooth với iPad, bàn phím ảo sẽ tự động bị tắt đi. Tuy vậy, trong một số trường hợp cần đến bàn phím ảo thì bạn phải làm sao? Chẳng lẽ lại phải tắt Bluetooth đi ah? Không cần đâu, chỉ đơn giản bấm phím Eject trên bàn phím Bluetooth là được mà.


10)Đừng cố thử xem những video 1080p.



iTunes sẽ không bao giờ cho phép bạn đưa những video này vào iPad đâu nên dừng cố thử làm gì. Thay vì đó hãy sử dụng một vài chương trình như Handbrake giảm chúng xuống độ phân giải 720p thôi.


11)Bổ sung thêm 2 ứng dụng nữa vào thanh bottom.




Ở thiết lập mặc định, iPad cũng như iPhone chỉ hỗ trợ 4 biểu tượng chương trình trên thanh Bottom tray. Tuy vậy, bạn có thể bổ sung thêm bằng cách nhấn và giữ chương trình mình muốn bổ sung rồi kéo chúng xuống là được. Việc này giống hệt như cách sắp xếp các biểu tượng chương trình trên iPhone vậy.


theo tinhte