Re: Pga3 Query Builder - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Pga3 Query Builder
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B844B757@mail.vale-housing.co.uk
Whole thread Raw
In response to Pga3 Query Builder  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 05 October 2003 16:37
> To: Dave Page
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Pga3 Query Builder
>
>
> >- Double clicking columns opens the join dialogue. This
> appears to be
> >because wxWindows detects the double click as a drag-drop,
> which then
> >overrides the double click event. I'm not sure how to fix
> this - think
> >it needs Andreas' talents to fix :-)
> >
> I had a look at it. D&D is implemented by hand using
> EVT_MOTION, which
> lacks control over mouse clicks (the control eats it, before we could
> handle it). I wonder why EVT_LIST_BEGIN_DRAG wasn't used for this.
>
> EVT_LISTBOX_DCLICK is used on myList, which is a wxListCtrl, not a
> wxListBox -> no go.

Hmm, well spotted! I'll keep playing with it - thanks for looking.

Regards, Dave.

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Pga3 Query Builder
Next
From: blacknoz@club-internet.fr
Date:
Subject: Re: Pga3 Query Builder