Call the Windows Properties window (actually called through the registry)

Source: Internet
Author: User

Briefly

Under Windows System. You can view the property information for a file/folder by right-click Properties, including: General, security, details, and so on.

    • Briefly
    • Common types

Common types

First, you need to include the header file:

#include <windows.h>
    • 1

The call is then executed through the win API.

Shellexecuteinfo Shexecinfo = {0}; Shexecinfo. cbsize = sizeof (SHELLEXECUTEINFO); Shexecinfo. fmask = See_mask_invokeidlist ; Shexecinfo. Lpverb = L"Properties"; Shexecinfo. lpfile = L"C:\\Windows\\Regedit.exe"; Shexecinfo. lpparameters = L""; Shexecinfo. lpdirectory = NULL; Shexecinfo. nshow = Sw_show; Shexecinfo. Hinstapp = NULL; ShellExecuteEx (&shexecinfo);               

Of course, you can also customize the form by getting the file information, displaying the information you want on the form.

http://blog.csdn.net/liang19890820/article/details/51822779

Call the Windows Properties window (actually called through the registry)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.