Which words in the sentence are the complete gerund phrase?

There are a few different ways of hanging curtains or shades on a window.

A.
a few different ways

B.
hanging curtains or shades on a window

C.
curtains or shades on a window

D.
on a window