Dripping water and stone-use vc6.0 + ado database programming to help the steamed stuffed bun to finish the harvest of the Management System

Source: Internet
Author: User

1. If you want to set the visiable of a control to false and re-display the control after a condition is met, you only need:
If (...) // meets certain conditions
{
GetDlgItem (IDC _...)-> ShowWindow (SW_SHOWNORMAL );
}
2. If you want to modify the application software Icon, you can replace the MFC. ico file in the res folder with the expected icon.
3. When creating an application, select "as a statically linked library" to use it without installation.
4. How to add skin to an application:
(1) Add the files "SkinMagicLib. h, SkinMagic. lib and SkinMagic. dll" to the project"
(2) Add "# include SkinMagicLib. h" to stdafx. h"
(3) In stdafx. h, add # pragma comment (lib, "SkinMagic. lib ")
(4) Add the following statement to InitInstance:
VERIFY (1 = InitSkinMagicLib (AfxGetInstanceHandle (), NULL ));
VERIFY (1 = LoadSkinFile ("corona. smf "));
AfxEnableControlContainer ();
SetDialogSkin ("Dialog ");
5. The installation package can be created using installshield. This software is silly and easy to use, as long as you follow the instructions above.

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.