CTResource::SetName
Declaration
void CTResource::SetName(const CTString& name);
Description
Sets the resource name.
Return
None.
Example
if (hRes->GetName() != "MyResource")
hRes->SetName("MyResource");
See Also
CTResource::Add(), CTResource::Delete(), CTResource::Update(), CTResource::First(), CTResource::Next(), CTResource::Find(), CTResource::GetType(), CTResource::SetType(), CTResource::GetNumber(), CTResource::SetNumber(), CTResource::GetName(), CTResource::GetDataLength(), CTResource::GetData(), CTResource::SetData(), CTResource::Unlock(), CTResource::IsLocked()