dienkhung
May 12 2005, 03:46 PM
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
May 12 2005, 06:16 PM
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
May 12 2005, 06:19 PM
tx alot, my bad i meant the shutoff screen not the logoff screen