MSFN Forum: [HowTo] add Hibernate button - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

[HowTo] add Hibernate button to Shutdown dialog box Rate Topic: -----

#1 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 03 August 2006 - 02:21 PM

Posted Image

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!


Quote

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
}



#2 User is offline   prx984 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,091
  • Joined: 22-March 06

Posted 03 August 2006 - 04:53 PM

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

Posted Image

#3 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 August 2006 - 05:24 PM

Cool! :thumbup

Also you can hold the Shift key and it will change Stand By to Hybernate

Posted Image To Posted Image

This post has been edited by ricktendo64: 03 August 2006 - 05:25 PM


#4 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 04 August 2006 - 03:05 AM

Glad you liked it.

CRUSH is the word.

#5 User is offline   PsiMoon314 

  • Junior
  • Pip
  • Group: Members
  • Posts: 73
  • Joined: 09-February 04

  Posted 04 August 2006 - 03:28 AM

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

This post has been edited by PsiMoon314: 04 August 2006 - 03:30 AM


#6 User is offline   Angelico_Payne 

  • Member
  • PipPip
  • Group: Members
  • Posts: 212
  • Joined: 15-January 06

Posted 04 August 2006 - 01:44 PM

Thanks for a push in right direction, chhers :D

View PostCygnus, on Aug 3 2006, 04:53 PM, said:

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

Posted Image


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

#7 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 04 August 2006 - 04:11 PM

@ 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.

Attached File(s)


This post has been edited by mazin: 04 August 2006 - 04:30 PM


#8 User is offline   Angelico_Payne 

  • Member
  • PipPip
  • Group: Members
  • Posts: 212
  • Joined: 15-January 06

Posted 06 August 2006 - 07:24 AM

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?

#9 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 06 August 2006 - 10:53 AM

View PostAngelico_Payne, on Aug 6 2006, 08:24 AM, said:

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

#10 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

  Posted 07 August 2006 - 04:28 AM

take this : ftp://dlsvr01.asus.com/pub/ASUS/nb/W2J/Ho...B_XP_060420.zip :whistle:

This zip-file contains several languages.

#11 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 07 August 2006 - 08:35 PM

works great in french! thanks alot

#12 User is offline   Angelico_Payne 

  • Member
  • PipPip
  • Group: Members
  • Posts: 212
  • Joined: 15-January 06

Posted 08 August 2006 - 04:35 PM

Works superb, tanks again :thumbup

#13 User is offline   2bMe 

  • Group: Members
  • Posts: 1
  • Joined: 23-August 06

Posted 23 August 2006 - 04:39 AM

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!!!!

#14 User is offline   an_talpur 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 27-July 06

Posted 23 August 2006 - 08:19 AM

friends i dunno much about it so canyone please tell me wat is "resource hacker"?

regards
Ali

#15 User is offline   an_talpur 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 27-July 06

Posted 23 August 2006 - 09:09 AM

one more thing wat does cab as u have written dere ? some please help i m confused :S

#16 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 24 August 2006 - 03:01 PM

Resource Hacker 3.4.0: http://www.soft32.co...nload_3568.html

#17 User is offline   prx984 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,091
  • Joined: 22-March 06

Posted 25 August 2006 - 06:23 PM

its too bad that program has ceased development. great little program, iv changed so many icons in different programs.

#18 User is offline   coyotewrw 

  • Junior
  • Pip
  • Group: Members
  • Posts: 98
  • Joined: 10-September 05

Posted 08 September 2006 - 12:09 AM

Any one know how to reshack msgina.dll to replace Standby with Hibernate? I never use Standby, but I use Hibernate all the time.

Unfortunately, I have very little experience reshacking dialogs and prompts, so any help would be much appreciated. :)

I'd like the Shutdown prompt to default to this:

Posted Image

instead of this:

Posted Image

#19 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,230
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 September 2006 - 12:51 AM

Here I made a msgina.dll Patch for you, Folow the Instructions.
"I am not Responsible if it Does Not Work or Breaks your machine"

PATCH UPATED 10/18/06...
PATCH-> Attached File  Patch_msgina.exe (71.46K)
Number of downloads: 140

Posted Image

Note: it will not add the XPized look only the Hybernate Button is all
Works with msgina.dll File Version 5.1.2600.2180

This post has been edited by ricktendo64: 18 October 2006 - 11:42 AM


#20 User is offline   XP_2600 

  • Member
  • PipPip
  • Group: Members
  • Posts: 197
  • Joined: 20-February 03

Posted 15 October 2006 - 06:46 PM

I cant get this Windows update KB:875506 if anyone can upload it to me it gonna be cool, thanks so much.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy