Pointers to non-static member functions are a unique beast with unique calling syntax.
Calling those functions require you to supply not just named parameters, but also a this
pointer, so you must have the Box
pointer handy that will be used as this
.
(box->*h)(xPos, yPos, width, height);