Leaked source code of windows server 2003
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.2 KiB

  1. /*--------------------------------------------------------------------------*
  2. *
  3. * Microsoft Windows
  4. * Copyright (C) Microsoft Corporation, 1999 - 1999
  5. *
  6. * File: childfrm.inl
  7. *
  8. * Contents: Inline functions for CChildFrame class.
  9. *
  10. * History: 24-Aug-99 jeffro Created
  11. *
  12. *--------------------------------------------------------------------------*/
  13. #ifndef CHILDFRM_INL
  14. #define CHILDFRM_INL
  15. #pragma once
  16. /*+-------------------------------------------------------------------------*
  17. * CChildFrame::ScSetStatusText
  18. *
  19. *
  20. *--------------------------------------------------------------------------*/
  21. inline SC CChildFrame::ScSetStatusText (LPCTSTR pszText)
  22. {
  23. AFX_MANAGE_STATE (AfxGetAppModuleState());
  24. m_strStatusText = pszText;
  25. UpdateStatusText ();
  26. return (SC());
  27. }
  28. /*+-------------------------------------------------------------------------*
  29. * CChildFrame::UpdateStatusText
  30. *
  31. *
  32. *--------------------------------------------------------------------------*/
  33. inline void CChildFrame::UpdateStatusText ()
  34. {
  35. SendMessage (WM_SETMESSAGESTRING, AFX_IDS_IDLEMESSAGE);
  36. }
  37. #endif /* CHILDFRM_INL */