• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 309 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.
  • M
    MarioRosi
    last edited by Dec 2, 2023, 3:43 PM

    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
    • T
      Thomas Knoefel
      last edited by Dec 2, 2023, 6:17 PM

      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.

      M 1 Reply Last reply Dec 2, 2023, 7:49 PM Reply Quote 1
      • M
        MarioRosi @Thomas Knoefel
        last edited by Dec 2, 2023, 7:49 PM

        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
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors