Help - Search - Members - Calendar
Full Version: msgina.dll
MSFN Forums > Customizing Windows and Graphics > Customizing Windows

   
Google Internet Forums Unattended CD/DVD Guide
dienkhung
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
ceerp
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.
dienkhung
tx alot, my bad i meant the shutoff screen not the logoff screen
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.