• Win32:编辑框冒泡


    #include <commctrl.h >

    #pragma comment(linker,"\"/manifestdependency:type='win32' \
    name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
    processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")

    // put this call in WinMain() or elsewhere

    //InitCommonControls();

    Please, PLEASE change the samples in the article to processorArchitecture="*" instead of "processorArchitecture="X86"" because processorArchitecture="X86" works on x64 sometimes - just enough to miss it during testing but failing very badly in production deployment.

    =》

    #pragma comment(linker,"\"/manifestdependency:type='win32' \
    name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
    processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'\"")

    ZeroMemory(&Data.Tip, sizeof(EDITBALLOONTIP));
       Data.Tip.cbStruct = sizeof(EDITBALLOONTIP);
       Data.Tip.ttiIcon = TTI_ERROR;

    //Edit_ShowBalloonTip(hWnd,&Data.Tip );
         ::SendMessage(hWnd, EM_SHOWBALLOONTIP, 0, (LPARAM)&Data.Tip);

  • 相关阅读:
    【数据结构】KMP算法
    【数据结构】银行问题
    ejs模板渲染页面
    node的知识点
    http搭建服务器
    http接收页面传递的数据
    http模块
    node的http模块
    node的fs模块
    base.css
  • 原文地址:https://www.cnblogs.com/shenchao/p/3121483.html
Copyright © 2020-2023  润新知