Consultor Eletrônico



Kbase P98846: Can not get the Windows XP look and feel with the Microsoft ListView OCX control
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/12/2004
Status: Unverified

FACT(s) (Environment):

Windows XP
Progress 9.1D
OpenEdge 10.x

SYMPTOM(s):

Can not get the Windows XP look and feel with the Microsoft ListView OCX control

Using a manifest file (prowin32.exe.manifest) in the same directory than the prowin32.exe file

The OCX control mscomctl.ocx is inserted in the window

The Button widget has the Windows XP look and feel.

CAUSE:

The wrong OCX file is inserted in the widow. Only comctl32.ocx version 6 does support the Windows XP look and feel.
The mscomctl.ocx does not support it.

When listing the OCX controls from the OCX palette, the comctl32.ocx is displayed as "Microsoft ListView Control, Version 5", and mscomctl.ocx as "Microsoft ListView Control 6.0". This may be confusing.

The version of comctl32.ocx may be checked in the properties of the file:
- Right-click on Windows\system32\comctl32.ocx
- Choose Properties
- Click on the tab Version

FIX:

Insert the Microsoft ListView control version 5 (comctl32.ocx) instead in the window.