zoukankan      html  css  js  c++  java
  • 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);

  • 相关阅读:
    JavaScript表单编程
    JavaScript事件模型
    DOM总结
    CSS3 媒体查询响应式布局
    BOM总结
    JS实现文字图片无缝滚动
    深入理解jQuery事件绑定机制
    被你忽略的jQuery常用方法“特异功能”
    关于BOM的学习总结
    Hello,World!
  • 原文地址:https://www.cnblogs.com/shenchao/p/3121483.html
Copyright © 2011-2022 走看看