The VisColorPalette type exposes the following members.

Methods

  NameDescription
Public methodAddMenu
Adds menu to end of list.
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
(Inherited from SalUserControl.)
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 SalUserControl.)
Public methodClearCursor
Clears a window's cursor.
(Inherited from SalUserControl.)
Public methodClearMenu
Clears all menus from list.
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
(Inherited from SalUserControl.)
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 SalUserControl.)
Public methodEnableWindow
Enables keyboard and mouse input to a window.
(Inherited from SalUserControl.)
Public methodFindChild
This function finds a child window of a given name in the specified window.
(Inherited from SalUserControl.)
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 SalUserControl.)
Public methodStatic memberFromHandle
Returns the control associated with the handle.
Public methodGetClassName
Return the name of a window's class as a string.
(Inherited from SalUserControl.)
Public methodGetColor
Retrieves color from main palette region.
Public methodGetColors
Retrieves all colors from main palette region.
Public methodGetControlType
Returns an object's type.
(Inherited from SalUserControl.)
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 SalUserControl.)
Public methodGetFocus
Retrieves the position of highlight.
Public methodGetFont
Gets a window's font name, size, and enhancements.
(Inherited from SalUserControl.)
Public methodGetLocation
Returns a window's current position on the X and Y axes.
(Inherited from SalUserControl.)
Public methodGetMenu
Retrieves menu text and ID.
Public methodGetMenuAll
Retrieves all menu entries in list.
Public methodGetName()()()()
Gets the name of an object.
(Inherited from SalUserControl.)
Public methodGetName(SalString%)
Gets the name of an object.
(Inherited from SalUserControl.)
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
(Inherited from SalUserControl.)
Public methodGetParent
Returns the handle of an object's parent window.
(Inherited from SalUserControl.)
Public methodGetProperty(SalString)
Gets the value of a named property.
(Inherited from SalUserControl.)
Public methodGetProperty(SalString, SalString%)
Gets the value of a named property.
(Inherited from SalUserControl.)
Public methodGetSize
Returns a window's size.
(Inherited from SalUserControl.)
Public methodGetText(SalNumber)
Retrieves the text of a window.
(Inherited from SalUserControl.)
Public methodGetText(SalString%, SalNumber)
Retrieves the text of a window.
(Inherited from SalUserControl.)
Public methodGetWindowColor
Gets a window's color.
(Inherited from SalUserControl.)
Public methodGetWindowState
Returns a window's current state.
(Inherited from SalUserControl.)
Public methodHideWindow
Hides a window.
(Inherited from SalUserControl.)
Public methodInsertMenu
Inserts menu entry and shifts list.
Public methodInvalidateWindow
Causes a window to be repainted.
(Inherited from SalUserControl.)
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
(Inherited from SalUserControl.)
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalUserControl.)
Public methodIsVisible
Determines whether a window is currently visible.
(Inherited from SalUserControl.)
Public methodKillTimer
Destroys an object's system timer.
(Inherited from SalUserControl.)
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
(Inherited from SalUserControl.)
Protected methodOnButtonClicked
Fires the ButtonClicked event.
(Inherited from VisColorPaletteBase.)
Protected methodOnFontChanged
Rearranges and scales the color blocks when the font changes.
(Inherited from VisColorPaletteBase.)
Protected methodOnGotFocus (Inherited from VisColorPaletteBase.)
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 SalUserControl.)
Protected methodOnResize
Rearranges the color blocks when the control is resized.
(Inherited from VisColorPaletteBase.)
Protected methodOnSelectedIndexChanged
Fires the SelectedIndexChanged event.
(Inherited from VisColorPaletteBase.)
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 SalUserControl.)
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
(Inherited from SalUserControl.)
Protected methodProcessCmdKey (Inherited from VisColorPaletteBase.)
Public methodRemoveMenu
Removes menu entry from list.
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
(Inherited from SalUserControl.)
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
(Inherited from SalUserControl.)
Public methodSetColor
Assigns color to main palette region.
Public methodSetColors
Assigns all colors to main palette region.
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalUserControl.)
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalUserControl.)
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
(Inherited from SalUserControl.)
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
(Inherited from SalUserControl.)
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
(Inherited from SalUserControl.)
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 SalUserControl.)
Public methodSetFocus()()()()
Sets the focus to a specified window.
(Inherited from SalUserControl.)
Public methodSetFocus(SalNumber)
Assigns the position of highlight.
Public methodSetFont
Sets a window's font, font size, and font enhancements.
(Inherited from SalUserControl.)
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalUserControl.)
Public methodSetMenu
Assigns menu text and ID.
Public methodSetMenuAll
Assigns all menu entries in list.
Public methodSetProperty
Sets the value of a named property.
(Inherited from SalUserControl.)
Public methodSetSize
Resizes a window.
(Inherited from SalUserControl.)
Public methodSetText
Sets the text of a window.
(Inherited from SalUserControl.)
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 SalUserControl.)
Public methodSetWindowColor
Sets a window's color.
(Inherited from SalUserControl.)
Public methodShowWindow
Makes a window visible.
(Inherited from SalUserControl.)
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalUserControl.)
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
(Inherited from SalUserControl.)
Public methodUpdateWindow
Forces the update of a window.
(Inherited from SalUserControl.)
Public methodWinHelp
Starts the Windows help system.
(Inherited from SalUserControl.)
Protected methodWndProc
Redirect Windows message to the implementation object.
(Inherited from SalUserControl.)
Public methodYield
Processes messages for this control.
(Inherited from SalUserControl.)

See Also