Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 1.5 KB

Message Dialogue Components

The Message Dialogue Components are supplied in a single unit named PJMessageDialog. There are two components:

Class Description
TPJWinMsgDlg This component wraps the Windows MessageBoxIndirect API call and displays a message box based on that provided by Windows. This component will be suitable for most purposes and has the lighter footprint.
TPJVCLMsgDlg This component uses the Delphi VCL CreateMessageDialog function to create a form based message box. The component provides more flexibility than either the Delphi functions or TPJWinMsgDlg. It should be used when it is necessary to display buttons or combinations of buttons that are not supported by the Windows API message box or when a finer degree of control over the appearance and behaviour of the message box is required. TPJVCLMsgDlg supports all the features of TPJWinMsgDlg and extends them. The dialogue box component's form can been customised by handling the OnShow and OnHide events.

Note: This documentation applies to release 3.0.0 and later. Earlier versions had an additional component named TPJMessageDialog that was deprecated in later v2 releases and removed at v3.

Links:

You can’t perform that action at this time.