Const SRCAND = &H8800C6 |
dwRop
. The ANDs, ORs, etc. are binary operations done on a pixel-by-pixel level with the colors in the chunk and target.SRCAND | destination = chunk AND destination |
SRCCOPY | destination = chunk |
SRCERASE | destination = chunk AND (NOT destination) |
SRCINVERT | destination = chunk XOR destination |
SRCPAINT | destination = chunk OR destination |
Const CC_RGBINIT = &H1 Const CC_FULLOPEN = &H2 Const CC_PREVENTFULLOPEN = &H4 Const CC_SHOWHELP = &H8 Const CC_SOLIDCOLOR = &H80 Const CC_ANYCOLOR = &H100 |
CC_RGBINIT | Make the color specified by the rgbResult property already selected in the box.
|
CC_FULLOPEN | Automatically display the Define Custom Colors half of the dialog box. |
CC_PREVENTFULLOPEN | Disable the button that opens the Define Custom Colors half of the dialog box. |
CC_SHOWHELP | Displays the Help button. Unfortunately, I do not yet know how to make the button do anything when clicked. |
CC_SOLIDCOLOR | Return the solid-color equivalent of the selected color (applies to color depths 256 and below). |
CC_ANYCOLOR | Return the textured-color equivalent of the selected color if it is not solid (applies to color depths 256 and below). |
Const DRIVE_REMOVABLE = 2 |
DRIVE_REMOVABLE | A floppy drive or some other form of removable readable/writable disk drive. |
DRIVE_FIXED | A hard drive. |
DRIVE_REMOTE | A network drive; i.e., a drive somewhere on the network server. |
DRIVE_CDROM | A CD-ROM drive. |
DRIVE_RAMDISK | A RAM drive. |
Const EWX_LOGOFF = 0 |
EWX_LOGOFF | Log off on a networked computer, or else does the same as EWX_REBOOT .
|
EWX_SHUTDOWN | Shuts down the computer and, if the computer supports it, powers down. |
EWX_REBOOT | Does a full reboot of Windows 95. |
EWX_FORCE | Appears to empty the tray (the little icons next to the clock on the toolbar). (?) |
Const FILE_ATTRIBUTE_ARCHIVE = &H20 |
FILE_ATTRIBUTE_ARCHIVE | An archive file, which almost all files are. |
FILE_ATTRIBUTE_COMPRESSED | A compressed file residing in a compressed drive or directory. |
FILE_ATTRIBUTE_DIRECTORY | A directory instead of a file. |
FILE_ATTRIBUTE_HIDDEN | A hidden file, which is not normally visible to the user. |
FILE_ATTRIBUTE_NORMAL | An attribute-less file. |
FILE_ATTRIBUTE_READONLY | A read-only file, which cannot normally be written to or deleted, only read from. |
FILE_ATTRIBUTE_SYSTEM | A system file, one used exclusively by the operating system. |
Const OFN_READONLY = &H1 |
OFN_READONLY | If this is part of .flags after the function call, the user clicked the Open As Read Only box in the Open dialog box (do a .flags AND OFN_READONLY). |
OFN_OVERWRITEPROMPT | Prompt if a file that already exists is chosen in the Save dialog box. |
OFN_HIDEREADONLY | Hide the read-only check box in the Open dialog box. |
OFN_NOCHANGEDIR | Don't change the current directory to match the one chosen in the dialog box. |
OFN_SHOWHELP | Show the Help button in the dialog box (but I don't know how to make it work yet). |
OFN_NOVALIDATE | Don't check to see if the filename contains invalid characters. |
OFN_ALLOWMULTISELECT | Allow the user to check multiple files in the Open dialog box. |
OFN_PATHMUSTEXIST | Only allow the selection of existing paths. |
OFN_FILEMUSTEXIST | Only allow the selection of existing files. |
OFN_CREATEPROMPT | Prompt if a non-existing file is chosen. |
OFN_SHAREAWARE | Ignore any sharing violations. |
OFN_NODEREFERENCELINKS | Normally, if the user chooses a shortcut in the dialog box, the box returns the file it points to. This option has the dialog box return the .lnk or .pif (shortcut file) itself, not what it points to. |
Const HWND_BOTTOM = 1 |
HWND_BOTTOM | Put the window at the bottom of the Z-order. |
HWND_NOTOPMOST | Put the window below all topmost windows and above all nontopmost windows. |
HWND_TOP | Put the window at the top of the Z-order. |
HWND_TOPMOST | Make the window topmost (above all other windows), where it stays even while inactive. |
Const VER_PLATFORM_WIN32s = 0 |
dwPlatformID
member of the OSVERSIONINFO variable using the GetVersionEx function. Obviously, exactly one of these values will be returned, and there's nothing I've found yet to set with one of these values.VER_PLATFORM_WIN32s | Windows 3.x is running, using the Win32s pseudo-32-bit enhancements. |
VER_PLATFORM_WIN32_WINDOWS | Windows 95 is running. |
VER_PLATFORM_WIN32_NT | Windows NT is running. |
Const SWP_FRAMECHANGED = &H20 |
SWP_FRAMECHANGED | Redraw the window fully in its new position, including anything drawn on it. |
SWP_HIDEWINDW | Hide the window. Although it still exists, it does not appear neither on the screen nor on the taskbar. |
SWP_NOACTIVATE | Do not make the window active after moving it, unless of course it is already the active window. |
SWP_NOCOPYBITS | Do not redraw anything drawn on the window when it is moved. |
SWP_NOMOVE | Do not move the window; i.e., ignore the x and y parameters.
|
SWP_NOSIZE | Do not resize the window; i.e., ignore the cx and cy parameters.
|
SWP_NOREDRAW | Do not remove the image of the window in its former position from the screen. In other words, leave behind a ghost image of the window in its old position. |
SWP_NOZORDER | Do not change the window's position in the Z-order; i.e., ignore the hWndInsertAfter parameter.
|
SWP_SHOWWINDOW | Show the window (must have previously been hidden using SWP_HIDEWINDOW ).
|
Const SND_ALIAS = &H10000 |
SND_ALIAS | Play the name of a Windows sound (such as SystemStart, Asterisk, etc.) |
SND_ASYNC | Continue program execution immediately after starting to play the sound. |
SND_FILENAME | Play the specified filename. |
SND_NODEFAULT | Return 0 and remain silent if the .wav file is not found. |
SND_NOSTOP | Don't stop any currently playing sounds. |
SND_NOWAIT | Don't wait if the sound driver is busy. |
SND_SYNC | Wait until the sound is finished playing before continuing execution. |
Paul Kuliniewicz
E-mail: Borg953@aol.com
All material presented on these pages is Copyright © Paul Kuliniewicz, except for other copyrighted material.
http://members.aol.com/Borg953/api/appb.html