You’ll notice that they are both selected.

(Note that you might select a button again to deselect it.)

I don’t find cascading or stacking very useful, but side-by-side is something I use quite often.

How to Select Multiple Windows on the Taskbar

Note: This should work fine in Windows XP even though the screenshots are from Vista.

taskbar4

tiled

Windows