03-04-2006, 02:21 PM
dll kernel32 #SetVolumeLabel $lpRootPathName $lpVolumeName
SetVolumeLabel "c:\" "label" ;;set label
10
SetVolumeLabel "c:\" 0 ;;remove label
def CCHILDREN_TITLEBAR 5
type TITLEBARINFO cbSize RECT'rcTitleBar rgstate[CCHILDREN_TITLEBAR+1]
dll user32 #GetTitleBarInfo hwnd TITLEBARINFO*pti
int h=win("Quick Macros")
RECT r; GetWindowRect h &r ;;save
TITLEBARINFO ti.cbSize=sizeof(TITLEBARINFO)
GetTitleBarInfo h &ti
siz 0 ti.rcTitleBar.bottom-ti.rcTitleBar.top h 1
5
siz 0 r.bottom-r.top h 1 ;;restore