1. (Winlib)Combobox dropdown doesn't move with window
- Posted by Judith Evans <camping at txcyber.com> Jan 28, 2003
- 421 views
Remember this? I think I got it from you....... ok = sendMessage( ComboId, CB_SHOWDROPDOWN, False, 0 ) tested in the w32HEvent for the window ComboId is in. --judith <<Below is a demo of a problem I've encountered with combo-boxes: <<if I make the list drop-down, & then move the window, the drop-down list <<remains where it was instead of moving with the window, though it is still <<functional. Both combos in the demo exhibit the problem, the first is <<"auto" drop-downed, the second has the same problem if the user clicks on <<the drop-down arrow & then moves the window. <<Is this a bug? What's the best way to fix this? <<Dan Moyer
2. Re: (Winlib)Combobox dropdown doesn't move with window
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jan 29, 2003
- 392 views
Judith, Yeah, it's real possible you got that from me (BTW, I did use it in the problem demo I posted), but I almost certainly got it from someone else who's good at API programming. :) Problem seems to be when to use it: onLostFocus for the combo doesn't do it, although onPaint the window does. Problem with that is that if I could, I'd rather make the combo *keep* whatever state it's in, dropped-down or not, when the window might be moved (or minimized & then restored), and I have more than one & don't know how to *test* for dropped-down or not dropped-down. Dan ----- Original Message ----- From: "Judith Evans" <camping at txcyber.com> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, January 28, 2003 2:57 PM Subject: (Winlib)Combobox dropdown doesn't move with window > > Remember this? I think I got it from you....... > ok = sendMessage( ComboId, CB_SHOWDROPDOWN, False, 0 ) > tested in the w32HEvent for the window ComboId is in. > --judith > > <<Below is a demo of a problem I've encountered with combo-boxes: > > <<if I make the list drop-down, & then move the window, the drop-down list > <<remains where it was instead of moving with the window, though it is still > <<functional. Both combos in the demo exhibit the problem, the first is > <<"auto" drop-downed, the second has the same problem if the user clicks on > <<the drop-down arrow & then moves the window. > > <<Is this a bug? What's the best way to fix this? > > <<Dan Moyer > > > > TOPICA - Start your own email discussion group. FREE! >