Community
    • Login

    C++-plugin, combobox-drop-down-list not display her items

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 308 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MarioRosiM
      MarioRosi
      last edited by

      Hello,

      i use a combobox on a DockingDlgInterface on *.rc-file

      COMBOBOX   IDC_CCODE_EDT_PNR,60,18,83,27,CBS_DROPDOWN | WS_VISIBLE | CBS_SORT | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
      

      The list-items i send by

      ::SendMessage(cbPointCode, CB_ADDSTRING, 0, (LPARAM)StringTools::GetWString(codes->at(i)).c_str());
      

      On open drop-down-list is resizing okay, but items is not drawing, black text on black background. Only after mouse over is draw the item.

      alt text

      What must i do that combobox-drop-down-list drawing correctly?

      regards Mario

      1 Reply Last reply Reply Quote 0
      • Thomas KnoefelT
        Thomas Knoefel
        last edited by

        Are you working with the latest N++ version? I remember i had this also in the past with an older Version and this seems to be fixed.

        MarioRosiM 1 Reply Last reply Reply Quote 1
        • MarioRosiM
          MarioRosi @Thomas Knoefel
          last edited by

          Hello Thomas,

          yes that was it.

          h have use the version 8.4.6, now i make update to 8.6 and now it works fine…

          best gregards
          Mario

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors