uses Windows;
procedure DoAction(Action: Integer; ActionStr: String);
begin
Form1.Memo1.Lines.Add(Format('%5d %s', [GetSystemMetrics(Action), ActionStr]));
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Memo1.Font.Name := 'Consolas';
Memo1.Clear;
DoAction(SM_ARRANGE ,'SM_ARRANGE');
DoAction(SM_CLEANBOOT ,'SM_CLEANBOOT');
DoAction(SM_CMONITORS ,'SM_CMONITORS');
DoAction(SM_CMOUSEBUTTONS ,'SM_CMOUSEBUTTONS');
DoAction(SM_CONVERTIBLESLA]"]>BlockedDE ,'SM_CONVERTIBLESLA]"]>BlockedDE');
DoAction(SM_CXBORDER ,'SM_CXBORDER');
DoAction(SM_CXCURSOR ,'SM_CXCURSOR');
DoAction(SM_CXDLGFRAME ,'SM_CXDLGFRAME');
DoAction(SM_CXDOUBLECLK ,'SM_CXDOUBLECLK');
DoAction(SM_CXDRAG ,'SM_CXDRAG');
DoAction(SM_CXEDGE ,'SM_CXEDGE');
DoAction(SM_CXFIXEDFRAME ,'SM_CXFIXEDFRAME');
DoAction(SM_CXFOCUSBORDER ,'SM_CXFOCUSBORDER');
DoAction(SM_CXFRAME ,'SM_CXFRAME');
DoAction(SM_CXFULLSCREEN ,'SM_CXFULLSCREEN');
DoAction(SM_CXHSCROLL ,'SM_CXHSCROLL');
DoAction(SM_CXHTHUMB ,'SM_CXHTHUMB');
DoAction(SM_CXICON ,'SM_CXICON');
DoAction(SM_CXICONSPACING ,'SM_CXICONSPACING');
DoAction(SM_CXMAXIMIZED ,'SM_CXMAXIMIZED');
DoAction(SM_CXMAXTRACK ,'SM_CXMAXTRACK');
DoAction(SM_CXMENUCHECK ,'SM_CXMENUCHECK');
DoAction(SM_CXMENUSIZE ,'SM_CXMENUSIZE');
DoAction(SM_CXMIN ,'SM_CXMIN');
DoAction(SM_CXMINIMIZED ,'SM_CXMINIMIZED');
DoAction(SM_CXMINSPACING ,'SM_CXMINSPACING');
DoAction(SM_CXMINTRACK ,'SM_CXMINTRACK');
DoAction(SM_CXPADDEDBORDER ,'SM_CXPADDEDBORDER');
DoAction(SM_CXSCREEN ,'SM_CXSCREEN');
DoAction(SM_CXSIZE ,'SM_CXSIZE');
DoAction(SM_CXSIZEFRAME ,'SM_CXSIZEFRAME');
DoAction(SM_CXSMICON ,'SM_CXSMICON');
DoAction(SM_CXSMSIZE ,'SM_CXSMSIZE');
DoAction(SM_CXVIRTUALSCREEN ,'SM_CXVIRTUALSCREEN');
DoAction(SM_CXVSCROLL ,'SM_CXVSCROLL');
DoAction(SM_CYBORDER ,'SM_CYBORDER');
DoAction(SM_CYCAPTION ,'SM_CYCAPTION');
DoAction(SM_CYCURSOR ,'SM_CYCURSOR');
DoAction(SM_CYDLGFRAME ,'SM_CYDLGFRAME');
DoAction(SM_CYDOUBLECLK ,'SM_CYDOUBLECLK');
DoAction(SM_CYDRAG ,'SM_CYDRAG');
DoAction(SM_CYEDGE ,'SM_CYEDGE');
DoAction(SM_CYFIXEDFRAME ,'SM_CYFIXEDFRAME');
DoAction(SM_CYFOCUSBORDER ,'SM_CYFOCUSBORDER');
DoAction(SM_CYFRAME ,'SM_CYFRAME');
DoAction(SM_CYFULLSCREEN ,'SM_CYFULLSCREEN');
DoAction(SM_CYHSCROLL ,'SM_CYHSCROLL');
DoAction(SM_CYICON ,'SM_CYICON');
DoAction(SM_CYICONSPACING ,'SM_CYICONSPACING');
DoAction(SM_CYKANJIWINDOW ,'SM_CYKANJIWINDOW');
DoAction(SM_CYMAXIMIZED ,'SM_CYMAXIMIZED');
DoAction(SM_CYMAXTRACK ,'SM_CYMAXTRACK');
DoAction(SM_CYMENU ,'SM_CYMENU');
DoAction(SM_CYMENUCHECK ,'SM_CYMENUCHECK');
DoAction(SM_CYMENUSIZE ,'SM_CYMENUSIZE');
DoAction(SM_CYMIN ,'SM_CYMIN');
DoAction(SM_CYMINIMIZED ,'SM_CYMINIMIZED');
DoAction(SM_CYMINSPACING ,'SM_CYMINSPACING');
DoAction(SM_CYMINTRACK ,'SM_CYMINTRACK');
DoAction(SM_CYSCREEN ,'SM_CYSCREEN');
DoAction(SM_CYSIZE ,'SM_CYSIZE');
DoAction(SM_CYSIZEFRAME ,'SM_CYSIZEFRAME');
DoAction(SM_CYSMCAPTION ,'SM_CYSMCAPTION');
DoAction(SM_CYSMICON ,'SM_CYSMICON');
DoAction(SM_CYSMSIZE ,'SM_CYSMSIZE');
DoAction(SM_CYVIRTUALSCREEN ,'SM_CYVIRTUALSCREEN');
DoAction(SM_CYVSCROLL ,'SM_CYVSCROLL');
DoAction(SM_CYVTHUMB ,'SM_CYVTHUMB');
DoAction(SM_DBCSENABLED ,'SM_DBCSENABLED');
DoAction(SM_DEBUG ,'SM_DEBUG');
DoAction(SM_DIGITIZER ,'SM_DIGITIZER');
DoAction(SM_IMMENABLED ,'SM_IMMENABLED');
DoAction(SM_MAXIMUMTOUCHES ,'SM_MAXIMUMTOUCHES');
DoAction(SM_MEDIACENTER ,'SM_MEDIACENTER');
DoAction(SM_MENUDROPALIGNMENT ,'SM_MENUDROPALIGNMENT');
DoAction(SM_MIDEASTENABLED ,'SM_MIDEASTENABLED');
DoAction(SM_MOUSEPRESENT ,'SM_MOUSEPRESENT');
DoAction(SM_MOUSEHORIZONTALWHEELPRESENT,'SM_MOUSEHORIZONTALWHEELPRESENT');
DoAction(SM_MOUSEWHEELPRESENT ,'SM_MOUSEWHEELPRESENT');
DoAction(SM_NETWORK ,'SM_NETWORK');
DoAction(SM_PENWINDOWS ,'SM_PENWINDOWS');
DoAction(SM_REMOTECONTROL ,'SM_REMOTECONTROL');
DoAction(SM_REMOTESESSION ,'SM_REMOTESESSION');
DoAction(SM_SAMEDISPLAYFORMAT ,'SM_SAMEDISPLAYFORMAT');
DoAction(SM_SECURE ,'SM_SECURE');
DoAction(SM_SERVERR2 ,'SM_SERVERR2');
DoAction(SM_SHOWSOUNDS ,'SM_SHOWSOUNDS');
DoAction(SM_SHUTTINGDOWN ,'SM_SHUTTINGDOWN');
DoAction(SM_SLOWMACHINE ,'SM_SLOWMACHINE');
DoAction(SM_STARTER ,'SM_STARTER');
DoAction(SM_SWAPBUTTON ,'SM_SWAPBUTTON');
DoAction(SM_SYSTEMDOCKED ,'SM_SYSTEMDOCKED');
DoAction(SM_TABLETPC ,'SM_TABLETPC');
DoAction(SM_XVIRTUALSCREEN ,'SM_XVIRTUALSCREEN');
DoAction(SM_YVIRTUALSCREEN ,'SM_YVIRTUALSCREEN');
end;