?? readme.wzd
字號:
/////////////////////////////////////////////////////////////////////
// Example files...
/////////////////////////////////////////////////////////////////////
WzdBtmap.cpp -- a bitmap class which reads a file and creates a bitmap
WzdBtmap.h
/////////////////////////////////////////////////////////////////////
// Modify any class with a window.
/////////////////////////////////////////////////////////////////////
// 1) embed the bitmap in the class
CWzdBitmap m_bitmap;
// 2) load bitmap, typically when processing the window's WM_CREATE message
m_bitmap.LoadBitmapEx(IDB_WZD,TRUE);
// 3) draw bitmap
// get bitmap colors
CPalette *pOldPal = pDC->SelectPalette(m_bitmap.GetPalette(),FALSE);
pDC->RealizePalette();
// get device context to select bitmap into
CDC dcComp;
dcComp.CreateCompatibleDC(pDC);
dcComp.SelectObject(&m_bitmap);
// draw bitmap
// reselect old palette
pDC->SelectPalette(pOldPal,FALSE);
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1998 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -