The sysinfo.rex sample program included with the distributions is an excellent example of using Windows Management Interface (WMI) to glean information on the user's system; however, it may leave the user wondering if anything is "happening".
Some of the choices take a few seconds to populate the dialog thus giving the appearance that nothing is happening. This is especially true when gathering the services and processes.
The goal of this patch is to remove any doubt that "something" is happening.
What this patch does:
Prior to populating the dialog the size and position of the dialog is recorded along with the current cursor shape.
During the population, the cursor is changed to the "hour glass" shape and placed in the center of the dialog being populated.
Once the population is completed, the cursor is restored to its original shape AND position.