Consultor Eletrônico



Kbase P114749: Cannot expand treeview nodes in OPCServerBrowser OCX in OpenEdge 10
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/06/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0x
OpenEdge 10.1A
Windows

SYMPTOM(s):

Using OPCServerBrowser ActiveX control from Software Toolbox

OPCServerBrowser ActiveX contains a treeview

Nodes of the treeview will not expand

No error message are raised

SelChanged (Selection Changed) event of the ActiveX control does not fire when the selected node changes

ActiveX control works properly in Progress 9.1x

ActiveX control works properly in Visual Basic 6

CHANGE:

Upgraded to OpenEdge 10

CAUSE:

Development has researched the issue and found that whilst the code involved in handling the mouse-click event had not changed between 9.1E and 10.1A, the client is compiled with "UNICODE" defined starting in version 10. Due to this, all interaction between Progress and the native Windows and C-runtime routines is done using UNICODE strings. This causes the Progress application to use different versions of all the Windows routines, for example CreateWindowW instead of CreateWindowA. However, it still looks like the Progress client is operating correctly. All of the Window's events are passed on to the control as they should be and this can be seen from debugging the code using MS Spy++. As such, it may be that the problem was in the ActiveX control itself; a newer version of the control supplied by Software Toolbox did not have the issue.

FIX:

Contact Software Toolbox support to obtain a new version of the OPCServerBrowser ActiveX control. This is freely available to current OPCServerBrowser OCX license holders.