mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 04:11:37 -06:00
3.13
This commit is contained in:
23
Windows/Control/ComboBox.cpp
Executable file
23
Windows/Control/ComboBox.cpp
Executable 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;
|
||||
}
|
||||
|
||||
|
||||
}}
|
||||
Reference in New Issue
Block a user