-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBitrateViewerView.cpp
More file actions
43 lines (34 loc) · 991 Bytes
/
BitrateViewerView.cpp
File metadata and controls
43 lines (34 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// BitrateViewerView.cpp : implementation of the CBitrateViewerView class
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include "BitrateViewerView.h"
BOOL CBitrateViewerView::PreTranslateMessage(MSG* pMsg)
{
pMsg;
return FALSE;
}
LRESULT CBitrateViewerView::OnPaint(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
CPaintDC dc(m_hWnd);
//TODO: Add your drawing code here
return 0;
}
LRESULT CBitrateViewerView::OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
{
m_clInfoPanelDlg.Create(m_hWnd);
m_clInfoPanelDlg.ShowWindow(SW_SHOW);
bHandled = FALSE;
return 0;
}
LRESULT CBitrateViewerView::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
{
bHandled = FALSE;
m_clInfoPanelDlg.DestroyWindow();
return 0;
}
BOOL CBitrateViewerView::Open(LPCTSTR lpszFileName)
{
return m_clInfoPanelDlg.Open(lpszFileName);
}