TextCtrl -- number of visible lines? ; scrolling?

Two multi-line TextCtrl questions:

(1) How does one determine how many lines a text control, as currently sized, can display?

(2) How does one determine if scrolling has occurred, or, better, is about to occur?