Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CodeJock Docking pane

84 views
Skip to first unread message

Aart

unread,
Sep 18, 2009, 10:02:23 AM9/18/09
to
Hi,

I'm trying to use the dockingpane activex from codejock. This works very
well within PB, except for one thing: when using a datawindow control as the
child within a pane (you create panes and assign a child to it) mouse events
aren't redirected to the correct datawindow events anymore. With all other
controls, when clicking on them, the correct event is fired. For a
datawindow, I can catch lbuttondown and up messages, but just when I add
user events and map them to pbm_lbuttondown etc. I guess PB does some
'magic' coding when a dw is clicked and determines which events should be
fired. This magic doesn't occur when the messages are sent through by the
activex (as far as I can see when looking at the messages sent with Spy++
the messages go through the activex and are then redirected by the activex
to the child that is embedded within the pane. So when a wm_lbuttondown
message is sent, it is sent to the datawindow as a wm_lbuttondown message).
Does anyone know if there is a way to get around this behaviour or is it
just bad luck (as the docking panes look very nice)

Kind regards,
Aart Onkenhout


Brad Wery[TeamSybase]

unread,
Sep 21, 2009, 3:38:40 PM9/21/09
to
Try placing the datawindow on a userobject then add that userobject to
your dockpane.

--

*********************************************************************************************************
www.PowerToTheBuilder.com
- Take control of your GUI with a free PB user control library
- Get updates from my blog - blog.PowerToTheBuilder.com
- Get support from - forum.PowerToTheBuilder.com

*********************************************************************************************************
www.Werysoft.com
- Full featured database development tool for ASE, SQL Server, SQL
Anywhere and Oracle

Get productive today!

*********************************************************************************************************

Aart

unread,
Sep 22, 2009, 1:06:18 AM9/22/09
to
Hi Brad,

Thanks for the suggestion. I'm afraid I already tried that one and it
doesn't work either.

Aart

"Brad Wery[TeamSybase]" <bradweryatgmail.com> schreef in bericht
news:4ab7d640@forums-1-dub...

Brad Wery[TeamSybase]

unread,
Sep 22, 2009, 2:55:39 PM9/22/09
to
I had similar problems with Datawindows after calling the SetParent API
on them. I figured that was the problem here.

You can try PowerDock from PowerToTheBuilder.com to see if that will do
(http://www.powertothebuilder.com/PowerDock.aspx). It's not as good as
what you get from Codejock but it may make due.

0 new messages