CRichEditCtrl::GetFirstVisibleLine
Bu en üstte görünen satır belirler CRichEditCtrl nesnesi.
int GetFirstVisibleLine( ) const;
Dönüş Değeri
Bu görünen bir üst satırın sıfır tabanlı dizini CRichEditCtrl nesnesi.
Notlar
Daha fazla bilgi için bkz: EM_GETFIRSTVISIBLELINE , Windows SDK.
Örnek
int nFirstVisible = m_myRichEditCtrl.GetFirstVisibleLine();
// Scroll the rich edit control so that the first visible line
// is the first line of text.
if (nFirstVisible > 0)
{
m_myRichEditCtrl.LineScroll(-nFirstVisible, 0);
}
Gereksinimler
Başlık: afxcmn.h