Jump to content

[HowTo] add Hibernate button


mazin

Recommended Posts

post-12365-1153658364_thumb.jpg

Open msgina.dll in Resource Hacker. Go to: Dialog -- > 20100 --> 1033

1- Hide Dialog. (to see the whole text clearly)

2- Replace all text there with this in the quote box below.

3- Compile Script.

4- File --> Save.

5- Close Resource Hacker.

6- Re-cab msgina.dll (makecab msgina.dll)

7- Replace the original msgina.dl_ with the newly cabbed one.

You are done!

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 "", 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

CONTROL "&Hibernate", 20106, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 103, 40, 12

}

Link to comment
Share on other sites


Hi,

You can also install MS Hotfix KB875506 and add a new registry setting:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\Shutdown]
"ShowHibernateButton"=dword:00000001

This hotfix has an updated MSGINA.DLL which allows for all four buttons to appear on the signoff dialog.

Some OEM PC's ship this update (I have seen it on some Sony PC's for example) so it's available out there.

This hotfix should be available from the usual online sources.

Kind Regards

Simon

Edited by PsiMoon314
Link to comment
Share on other sites

Thanks for a push in right direction, chhers :D

worked perfect for me! thanks, i was hoping you'd post how to do this lol :)

shutdownky7.png

Well u enter res hacker - go to BITMAP - and change them with bitmaps of same size, but of your liking

* the icons are placed in BITMAP-->20150 dir

Link to comment
Share on other sites

@ PsiMoon314

I downloaded and installed WindowsXP-KB875506-v2-x86-ENU (5.1.2600.2833) on a system with original msgina.dll (5.1.2600.2180).

I applied the reg file as in your post.

Thanks.

post-12365-1154730638_thumb.jpg

Edited by mazin
Link to comment
Share on other sites

I tried to hack script for displaying this (all 4 buttons) but haven't succeded, so I will use patch and reg/ Thanks

I can't find MS Hotfix KB875506, can u post a link?

I tried to look but I can't find it either, if anyone could post it thanks

Link to comment
Share on other sites

  • 2 weeks later...

i might be a little wrong here. but i have a problem with changing buttons.

i know how to supstitute the buttons and make them work just find.

EXCEPT for one little thing.

my Standby button displays with hover effect without doing anything. i never get to see it in"normal condition".

did i do something wrong? or is this normal?

perhaps it has to do with the 10th button. the button that is at the bottom of all, and looks blueish.

what do i have to do with it?

do i have to watch for the color settings (256 colors)?

for the size of the bitmaps?

what could be the problem and what is the matter with the one button????

would be glad to get help with that!!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...