Win32, Window thread, system suspend
hi,
on Windows OS, when for ex. dragging windows with mouse from it´s title bar, the main window thread is suspended by the system. When mouse is released the thread is resumed. Is there any way to find out how many, for ex. nanoseconds, the thread was suspended during dragging?
Handle the WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE notifications, and record the time between them.
You can also handle the WM_MOVING notification if you want to do something while the window is being moved.
You can also handle the WM_MOVING notification if you want to do something while the window is being moved.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement