The VisColorPalette type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddMenu |
Adds menu to end of list.
| |
BringWindowToTop |
Brings a window to the top of all overlapping windows.
(Inherited from SalUserControl.) | |
CenterWindow |
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.) | |
ClearCursor |
Clears a window's cursor.
(Inherited from SalUserControl.) | |
ClearMenu |
Clears all menus from list.
| |
DestroyWindow |
Destroys a form window, a top-level table window, or a modeless dialog box created
with SalCreateWindow.
(Inherited from SalUserControl.) | |
DisableWindow |
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.) | |
EnableWindow |
Enables keyboard and mouse input to a window.
(Inherited from SalUserControl.) | |
FindChild |
This function finds a child window of a given name in the specified window.
(Inherited from SalUserControl.) | |
FormUnitsToPixels |
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.) | |
FromHandle |
Returns the control associated with the handle.
| |
GetClassName |
Return the name of a window's class as a string.
(Inherited from SalUserControl.) | |
GetColor |
Retrieves color from main palette region.
| |
GetColors |
Retrieves all colors from main palette region.
| |
GetControlType |
Returns an object's type.
(Inherited from SalUserControl.) | |
GetFirstChild |
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.) | |
GetFocus |
Retrieves the position of highlight.
| |
GetFont |
Gets a window's font name, size, and enhancements.
(Inherited from SalUserControl.) | |
GetLocation |
Returns a window's current position on the X and Y axes.
(Inherited from SalUserControl.) | |
GetMenu |
Retrieves menu text and ID.
| |
GetMenuAll |
Retrieves all menu entries in list.
| |
GetName()()()() |
Gets the name of an object.
(Inherited from SalUserControl.) | |
GetName(SalString%) |
Gets the name of an object.
(Inherited from SalUserControl.) | |
GetNextChild |
Returns the handle of the next child window that matches a specified type.
(Inherited from SalUserControl.) | |
GetParent |
Returns the handle of an object's parent window.
(Inherited from SalUserControl.) | |
GetProperty(SalString) |
Gets the value of a named property.
(Inherited from SalUserControl.) | |
GetProperty(SalString, SalString%) |
Gets the value of a named property.
(Inherited from SalUserControl.) | |
GetSize |
Returns a window's size.
(Inherited from SalUserControl.) | |
GetText(SalNumber) |
Retrieves the text of a window.
(Inherited from SalUserControl.) | |
GetText(SalString%, SalNumber) |
Retrieves the text of a window.
(Inherited from SalUserControl.) | |
GetWindowColor |
Gets a window's color.
(Inherited from SalUserControl.) | |
GetWindowState |
Returns a window's current state.
(Inherited from SalUserControl.) | |
HideWindow |
Hides a window.
(Inherited from SalUserControl.) | |
InsertMenu |
Inserts menu entry and shifts list.
| |
InvalidateWindow |
Causes a window to be repainted.
(Inherited from SalUserControl.) | |
IsDerivedFromClass |
Determines whether a window is an instance of the specified class.
(Inherited from SalUserControl.) | |
IsEnabled |
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalUserControl.) | |
IsVisible |
Determines whether a window is currently visible.
(Inherited from SalUserControl.) | |
KillTimer |
Destroys an object's system timer.
(Inherited from SalUserControl.) | |
MoveWindow |
Moves a window a given number of form units on the X and Y axes relative to its current
position.
(Inherited from SalUserControl.) | |
OnButtonClicked |
Fires the ButtonClicked event.
(Inherited from VisColorPaletteBase.) | |
OnFontChanged |
Rearranges and scales the color blocks when the font changes.
(Inherited from VisColorPaletteBase.) | |
OnGotFocus | (Inherited from VisColorPaletteBase.) | |
OnPaintBackground |
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.) | |
OnResize |
Rearranges the color blocks when the control is resized.
(Inherited from VisColorPaletteBase.) | |
OnSelectedIndexChanged |
Fires the SelectedIndexChanged event.
(Inherited from VisColorPaletteBase.) | |
PixelsToFormUnits |
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.) | |
PostMessage |
Posts the specified message to a window by adding nMsg to hWndReceiver's message
queue.
(Inherited from SalUserControl.) | |
ProcessCmdKey | (Inherited from VisColorPaletteBase.) | |
RemoveMenu |
Removes menu entry from list.
| |
SendMessage |
Sends the specified message to a window. SalSendMsg does not return until the processing
for the message is complete.
(Inherited from SalUserControl.) | |
SendMessageToChildren |
Sends a message to all child items of a form window, dialog box, table window, or
MDI window.
(Inherited from SalUserControl.) | |
SetColor |
Assigns color to main palette region.
| |
SetColors |
Assigns all colors to main palette region.
| |
SetContextMenu(Type, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalUserControl.) | |
SetContextMenu(SalString, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalUserControl.) | |
SetCursor(Int32, SalNumber) |
Sets a window's cursor.
(Inherited from SalUserControl.) | |
SetCursor(SalResourceCursor, SalNumber) |
Sets a window's cursor.
(Inherited from SalUserControl.) | |
SetCursor(SalString, SalNumber) |
Sets a window's cursor from a string variable.
(Inherited from SalUserControl.) | |
SetCursorFile |
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.) | |
SetFocus()()()() |
Sets the focus to a specified window.
(Inherited from SalUserControl.) | |
SetFocus(SalNumber) |
Assigns the position of highlight.
| |
SetFont |
Sets a window's font, font size, and font enhancements.
(Inherited from SalUserControl.) | |
SetLocation |
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalUserControl.) | |
SetMenu |
Assigns menu text and ID.
| |
SetMenuAll |
Assigns all menu entries in list.
| |
SetProperty |
Sets the value of a named property.
(Inherited from SalUserControl.) | |
SetSize |
Resizes a window.
(Inherited from SalUserControl.) | |
SetText |
Sets the text of a window.
(Inherited from SalUserControl.) | |
SetTimer |
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.) | |
SetWindowColor |
Sets a window's color.
(Inherited from SalUserControl.) | |
ShowWindow |
Makes a window visible.
(Inherited from SalUserControl.) | |
TrackPopupMenu(Type, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
(Inherited from SalUserControl.) | |
TrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
(Inherited from SalUserControl.) | |
UpdateWindow |
Forces the update of a window.
(Inherited from SalUserControl.) | |
WinHelp |
Starts the Windows help system.
(Inherited from SalUserControl.) | |
WndProc |
Redirect Windows message to the implementation object.
(Inherited from SalUserControl.) | |
Yield |
Processes messages for this control.
(Inherited from SalUserControl.) |