Tech Articles


"Haunted" Apps - How to Avoid Ghost (Unresponsive) Windows


Are any of the windows in your PowerBuilder applications “haunted” by ghosts?

In the Windows operating system, the term “ghosting” is used to describe how the Desktop Window Manager visually intervenes on a user’s behalf whenever Windows believes the active, or "top-level" application window has become unresponsive. This article describes how Windows determines if a window should be ghosted and how the appearance of a window changes when it becomes ghosted. The article will also examine the common causes of an unresponsive PowerBuilder window and discuss some options for detecting, recovering from and even preventing windows with long-running processes from being ghosted.

Let’s start where most things begin… at the beginning – with an overview of the role of messages and message queues in an event-driven operating system.

Read more

DataWindow - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to DataWindows for your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

UI Modernization - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to UI Modernization of your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

API Enablement - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to API Enablement of your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

Free Utilities - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to Free Utilities for your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

Interfacing PB Applications with the Windows API - Part 4


This tutorial has discussed how to interface traditional, Windows-hosted PowerBuilder 32-bit and 64-bit applications with the Windows Application Programming Interface (API), also known as the WinAPI. In the first three parts, the groundwork was laid to make you more knowledgeable and comfortable coding External Function Declarations (EFD's) and understanding the nuances of how information is exchanged between PB and Windows API functions. Part four contains a list of coding tips and techniques and mapping tables to help you with the translation between many common WinAPI datatypes and the standard PB datatypes. It also describes a free PB sample application and non-visual user object that can dynamically determine the memory size and layout of a structure in either 32-bit or 64-bit environments.

* * * Part four content has been revised and expanded from the original version * * *

Read more

Interfacing PB Applications with the Windows API - Part 3


This tutorial discusses how to interface traditional, Windows-hosted PowerBuilder 32-bit and 64-bit applications with the Windows Application Programming Interface (API), also known as the WinAPI. Much of the information presented here also applies to interfacing with DLL’s created in-house or by third-party vendors, because the interface mechanism in PB is the same. The focus, however, will be on interfacing to the WinAPI.

* * * Part three content has been revised and expanded from the original version * * *

Read more

Find Articles by Tag

PowerServer Web WebBrowser COM Variable PowerBuilder (Appeon) PostgreSQL ODBC driver RichTextEdit Control Database Table Schema Open Source PowerScript (PS) SQL PostgreSQL C# SQL Server License Class TLS/SSL Database Table Performance PFC Android IDE 32-bit Interface Elevate Conference Event Handler DLL Export Authentication ODBC Window Service Repository JSONGenerator Debug Outlook JSONParser NativePDF Data .NET DataStore Configuration RibbonBar Builder CoderObject Menu Icon DataWindow JSON Filter DragDrop RESTClient Stored Procedure Script Authorization Automated Testing Text Bug WinAPI PowerBuilder Compiler SDK BLOB Git DevOps Platform Encoding PBNI Installation UI Modernization API Jenkins PBVM Event XML SqlModelMapper File PowerBuilder OLE InfoMaker Trial .NET Assembly Charts Encryption Transaction Graph Event Handling External Functions Database Painter Debugging Sort Import Source Control Application Mobile Testing Database Profile JSON DataWindow Design Export JSON Deployment Debugger UI SOAP iOS OAuth 2.0 SnapObjects Messagging MessageBox Oracle Database Table Data Web Service Proxy Resize OAuth PDFlib Database Object Expression HTTPClient 64-bit Syntax CI/CD Validation SqlExecutor RibbonBar Import JSON Azure Migration Excel TFS SnapDevelop Windows OS Database UI Themes PDF Branch & Merge TreeView OrcaScript TortoiseGit SVN PowerServer Mobile Database Connection Web API Source Code PBDOM Error Visual Studio DataType Windows 10 Icons GhostScript ActiveX .NET Std Framework Model Linux OS Array REST CrypterObject