pictureskim.cpp
来自「基于EVC开发的图片集文件浏览和图片浏览为一体的程序」· C++ 代码 · 共 35 行
CPP
35 行
// PictureSkim.cpp : implementation file
//
#include "stdafx.h"
#include "PicImg.h"
#include "PictureSkim.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// PictureSkim message handlers
BOOL PictureSkim::OnInitDialog()
{
m_format.clear(); //把上一次加入的字符串去掉
i = 0; //把变量设为0
//先要把格式确定好了才能够进行判断.
SetFormat(".bmp");
SetFormat(".jpg");
SetFormat(".png");
SetFormat(".gif");
//把对应的图标设为TRUE
iconflag[2] = TRUE;
//调用父类的初始化函数
FileScan::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?