Print Page | Close Window

Events not reaching PowerBuilder DataWindow

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=15200
Printed Date: 27 April 2024 at 4:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Events not reaching PowerBuilder DataWindow
Posted By: Asterix
Subject: Events not reaching PowerBuilder DataWindow
Date Posted: 17 September 2009 at 7:34am
Hi,
 
I'm using the dockingpane activex (13.1.0) within my powerbuilder 11.5 application. This works quite well, but when I set a datawindow control to be the child, all messages that I should be able to react on by scripting one of the datawindow events aren't fired. When looking at the messages being sent to the datawindow with Spy++ I see these messages are being sent but for some reason they don't reach the datawindow. As far as I can see all messages that has a P(osted) in front of them within Spy++ don't reach the datawindow control, the others do (like wm_setcursor). Is this a bug with the dockingpane activex or do I have to set something (a property) to make it work?
 
Attached is a small PowerBuilder 11.5 sample. A window with a dockingpane activex and two controls that are added as panes to it. For the listbox everything is working, for the datawindow control it isn't (clicking a row for example should select it)
 
https://forum.codejock.com/uploads/20090917_072056_Codejock.zip - uploads/20090917_072056_Codejock.zip
 
Looking forward for suggestions.
 
Kind regards,
Aart



Replies:
Posted By: Asterix
Date Posted: 18 September 2009 at 2:48am
Of course it could be a powerbuilder problem (and not an activex bug as I said in my previous post). Any clue will be welcomed.


Posted By: Asterix
Date Posted: 18 September 2009 at 6:53am
Another thought: when I click the datawindow a wm_lbuttondown and a wm_lbuttonup message is sent to the datawindow control. Codejock intercepts this message (I assume) and sent it through like it is, that is, a wm_lbuttondown message is sent to the datawindow control (when I add a custom event to the datawindow and map it to wm_lbuttondown it is indeed fired). In PowerBuilder (without placing it as a child in a codejock pane), when you click the datawindow, PowerBuilder itself intercepts the message and, depending on the place clicked, fires one of  a couple of events (clicked, doubleclicked, buttonclicked etc.). Is there any way to get around this?
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net