Deviation Actions

thekustomizer's avatar

graphite_shutdownlogoff

Published:
3K Views
***************************
updated! 06-Jan-2010
- dimming/fading effect bug fixed
- center position of the dialog fixed

feedbacks are welcome from users using 16:10 monitors. (is the dialog centered correctly?)

***************************

graphite log off and shut down dialog.
zip content: msgina.dll and shell32.dll (windows xp pro sp3 english), resource bitmaps, preview image.

- cancel button removed (hit the esc key to close the dialog)

!!! do whatever you want with this, but name the source (me). thank you.


***************************
changed in msgina.dll

dialog 20100

20100 DIALOGEX 0, 0, 164, 124
STYLE DS_SYSMODAL | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | WS_MAXIMIZE | WS_BORDER
EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW
CAPTION "sdd"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 0, ""
{
CONTROL "&Stand By", 20104, BUTTON, BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 10, 144, 32
CONTROL "T&urn Off", 20103, BUTTON, BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 46, 144, 32
CONTROL "&Restart", 20105, BUTTON, BS_OWNERDRAW | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 82, 144, 32
}

+++

bitmap 20142
(use any size and any color, it is just the background color of the dialog)
bitmap 20150 (the buttons)

***************************
changed in shell32.dll

dialog 1089

1089 DIALOGEX 0, 0, 164, 88
STYLE DS_SYSMODAL | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | WS_MAXIMIZE | WS_BORDER
EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW
CAPTION ""
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
CONTROL "&Switch User", 14338, BUTTON, BS_OWNERDRAW | BS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 10, 144, 32
CONTROL "&Log Off", 14339, BUTTON, BS_OWNERDRAW | BS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 46, 144, 32
}

+++

bitmap 14354
(use any size and any color, it is just the background color of the dialog)
bitmap 14356 (the buttons)


+++


to remove the balloon tip onmouseover messages, delete these lines in stringtable 1259, msgina.dll.

20129, "Shuts down Windows so that you can safely turn off the computer."
20130, "Puts your computer in a low-power state so that you can quickly resume your Windows session."
20131, "Puts your computer in a low-power state so that you can quickly resume your Windows session.\n\nTo hibernate instead, hold down the Shift key."
20132, "Shuts down Windows and then starts Windows again."
Comments19
Join the community to add your comment. Already a deviant? Log In
RoadhornProductions's avatar

does not work with xp sp1-2