V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lonelyparasol
V2EX  ›  Windows

求助,窗体的 Combox 设置了 LVS_EX_CHECKBOXES,用 SendMessage 设置下拉选项失效

  •  
  •   lonelyparasol · Oct 11, 2019 · 3124 views
    This topic created in 2394 days ago, the information mentioned may be changed or developed.

    通常的 ComBox 都可以使用 SendMessage(H, CB_GETCURSEL, 0, 0)、SendMessage(H, CB_SETCURSEL, nIndex, 0)方法来获取当前选中项和设置选中项,我添加了 LVS_EX_CHECKBOXES 把下拉选项变成了复选下拉框,然后设置就 SendMessage 就失效了,请问有什么方法解决吗?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1186 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:20 · PVG 01:20 · LAX 10:20 · JFK 13:20
    ♥ Do have faith in what you're doing.