Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBX_DrawVisualObject – PB Docs 2022 – PowerBuilder Library

PBX_DrawVisualObject – PB Docs 2022

PBX_DrawVisualObject

Description

Draws a visual object in the PowerBuilder development
environment.

Syntax

Argument

Description

hDC

A handle to the device context of the
object

classname

The name of the visual extension object to be
drawn

property

A PBX_DrawItemStruct structure specifying the
display properties of the object

Return value

PBXRESULT. The return value of this function is currently
ignored.

Examples

This is an extension of a sample that is available on the
PowerBuilder Code Samples website at https://community.appeon.com/index.php/codeexchange/powerbuilder.
It draws a representation of a light-emitting diode (LED) and uses
Microsoft Foundation Classes (MFC):

Usage

In a visual extension, export this function if you want the visual
control to be drawn in the development environment. If you do not export
the function, you need to run the application to see the appearance of
the visual control.

See also

PBX_CreateVisualObject

PBX_DrawItemStruct
structure


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x