mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
/*--------------------------------------------------------------------------*
|
|
*
|
|
* Microsoft Windows
|
|
* Copyright (C) Microsoft Corporation, 1999 - 1999
|
|
*
|
|
* File: childfrm.inl
|
|
*
|
|
* Contents: Inline functions for CChildFrame class.
|
|
*
|
|
* History: 24-Aug-99 jeffro Created
|
|
*
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifndef CHILDFRM_INL
|
|
#define CHILDFRM_INL
|
|
#pragma once
|
|
|
|
|
|
/*+-------------------------------------------------------------------------*
|
|
* CChildFrame::ScSetStatusText
|
|
*
|
|
*
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
inline SC CChildFrame::ScSetStatusText (LPCTSTR pszText)
|
|
{
|
|
AFX_MANAGE_STATE (AfxGetAppModuleState());
|
|
m_strStatusText = pszText;
|
|
UpdateStatusText ();
|
|
|
|
return (SC());
|
|
}
|
|
|
|
|
|
/*+-------------------------------------------------------------------------*
|
|
* CChildFrame::UpdateStatusText
|
|
*
|
|
*
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
inline void CChildFrame::UpdateStatusText ()
|
|
{
|
|
SendMessage (WM_SETMESSAGESTRING, AFX_IDS_IDLEMESSAGE);
|
|
}
|
|
|
|
|
|
#endif /* CHILDFRM_INL */
|