U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Suggestion for SuggestCtrl
Suggestion for SuggestCtrl [message #50069] Wed, 11 July 2018 02:34 Go to previous message
luoganda is currently offline  luoganda
Messages: 217
Registered: November 2016
Experienced Member
Adding this two to SuggestCtrl may be usefull...
void ChkAddList(const WString& s)                 { if(-1==FindIndex(data,s))data.Add(s); }
const Vector<WString>& GetList()                  { return data; }


Also, adding AdjustWidth - to adjust dropDownArrList to owner width - would be nice,
but using something like: Logc x; x.SetB(GetSize().cx);list.SetPosX(x); doesn't seem to work.

[Updated on: Wed, 11 July 2018 18:17]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: DHCtrl, Ctrl NoBackPaint ignored?
Next Topic: DockWindow->Button hover paint bug
Goto Forum:
  


Current Time: Sun Jul 12 20:26:56 GMT+2 2026

Total time taken to generate the page: 0.00691 seconds