Enable HIBERNATE Button in Shutdown Dialog Box in Windows XP



Guys

In Windows XP "Hibernate" button is not visible in Shutdown dialog box but when we press <SHIFT> key, it appears in place of "Stand By" button. Its strange and many people want to show it always in shutdown dialog box. So here I'll tell you a way to always show Hibernate button in shutdown dialog box:

1.) Open %windir%\system32\msgina.dll file into Resource Hacker.

2.) Goto Dialog -> 20100 -> 1033.

3.) If you want the following look (Hibernate button at bottom-center) :

Download following text file, open it and copy the whole contents then replace existing code with the copied code:

hibernate_at_bottom_code.txt

4.) OR if you want following look (Hibernate button in the same row of other items) :

Download following text file, open it and copy the whole contents then replace existing code with the copied code:

hibernate_same_row_code.txt

PS: Pressing <SHIFT> key will still work.

Complete list of AskVG articles



This article was posted in Resource Hacker, Windows XP.


Share |


Related Articles

Popular Articles



36 Comments

  • VG

    ^^ Thats the same dialog box which you are talking about. You can customize it to change look of Shutdown dialog box.

  • Sir, Can you please post the original code to reverse it.Because I forgot to make a backup copy of the original code.

  • VG

    ^^ Here is the original code:

    20100 DIALOGEX 0, 0, 208, 122
    STYLE DS_SYSMODAL | DS_SETFOREGROUND | WS_POPUP | WS_BORDER
    CAPTION ""
    LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    FONT 8, "MS Shell Dlg"
    {
    CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 161, 103, 40, 12
    CONTROL "Flag", 20101, STATIC, SS_OWNERDRAW | WS_CHILD | WS_VISIBLE, 176, 0, 32, 26
    CONTROL "Turn off computer", 20102, STATIC, SS_OWNERDRAW | WS_CHILD | WS_VISIBLE, 7, 0, 162, 26
    CONTROL "&Stand By", 20104, BUTTON, BS_OWNERDRAW | BS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 36, 49, 22, 20
    CONTROL "T&urn Off", 20103, BUTTON, BS_OWNERDRAW | BS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 49, 22, 20
    CONTROL "&Restart", 20105, BUTTON, BS_OWNERDRAW | BS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 150, 49, 22, 20
    CONTROL "&Hibernate", 20106, BUTTON, BS_PUSHBUTTON | BS_NOTIFY | WS_CHILD | WS_VISIBLE, 30093, 30049, 22, 20
    CONTROL "", 20108, STATIC, SS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_DISABLED, 22, 73, 50, 8
    CONTROL "", 20107, STATIC, SS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_DISABLED, 79, 73, 50, 8
    CONTROL "", 20109, STATIC, SS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_DISABLED, 136, 73, 50, 8
    }

  • Sir the hibernate button is not working.It's just greyed out in shut down dialog box.

  • VG

    ^^ It seems VGA drivers are not installed in your system. Try to install latest drivers for your graphics card.

  • Thanks a lot ! Got it right.

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.