To add to tinmann's post, the form factor (mATX) is what makes the determination. That is to say, all ATX cases can house any ATX mobo, as well as any mATX mobo. However, mATX cases can only house mATX mobos, as the standard ATX mobo is too long.
The difference between form factors, in a nutshell, would be the orientation of the I/O panel. For example, an ATX mobo, when looking at the back, will have the I/O panel at the left side of the mobo. Whereas a BTX mobo will have the I/O panel at the right. As you might guess, that's also what differentiates an ATX case from a BTX case.
If reusing old parts, ensure that the mobo supports the technology's generation. For example, if reusing DDR2 RAM, ensure that your mobo supports DDR2. This is important because DDR3 and DDR2 both have a 240-pin layout, but the gap between the pins is not in the same place.