当前位置:首页
> vc 第3页
vc 第3页
创建纯资源 DLL
创建纯资源DLL: 1。首选是动态DLL 2。把需要的资源导入进项目 3。在编译要/NOENTRY 这个选项,Properties-˃configure Properties-˃linker-˃No entery point...…
ATL.SubclassWindow分析
[B]ATL.SubclassWindow分析[/B] [template BOOL CWindowImplBaseT::SubclassWindow(HWND hWnd) { BOOL result; ATLASSUME(m_hWnd == NULL); ATLASSERT(::IsWi…
WM_DESTROY与WM_CLOSE
由于wce中,要重写wtl的CFrameWindow,然后采用CWindowImpl去实现View,view里面加入了函数: 并加入CWindowImpl实现的CButton成员函数: CMYButton m_btn1; ...…
使用虚列表和自画实现文件夹的缩略图显示
预备性阅读在阅读本文之前,建议先对列表视图控件和系统外壳有一个基本的了解。建议阅读以下SDK文章 Shell FAQ List-View Controls Overview...…
atl CSimpleArray
// This is a part of the Active Template Library.// Copyright (C) Microsoft Corporation// All rights reserved.//// This source code is only intended a…
第一个win32程序
#include "stdafx.h" LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstatn…
vc中error LNK2001:unresolved external symbol _WinMain@16的解决方法
一,问题描述error LNK2001: unresolved external symbol _WinMain@16debug/main.exe:fatal error LNK 1120:1 unresolved externals error executing link.exe;二,产生这个问…
模态对话框和非模态对话框的区别
模态对话框就是指那种:显示出来就不可以点选位于其下面的对话框的对话框;反之的就是非模态对话框。 两者的区别:一. 非模态对话框的模板必须具有Visible风格(Visible=True),否则对话框将不可见,而模态对话框则无需设置该项风格。在实际编程中更加保险的办法是调用CWnd::ShowWind…