Jump to content

Recommended Posts

Posted

within this logoff window,

is there anyway to move the shutoff - standby - restart buttons?

i need to relocate them, move these buttoms a bit lower.

any tips would be very helpful

thankyou


Posted

msgina.dll is the dll where the shutdown dialog lives. The logoff dialog is in shell32.dll.

Anyway, if you open msgina.dll in ResHacker and select the very last dialog (20100), you'll see the shutdown dialog and the code that goes along with it.

There are lines for Turn Off, Restart and Stand By that look like the following:

CONTROL "T&urn Off", 20103, BUTTON, BS_OWNERDRAW | BS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 49, 22, 19

If you are only interested in moving the buttons down, then it's the 49 in the above line that you have to change. Alternatively you can click and drag the buttons around.

Remember to compile the script before saving the new file.

You may have to move the text down as well. This could be line starting CONTROL "" but I'm not sure. If you use Resource Tuner to edit the dialog box then the texts show up as boxes that can be moved.

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