Phew... that what was tough. Don't be frustrated if you did not get it after the first reading. Just read it again, and even better, try to run included example code.

One of the first questions you may ask, after reading this, would be: why should I bother using this if there are already Win32::GuiTest functions for manipulating List View? The answer is: you shouldn't. Existing Win32::GuiTest functions work pretty well, so there is no need to reinvent the wheel. I used List View in my example, because it is commonly available control, so any one can experiment with this.

You should consider using the method described above if you would like to send some less common messages to common controls. Or if you have a control from a third party (like winwidgets for example).