1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // ClientWnd.cpp : implementation file
- //
- #include "stdafx.h"
- #include "LYFZIPManage.h"
- #include "ClientWnd.h"
- #include "JPEG.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CClientWnd
- CClientWnd::CClientWnd()
- {
- }
- CClientWnd::~CClientWnd()
- {
- }
- BEGIN_MESSAGE_MAP(CClientWnd, CWnd)
- //{{AFX_MSG_MAP(CClientWnd)
- ON_WM_ERASEBKGND()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CClientWnd message handlers
- BOOL CClientWnd::OnEraseBkgnd(CDC* pDC)
- {
- // TODO: Add your message handler code here and/or call default
- return CWnd::OnEraseBkgnd(pDC);
- /* CRect rc;
- GetClientRect(rc);
- CPicture jpg;
- jpg.Load (NULL, MAKEINTRESOURCE(IDR_JPEP1), _T("JPEP"));
- if(jpg.m_pPict ==NULL)return 1;
- jpg.RenderBmp (pDC, rc);
- jpg.UnloadPicture ();*/
- return 1;//CWnd::OnEraseBkgnd(pDC);
- }
|