You cannot define custom messages in ATL, as in MFC, because the concept of MSG map is not in standard ATL, and if you are doing ActiveX, you can give msg to Windows.
ATL provides begin_message_map a class of macros:
First, define the message ID:
1, click the Start menu, and then enter CMD in the search and right click the search results "to run as Administrator";
2, open the command prompt, enter the command regsvr32 xxx.ocx xxx.ocx representative path and file name, such as in D disk,
installer. How to install ...? * Ocx file* Visual Basic System Files* Visual c ++ system files (such as MFC)* Comctl32.dll* BDE (borland database engine)* MDAC, ADO, and Jet Compatibility * Operating system compatibility* Windows NT/2000/XP Administrator privilege Miscellaneous * How many file restrictions does the installation program have?* What happens after you click "cancel" during installation?
:\Program files\ go \dllimport", so you need to correct the value of their destination install to "%systemfolder%", can be modified in batches, The method is to select multiple DLLs, right-click, and then properties, tap the pen button: Answer 2 :all the Used DLL and the OCX All need a sentence to register manually, or install good Setup After you start the program, a variety of exceptions occur. The following is the registration code for the secon
Software operation problem solving highlights
One of the software running problems: the prompt component 'comdlg32. ocx' or one of its accessories cannot be used correctly: a file is lost or invalid. Or: component 'comdlg32. ocx' or one of its Dependencies not correctly registered: a file is missing or invalid.Cause and solution: the ocx file-comdlg32.
Hillin's fontview provides powerful font browsing and management functions to replace the built-in font browser in windows.
The latest version is 1.1.58. You can download it from here.
If the prompt "comctl32.ocx" cannot be found during running, download it from here. After downloading and decompressing the package, right-click the comctl32.inf file and select "I
This article is only a preliminary document and will not be notified of any changes.
Summary:This document describes how to use Microsoft Windows XP to complete common tasks that are required to apply a visual style to an application.Directory
Introduction
Comctl32.dll version 6
Visual style task
Use comctl32.dll 6 in applications that do not use third-party extensions
Use
Directory
Introduction
ComCtl32.dll version 6
Visual style task
Use ComCtl32.dll 6 in applications that do not use third-party extensions
Use ComCtl32 6 in applications that use extensions, plug-ins, or in-process DLL
Use ComCtl32 6 in the control panel or in the DLL running through RunDll32.exe
Apply the sty
The next content is that I reship somebody's article.
Universal control initialization comctl32.dllThis is a problem that I accidentally thought of when I was reading a source code. After some research, I have posted the result and hope it will be helpful to those who are interested.Initcommoncontrols and initcommoncontrolsexSince Win95, Windows has provided some new Win32 controls, called universal controls. for example, toolbar, status bar, Tree Vie
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.