I've tried, the compiler produce an error: non-standard syntax; use '&' to create a pointer to member. Actually, testwindow.clear should have already been a pointer, weird complier, I've met several times before.
yeah, I've tried that too, for instance: RefreshScreen(testwindow.clear(0)). Neither of them would compile. Actually, testwindow.clear(0) yields a value, which is void here, not a pointer, as you know.