⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changeonthefly.cpp

📁 BCAM 1394 Driver
💻 CPP
字号:
//-----------------------------------------------------------------------------
//  (c) 2002 by Basler Vision Technologies
//  Section:  Vision Components
//  Project:  BCAM
//  $Header: ChangeOnTheFly.cpp, 2, 19.09.2002 15:16:07, Nebelung, H.$
//-----------------------------------------------------------------------------
/**
  \file     ChangeOnTheFly.cpp
  \brief    Main source file for ChangeOnTheFly.exe
*/

#include "stdafx.h"

#include "resource.h"

#include "MainFrame.h"
#include "BitmapView.h"

//! The one and only application module
CAppModule _Module;

//! The function running the message loop
int Run(LPTSTR /*lpstrCmdLine*/ = NULL, int nCmdShow = SW_SHOWDEFAULT)
{
  CMessageLoop theLoop;
  _Module.AddMessageLoop(&theLoop);
  
  CMainFrame wndMain;
  
  HANDLE hRes = wndMain.CreateEx();
  ATLASSERT(hRes != NULL);
  
  wndMain.ShowWindow(nCmdShow);
  
  int nRet = theLoop.Run();
  
  _Module.RemoveMessageLoop();
  return nRet;
}

//! Windows entry function
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPTSTR lpstrCmdLine, int nCmdShow)
{
  
  ::InitCommonControls();
  
  long hRes = _Module.Init(NULL, hInstance);
  ATLASSERT(SUCCEEDED(hRes));
  
  int nRet = Run(lpstrCmdLine, nCmdShow);
  
  _Module.Term();
  
  return nRet;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -