[^^Up^^]
[Menu]
[About The Guide]
RESOURCES
COMMANDS:
DEFINE BRUSH define and assign a brush object
DEFINE ICON define an Icon control
DEFINE FONT load and activate a Font
DEFINE BITMAP load a bitmap control from (res)source
DEFINE MENU define a complete menu tree with popups
DEFINE CURSOR create a cursor object from (res)source
REDEFINE .. AS Retrieve values from a string resource
SET RESOURCES TO load/unload a resource file
CLASSES:
TBRUSH brush class description
TCURSOR the small cursor class
TICON the icon class
TFONT font class description
TBITMAP the Bitmap Class
TMENU menu bar container class
TMENUITEM the menu item class
TPEN Pen class description
FUNCTIONS:
Drawing-Tool Functions:
Arc Draws an elliptical arc
Chord Draws a chord
DrawText Draws formatted text into a given rectangle
Ellipse Draws an ellipse
ExtTextOut Writes a string into a rectangular region
FloodFill Fills an area of the screen
LineTo Draws a line from a starting point
MoveTo Changes the painting coordinates
Pie Draws a graphic pie
PolyPolygon Draws several polygons
Rectangle Draws a graphic rectangle
Say3D Draws a 3D look text
SetPolyFillMode Set the specified Polygon fillmode
SetTextAlign Selects the text alignment mode
TextOut Writes a character string at the specified location
WndBox Draws a simple box
WndBoxIn Draws an inset 3D box
WndBoxRaised Draws a raised 3D box
WndRaised Makes a control look raised
Bitmaps:
DrawBitmap draws a 16/256 color bitmap
DibDraw draws a display independant bitmap
DibFromBitmap creates a DIB from a bitmap
DibHeight returnes the high of a DIB
DibRead reads a bmp from file and generates a DIB
DibPalette returns a palette handle from a DIB
DibWidth returnes the width of a DIB
DibWrite Saves a DIB to disk
FWBitmap Creates the FiveWin logo bitmap
LoadBitmap Loads a bitmap from resources
PalBmpDraw Draws a BMP bitmap
PalBmpFree Destroyes a bitmap and palette handle
PalBmpLoad Loads a bitmap and palette from resources
PalBmpRead Reads a bitmap and palette from a file
ReadBitmap Reads a bitmap from a file
SetDeskWallPaper Changes the desktop backgound bitmap
Pen and Brush management:
CreateHatchBrush Creates a hatched brush
CreatePatternBrush Creates a pattern brush from a bitmap
CreatePen Creates a pen with the specified attributes
CreateSolidBrush Creates a solid brush with a specified color
DeleteObject Deletes a GDI object from memory
FWBrushes Create predefined FiveWin brush bitmaps
GetStockObject Returns the handle of a stock pen, brush, or font
FillRect Fills a given rectangle with a specified brush
InvertRect Inverts the colors of a window rectangle
SelectObject Selects an object into a device context
SetBlackPen Selects a black pen into a device context
SetBrushOrg Sets the origin of the current brush
SetWhitePen Selects a white pen into a device context
Icon Functions
DrawIcon Draws an icon in the specified device context
DestroyIcon Destroys an icon created by LoadIcon
ExtractIcon Retrieves an icon handle from EXE, DLL or ICO
LoadIcon Load a specified or predefined resource icon
nIcons Returns the number of Icons in a File
Font Functions
AddFontResource Adds a font resource to the font table
CreateFont Creates a logical font
GetFontInfo return informations about a font
GetTextHeight Returns the height of a selected font
GetTextWidth Returns the width of a selected font
RemoveFontResource Remove a font resource from the font table
Menu Functions:
AppendMenu Appends a new item to the end of a menu
CheckMenuItem Changes a check mark by a menu item
CreateMenu Creates an empty main menu
CreatePopupMenu Creates an empty popup menu window
DestroyMenu Destroys a menu and releases its system resources
DrawMenuBar Redraws the menu bar of a window
EnableMenuItem Enables, disables, or grays a menu item
GetMItemCount Retrieves the number of items in a menu
GetMItemID Retrieves the menu item identifier
GetMenuState Returns status flags for a menu item
GetMenuString Returns the menu-item prompt
GetSubMenu Returns the handle of a pop-up menu
GetSystemMenu Provides access to the System menu
HiliteMenuItem sets/removes a highlighting from a menu item
InsertMenu Inserts a new item in a menu
LoadMenu Returns a menu handle for a resource menu
ModifyMenu Changes an existing menu item
SetMenu Sets the menu for a window
TrackPopupMenu Displays and tracks a pop-up menu
Strings and Atoms
AnsiLower Converts a character string to lowercase
AnsiToOem Translates a Windows character set string to DOS
AnsiUpper Converts a character string to uppercase
B2Bin Converts a integer byte into a string
Bin2D Converts a string into a double precision numeric
C2Hex Converts a character byte into a hex string
D2Bin Converts a floating point number into a string
GlobalAddAtom Adds a string to Windows atom table system
GlobalGetAtomName Retrieve a string from windows atom table
IsAnsi Returns TRUE if a string is in ANSI format
cValToChar Converts any value into a string
Decrypt Decrypts a string
Encrypt Encrypts a string
IsAnsiLower Returns TRUE if an ANSI String is lowercase
IsAnsiUpper Returns TRUE if an ANSI String is uppercase
IsOEM Returns TRUE if a string is in OEM format
LoadString load a string from a stringtable resource
nStrHash Returns the position of a String in a hash table
OemToAnsi Translates a MS-DOS character set string to Windows
StrCapFirst Capitalizes the first character of a string
StrChar Returns a specified char from a string
StrToken Returns the n-th Token from a string
uCharToVal Converts a string into another var type
uValBlank Blanks any kind of clipper value
xPad Left/Right/Center fills a string on pixel base
Cursor and Caret Functions
CreateCaret Creates a new shape for the system caret
Cursor Loads and activates a specified Cursor from resource
CursorArrow Select the Windows default arrow cursor
CursorCatch Selects FiveWins catching hand cursor
CursorHand Selects FiveWins pointing hand cursor
CursorHand Selects FiveWins text get cursor
CursorWait Selects Windows default wait cursor
CursorWE Selects Windows West<->East cursor
CursorSize Selects FiveWins resize cursor
DestroyCaret Destroys the current system caret
DestroyCursor Destroys a cursor
GetCaretPos Returns the current position of the caret
GetCursorPos Returnes the cursor's current position
HideCaret Hides the caret by removing it from the screen
SetCaretPos Sets the position of the caret
ShowCaret Shows the caret on the screen
LoadCursor Load a cursor from resources
SetCursor Changes the Windows active cursor
SetCursorPos Sets the mouse cursor to a new position
Resource handling Functions
FindResource Returns the handle of a specified resource
FreeResources Release all library resources
GetFreeSystemResource Returns the percentage of free space for resources
GetFreeSpace Returns the size memory currently available
GetResources Returns resource or instance handle
GlobalAlloc allocates memory from the global heap
GlobalData Stores data to Windows global heap
GlobalFree Frees the given global memory object
hasResources Returns TRUE if the executable hosts resources
LoadResource loads the specified resource into global memory
MakeIntResource Converts an INT Resource ID into a Windows format
MemStat Creates a Dialog with all memory values
ResourceFree Releases a specified Resource
SetResources Load and select a resource file
Device context functions
CreateDC Creates a device context for the given device
DeleteDC Deletes a device context
DPToLP Converts device coordinates into logical coordinates
GetDC Retrieves the handle of a device context
GetMapMode Returns the current mapping mode
GetDeviceCaps Returns device specific informations
LPToDP Converts logical coordinates into device coordinates
ReleaseDC Release a device context and update the screen
SetMapMode Selects a drawing mode
SetViewPortExt Selects the viewport of a given device context
SetWindowExt Sets the X and Y size of a device context
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson