|
// *********************************************************
// 選択した行の文字列を取得
// 戻り値 : 取得した文字列の長さ
// 戻り値 : エラーの場合は -1
// *********************************************************
int LboxCombobox::SelectedGetText( LboxString *LString )
{
int ret,nIndex;
nIndex = LboxCombobox::SelectedRow();
if ( nIndex == -1 ) {
return -1;
}
ret = LboxCombobox::GetText( nIndex, LString );
if ( ret == -1 ) {
return -1;
}
return ret;
}
| |