Symptom
PowerBuilder might fail to open dialogs.
When you install the Windows Update (KB3057839), which includes the following fix for Windows Vista:
MS15-060: Vulnerability in Microsoft common controls could allow remote code execution.
Environment
Windows Vista with Windows Aero enabled
PowerBuilder
Reproducing the Issue
1. Create a dialog to call the setRedraw in the open events.
Open event of w_dialog -------------------------------------------- event open; integer ret This.SetRedraw(False) ddlb_1.AddItem("123") ddlb_1.AddItem("456") ret = This.SetRedraw(True) end event Open a dialog open w_dialog
Cause
This problem is not a PowerBuilder issue.
It happens because PowerScript of setRedraw will call setRedraw of the Windows API.
Solution
The following workarounds can help on this situation:
Turn off Windows Aero
Uninstall KB3059317
Change the property "Visible" of dialog to "true"
Install KB3070102, which contains the following fix: MS15-073: Vulnerabilities in Windows Kernel-Mode Driver Could Allow Elevation of Privilege