This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

23
Windows/Control/ComboBox.cpp Executable file
View File

@@ -0,0 +1,23 @@
// Windows/Control/ComboBox.cpp
#include "StdAfx.h"
#include "Windows/Control/ComboBox.h"
#include "Windows/Defs.h"
namespace NWindows {
namespace NControl {
int CComboBox::GetLBText(int index, CSysString &string)
{
string.Empty();
int aLength = GetLBTextLen(index);
if (aLength == CB_ERR)
return aLength;
aLength = GetLBText(index, string.GetBuffer(aLength));
string.ReleaseBuffer();
return aLength;
}
}}