1. (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

new topic     » topic index » view message » categorize

2. Re: (Winlib)Combobox dropdown doesn't move with window

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!
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu