Click or drag to resize
SalDialogBox Class
Summary description for SalDialogBox.
Inheritance Hierarchy

Namespace:  PPJ.Runtime.Windows
Assembly:  PPJ.Runtime.46 (in PPJ.Runtime.46.dll) Version: 4.6.0.0 (4.6.1.0)
Syntax
public class SalDialogBox : SalForm, 
	ISalWindow

The SalDialogBox type exposes the following members.

Constructors
  NameDescription
Public methodSalDialogBox
Constructs a new SalDialogBox object.
Top
Properties
  NameDescription
Public propertyAutoScaleBaseDpi
Returns/Sets the DPI used to design this form. This is the base DPI scale and it will be used to scale the form.
(Inherited from SalForm.)
Protected propertyCreateParams
Overrides the CreateParams property to ensure that the correct Windows style is used when the form is a child form and the border is the FixedSingle border.
(Inherited from SalForm.)
Public propertyCultureInfo
Returns/Sets the culture to use for this form.
(Inherited from SalForm.)
Public propertyIcon
Overrides the default Image property.
Public propertyIconName
Icon name. The image is loaded from the embedded resources.
(Inherited from SalForm.)
Public propertyNamedProperties
Returns the collection of named properties.
(Inherited from SalForm.)
Top
Methods
  NameDescription
Public methodBeginUpdate
Freezes screen updates to the form.
(Inherited from SalForm.)
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
(Inherited from SalForm.)
Public methodCenterWindow
Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.
(Inherited from SalForm.)
Public methodClearCursor
Clears a window's cursor.
(Inherited from SalForm.)
Protected methodCreateForm
Creates the handle for the form and all the child controls.
(Inherited from SalForm.)
Protected methodCreateTableWindow
Creates an instance of the inner child table window.
(Inherited from SalForm.)
Protected methodDefWndProc
Override the default window procedure to be able to create hidden mdi child forms. For some unknown reason the .NET framework forces MDI children to be visible.
(Inherited from SalForm.)
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
(Inherited from SalForm.)
Public methodDisableWindow
Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
(Inherited from SalForm.)
Protected methodDispose
(Inherited from SalForm.)
Public methodDrawMenuBar
Redraws the menu bar for a given form window or top-level table window.
(Inherited from SalForm.)
Public methodEnableWindow
Enables keyboard and mouse input to a window.
(Inherited from SalForm.)
Public methodEndDialog
Destroys a modal dialog box and returns control to the caller of SalModalDialog.
(Inherited from SalForm.)
Public methodEndUpdate
Enables screen updates to the form.
(Inherited from SalForm.)
Public methodFindChild
This function finds a child window of a given name in the specified window.
(Inherited from SalForm.)
Public methodFireWindowActions
Dispatches the specified message (Window Actions) directly to the control's WindowActions event handlers, without going through Windows message loop.
(Inherited from SalForm.)
Public methodFireWindowActionsToChildren
Dispatches the specified message (Window Actions) directly to the children's WindowActions event handlers, without going through Windows message loop.
(Inherited from SalForm.)
Public methodFormUnitsToPixels
Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.
(Inherited from SalForm.)
Public methodGetClassName
Return the name of a window's class as a string.
(Inherited from SalForm.)
Public methodGetControlType
Returns an object's type.
(Inherited from SalForm.)
Public methodGetDefaultButton
Returns the handle of the default push button on a form window or dialog box. The default push button is the one that has the focus by default.
(Inherited from SalForm.)
Public methodGetFirstChild
Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.
(Inherited from SalForm.)
Public methodGetFont
Gets a window's font name, size, and enhancements.
(Inherited from SalForm.)
Public methodGetFormParameter
Returns the value of one of three form window parameters: height, width, or number of pages.
(Inherited from SalForm.)
Public methodGetLocation
Returns a window's current position on the X and Y axes.
(Inherited from SalForm.)
Public methodGetName
Gets the name of an object.
(Inherited from SalForm.)
Public methodGetName(SalString)
Gets the name of an object.
(Inherited from SalForm.)
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
(Inherited from SalForm.)
Public methodGetParent
Returns the handle of an object's parent window.
(Inherited from SalForm.)
Public methodGetProperty(SalString)
Gets the value of a named property.
(Inherited from SalForm.)
Public methodGetProperty(SalString, SalString)
Gets the value of a named property.
(Inherited from SalForm.)
Public methodGetSize
Returns a window's size.
(Inherited from SalForm.)
Public methodGetStatusBarText(SalNumber)
Gets the text displayed in the status bar of a top-level or MDI window.
(Inherited from SalForm.)
Public methodGetStatusBarText(SalString, SalNumber)
Gets the text displayed in the status bar of a top-level or MDI window.
(Inherited from SalForm.)
Public methodGetText(SalNumber)
Retrieves the text of a window.
(Inherited from SalForm.)
Public methodGetText(SalString, SalNumber)
Retrieves the text of a window.
(Inherited from SalForm.)
Public methodGetWindowColor
Gets a window's color.
(Inherited from SalForm.)
Public methodGetWindowState
Returns a window's current state.
(Inherited from SalForm.)
Public methodHideWindow
Hides a window.
(Inherited from SalForm.)
Public methodInvalidateWindow
Causes a window to be repainted.
(Inherited from SalForm.)
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
(Inherited from SalForm.)
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalForm.)
Public methodIsVisible
Determines whether a window is currently visible.
(Inherited from SalForm.)
Public methodKillTimer
Destroys an object's system timer.
(Inherited from SalForm.)
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
(Inherited from SalForm.)
Protected methodOnActivated
Handler for Activate event
(Inherited from SalForm.)
Protected methodOnDeactivate
Handle for Deactivate event
(Inherited from SalForm.)
Protected methodOnFontChanged
Resets the scaling factor when the font changes.
(Inherited from SalForm.)
Protected methodOnHandleCreated
Handler for HandleCreated event
(Inherited from SalForm.)
Protected methodOnHandleDestroyed
Handler for HandleDestroyed event
(Inherited from SalForm.)
Protected methodOnMdiChildActivate
Handler for MdiChildActivate event
(Inherited from SalForm.)
Protected methodOnMenuComplete
Handler for MenuComplete event
(Inherited from SalForm.)
Protected methodOnPaintBackground
Fires the internal PaintBackground event. This allows the handler component to take over the background painting of the form. This is primarily used to allow the SalQuickTabs control to paint transparent backgrounds.
(Inherited from SalForm.)
Public methodPixelsToFormUnits
Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.
(Inherited from SalForm.)
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
(Inherited from SalForm.)
Protected methodProcessCmdKey
Process command keys.
(Inherited from SalForm.)
Protected methodProcessDialogKey
Processes dialog keys. This override takes care of: - converting Enter to Tab - selecting radio buttons in the same group index on arrows - processing default button, hidden or in child forms - processing accelerators
(Inherited from SalForm.)
Protected methodProcessTabKey
Selects the next control in the tab order.
(Inherited from SalForm.)
Protected methodScale
Scales the form and all child controls.
(Inherited from SalForm.)
Protected methodScaleCore
Disables .NET 1.1 scaling.
(Inherited from SalForm.)
Protected methodSelect
Selects the next control in the tab order.
(Inherited from SalForm.)
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
(Inherited from SalForm.)
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
(Inherited from SalForm.)
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalForm.)
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalForm.)
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
(Inherited from SalForm.)
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
(Inherited from SalForm.)
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
(Inherited from SalForm.)
Public methodSetCursorFile
Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.
(Inherited from SalForm.)
Public methodSetFocus
Sets the focus to a specified window.
(Inherited from SalForm.)
Public methodSetFont
Sets a window's font, font size, and font enhancements.
(Inherited from SalForm.)
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalForm.)
Public methodSetProperty
Sets the value of a named property.
(Inherited from SalForm.)
Public methodSetSize
Resizes a window.
(Inherited from SalForm.)
Public methodSetStatusBarText
Displays specified text in the status bar of a top-level or MDI window.
(Inherited from SalForm.)
Public methodSetText
Sets the text of a window.
(Inherited from SalForm.)
Public methodSetTimer
Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.
(Inherited from SalForm.)
Protected methodSetVisibleCore
Overrides the default behavior to avoid the re-creation of the underlying window handle when the form is an MDI child.
(Inherited from SalForm.)
Public methodSetWindowColor
Sets a window's color.
(Inherited from SalForm.)
Public methodShow
Shows the form.
(Inherited from SalForm.)
Public methodShowAsChild(Control, Rectangle, Boolean)
Shows the form as child control.
(Inherited from SalForm.)
Public methodShowAsChild(Control, RectangleF, Boolean)
Shows the form as child control.
(Inherited from SalForm.)
Public methodShowDialog
Shows the modal dialog.
(Inherited from SalForm.)
Public methodShowStatusBar
Shows or hides the status bar on a top-level or MDI window.
(Inherited from SalForm.)
Public methodShowToolBar
Shows or hides the tool bar on a top-level or MDI window.
(Inherited from SalForm.)
Public methodShowWindow
Makes a window visible.
(Inherited from SalForm.)
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalForm.)
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalForm.)
Public methodUpdateWindow
Forces the update of a window.
(Inherited from SalForm.)
Public methodWinHelp
Starts the Windows help system.
(Inherited from SalForm.)
Protected methodWndProc
Window procedure dispatcher.
(Inherited from SalForm.)
Public methodYield
Processes messages for this control.
(Inherited from SalForm.)
Top
Events
  NameDescription
Public eventMessageActions
Message Actions
(Inherited from SalForm.)
Public eventPaintBackground
fired when the form needs to paint the background, this event is missing from WinForms.
(Inherited from SalForm.)
Public eventWindowActions
Window Actions
(Inherited from SalForm.)
Top
Fields
  NameDescription
Public field_derived
Instance of the derived object that inherits this class as a second base in a multiple inheritance tree.
(Inherited from SalForm.)
Top
See Also