[^^Up^^] [Menu] [About The Guide]
 WINDOWS and DIALOGS

 COMMANDS:

 DEFINE WINDOW ..       Create a new Window from Source
 DEFINE WINDOW MDI      Create a MDI Parent Window from Source
 DEFINE WINDOW MDICHILD Create a MDI Child Window from Source
 ACTIVATE WINDOW        Activate a Window and start the main event loop
 DEFINE DIALOG ..       Define a Dialog from Source or Resources
 ACTIVATE DIALOG ..     Activate a Dialog and its event loop. 

 DEFINE/SET MESSAGE     Define a segmented Messagebar
 DEFINE MSGITEM         Define a new MessageItem

 CLASSES:

 TWINDOW Class          FiveWin's huge window base class description
 TDIALOG Class          the dialog box class
 TMDIFRAME Class        the MDI parent (frame..) window class
 TMDICLIENT Class       description of the MDI client window class
 TMDICHILD Class        the MDI child window class
 TRECT Class            the tiny rectangle class
 TMSGBAR Class          the message bar class
 TMSGITEM Class         and the message bar item class

 FUNCTIONS:

 Window Functions

  ChangeProc            SubClass a Window
  CreateWindow          Creates overlapped, popUp or child window
  DefWindowProc         Calls the default window procedure
  DestroyWindow         Destroys a window
  FindWindow            Searches for a specified window
  GetClassName          Retrieves class name of a window
  GetClassInfo          Returns window class information
  GetParent             Returnes the window handle of a parent window
  GetWindow             Retrieves the handle of a related window
  GetWindowLong         Gets a long from the extra window memory
  GetWindowWord         Gets a word from the extra window memory
  GetWndApp             Returns the handle of the applications main window
  GetWndFrame           Returns the object of the last created parent window
  RegisterClass         Registers a window class
  RestProc              UnSubClass a Window
  SetClassWord          Changes a word in the extra class memory
  SetParent             Changes the parent of a window
  SetWindowLong         Changes a long into the extra window memory
  WindowFromPoint       Retrieves the window at a certain position

 Display and Movement  Functions

  BeginPaint            Prepares a window for painting  
  ClientToScreen        Converts client to screen coordinates
  CloseWindow           Minimizes a window
  EnableWindow          Enables or disables a window or control
  GetActiveWindow       Returns the handle of the active window
  GetCapture            Returns the handle of the mouse-capture window
  GetClientRect         Returns a window's client coordinates
  GetCoors              Returns a window's coordinates values
  GetDeskTopWindow      Retrieves the handle of the desktop window
  GetFocus              Returns handle of the window with input focus
  GetWindowText         Returns a window's title or a caption
  GetWndRect            Retrieves a window's screen coordinates
  InvalidateRect        Forces a rectangle area to be repainted
  IsIconic              Checks whether a window is minimized
  IsWindowEnabled       Checks whether a window is enabled
  IsWindowVisible       Checks whether a window is visible
  IsZoomed              Checks whether a window is maximized
  MoveWindow            Changes Size and position of a window
  MsgPaint              Paints the bottom message bar
  nWRow                 Returns a certain row number of a window
  nWRows                Returns the total number of text rows of a window
  ReleaseCapture        Releases the mouse capture
  SetActiveWindow       Makes a top-level window active
  SetCapture            Sets the mouse capture to a window
  SetFocus              Sets the input focus to a window
  SetWindowPos          Sets a window's size, position, and order
  SetWindowText         Sets a control text or window title
  SetWindowOrg          Sets the window origin for a given device context
  ShowWindow            Sets a window's visibility state
  UpdateWindow          Updates the client area of a window
  WndCenter             Centers a window to screen or a parent window
  WndCopy               Copies a windows image to the clipboard
  WndPrint              Sends the windows image to the printer
  WndRaised             Makes the border of a window look raised

 Color Functions

  GetBkColor            Returns the current background color
  GetPixel              Returns the RGB color of a pixel
  GetSysColor           Retrieves the system color element specified
  GetTextColor          Returns the current text color
  nColorToN             convert color string to DOS color number
  nRGB                  generates a RGB value
  nGetForeRGB           Returns the RGB Fore value of a color string 
  nGetBackRGB           Returns the RGB Back value of a color string 
  SetTextColor          Set the specified text color
  SetBkColor            Set the specified background color
  SetBkMode             Set the specified background mode
  SetPixel              Draws a single pixel

 Dialog box functions

  ChooseColor           Creates a color-selection dialog box
  ChooseFont            Creates a font-selection dialog box
  CGetFile              Creates a OpenFileName dialog box
  CreateDlg             Creates a modeless dialog box from resources
  CreateDlgIndirect     Creates a modeless dialog box from source
  DialogBox             Creates a PrintDlg dialog box
  DialogBoxIndirect     Creates modal dialog box from template
  EndDialog             Hides a modal dialog box
  FindText              Open Common FindText dialg box
  GetDialogBaseUnits    Returns the dialog base units
  GetDlgItem            Retrieves the handle of a dialog box control
  nDlgBox               Easily test a Dialog Box
  NextDlgTab            Returns WS_TABSTOP control
  WNetBrowseDialog      Displays dialog box to select a shared resource
  WNetConnectDialog     Displays a driver-specific connection dialog box
  WNetDisconnectDialog  Displays a driver-specific disconnection dialog box

 Error and Messagebox functions         

  MessageBox            Displays and operates a MessageBox window
  MsgAbout              Creates a predefined 'About' dialog box
  MsgAlert              Creates an Alert Message box
  MsgGet                Generic one line input dialog
  MsgInfo               Creates a message-box window
  MsgLogo               Displays a message box with an application logo
  MsgMeter              Displays and operates a progress meter dialog
  MsgRetryCancel        Displays and operates a retry or cancel dialog       
  MsgStop               Creates an Stop Message box 
  MsgToolBar            Creates a floating tool bar dialog 
  MsgYesNo              Displays and operates a YesNo style message box
  nMsgBox               Generic quick access message box
  WQOut                 Windows QOut() replacement

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson