hi, in c# what is a good way to detect notebook going to sleep/waking up I tried IMessageFilter but WM_POWERBROADCAST isn't trapped. thx