addressgrid.cpp

来自「Palm_OS的代码」· C++ 代码 · 共 14 行

CPP
14
字号
// Implementation of Address grid class
#include "Common.h"
#include "AddressGrid.h"

// Returns pointer to item's text
const Char* CAddressGrid::GetItemText(Int16 wAbsoluteRow, Int16
wColumn)
{
	UInt16 wIndex = GetRowID(wAbsoluteRow);
	CDBStream dbs(m_pDatabase->QueryRecord(wIndex));
	dbs >> m_strName >> m_strPhone;

	return (wColumn == 0 ? m_strName : m_strPhone);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?