Source code of Windows XP (NT5)
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.

38 lines
661 B

  1. #include "compatadmin.h"
  2. CView::CView()
  3. {
  4. m_hMenu = NULL;
  5. }
  6. BOOL CView::Initialize(void)
  7. {
  8. return TRUE;
  9. }
  10. BOOL CView::Activate(BOOL fNewCreate)
  11. {
  12. // If there's a custom menu with this view, set it.
  13. if (NULL != m_hMenu)
  14. SetMenu(g_theApp.m_hWnd,m_hMenu);
  15. else
  16. SetMenu(g_theApp.m_hWnd,g_theApp.m_hMenu);
  17. // Perform additional initialization here. For instance, adding buttons
  18. // to the toolbar.
  19. return TRUE;
  20. }
  21. BOOL CView::Deactivate(void)
  22. {
  23. // Perform any cleanup required here. For instance, remove any custom entries
  24. // from the toolbar.
  25. return TRUE;
  26. }
  27. void CView::Update(BOOL fNewCreate)
  28. {
  29. }