Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

static.cpp File Reference

#include <stdlib.h>
#include <string.h>
#include <os2win.h>
#include "controls.h"
#include "static.h"
#include "dbglocal.h"

Include dependency graph for static.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define DBG_LOCALLOG   DBG_static

Typedefs

typedef void(* pfPaint )(HWND, HDC)

Functions

void STATIC_PaintTextfn (HWND hwnd, HDC hdc)
void STATIC_PaintRectfn (HWND hwnd, HDC hdc)
void STATIC_PaintIconfn (HWND hwnd, HDC hdc)
void STATIC_PaintBitmapfn (HWND hwnd, HDC hdc)
void STATIC_PaintMetafilefn (HWND hwnd, HDC hdc)
void STATIC_PaintOwnerDrawfn (HWND hwnd, HDC hdc)
void STATIC_PaintEtchedfn (HWND hwnd, HDC hdc)
void STATIC_ResizeWindow (HWND hwnd, DWORD dwStyle, INT w, INT h)
HICON STATIC_SetIcon (HWND hwnd, HICON hicon)
HBITMAP STATIC_SetBitmap (HWND hwnd, HBITMAP hBitmap)
HENHMETAFILE STATIC_SetMetafile (HWND hwnd, HENHMETAFILE hMetafile)
HICON STATIC_LoadIcon (HWND hwnd, LPCSTR name)
HBITMAP STATIC_LoadBitmap (HWND hwnd, LPCSTR name)
HBITMAP STATIC_LoadMetafile (HWND hwnd, LPCSTR name)
LRESULT STATIC_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_NCDestroy (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_Paint (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_Enable (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_SysColorChange (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_SetText (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_GetText (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_GetTextLength (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_SetFont (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_GetFont (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_NCHitTest (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_GetDlgCode (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_GetIcon (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_GetImage (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_SetImage (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_SetIconMsg (HWND hwnd, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_Click (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
LRESULT STATIC_DoubleClick (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
LRESULT WINAPI StaticWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL STATIC_Register ()
BOOL STATIC_Unregister ()

Variables

COLORREF color_windowframe
COLORREF color_background
COLORREF color_window
pfPaint staticPaintFunc [SS_TYPEMASK+1]


Define Documentation

#define DBG_LOCALLOG   DBG_static
 

Definition at line 31 of file static.cpp.


Typedef Documentation

typedef void(* pfPaint)( HWND, HDC )
 

Definition at line 47 of file static.cpp.


Function Documentation

void STATIC_PaintTextfn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 597 of file static.cpp.

void STATIC_PaintRectfn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 672 of file static.cpp.

void STATIC_PaintIconfn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 713 of file static.cpp.

void STATIC_PaintBitmapfn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 758 of file static.cpp.

void STATIC_PaintMetafilefn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 830 of file static.cpp.

void STATIC_PaintOwnerDrawfn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 843 of file static.cpp.

void STATIC_PaintEtchedfn HWND    hwnd,
HDC    hdc
[static]
 

Definition at line 861 of file static.cpp.

void STATIC_ResizeWindow HWND    hwnd,
DWORD    dwStyle,
INT    w,
INT    h
[static]
 

Definition at line 72 of file static.cpp.

Referenced by STATIC_SetBitmap(), and STATIC_SetIcon().

HICON STATIC_SetIcon HWND    hwnd,
HICON    hicon
[static]
 

Definition at line 88 of file static.cpp.

Referenced by STATIC_NCCreate(), STATIC_SetIconMsg(), STATIC_SetImage(), and STATIC_SetText().

HBITMAP STATIC_SetBitmap HWND    hwnd,
HBITMAP    hBitmap
[static]
 

Definition at line 132 of file static.cpp.

Referenced by STATIC_NCCreate(), STATIC_SetImage(), and STATIC_SetText().

HENHMETAFILE STATIC_SetMetafile HWND    hwnd,
HENHMETAFILE    hMetafile
[static]
 

Definition at line 165 of file static.cpp.

Referenced by STATIC_NCCreate(), STATIC_SetImage(), and STATIC_SetText().

HICON STATIC_LoadIcon HWND    hwnd,
LPCSTR    name
[static]
 

Definition at line 185 of file static.cpp.

Referenced by STATIC_NCCreate(), and STATIC_SetText().

HBITMAP STATIC_LoadBitmap HWND    hwnd,
LPCSTR    name
[static]
 

Definition at line 202 of file static.cpp.

Referenced by STATIC_NCCreate(), and STATIC_SetText().

HBITMAP STATIC_LoadMetafile HWND    hwnd,
LPCSTR    name
[static]
 

Definition at line 214 of file static.cpp.

Referenced by STATIC_NCCreate(), and STATIC_SetText().

LRESULT STATIC_NCCreate HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 225 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_Create HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 270 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_NCDestroy HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 288 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_Paint HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 309 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_Enable HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 321 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_SysColorChange HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 332 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_SetText HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 343 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_GetText HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 361 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_GetTextLength HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 376 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_SetFont HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 384 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_GetFont HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 404 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_NCHitTest HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 411 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_GetDlgCode HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 423 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_GetIcon HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 428 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_GetImage HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 435 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_SetImage HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 462 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_SetIconMsg HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 490 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_Click HWND    hwnd,
UINT    uMsg,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 501 of file static.cpp.

Referenced by StaticWndProc().

LRESULT STATIC_DoubleClick HWND    hwnd,
UINT    uMsg,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 510 of file static.cpp.

Referenced by StaticWndProc().

LRESULT WINAPI StaticWndProc HWND    hwnd,
UINT    uMsg,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 522 of file static.cpp.

BOOL STATIC_Register  
 

Definition at line 881 of file static.cpp.

Referenced by CONTROLS_Register().

BOOL STATIC_Unregister  
 

Definition at line 901 of file static.cpp.

Referenced by CONTROLS_Unregister().


Variable Documentation

COLORREF color_windowframe [static]
 

Definition at line 44 of file static.cpp.

COLORREF color_background [static]
 

Definition at line 44 of file static.cpp.

COLORREF color_window [static]
 

Definition at line 44 of file static.cpp.

pfPaint staticPaintFunc[SS_TYPEMASK+1] [static]
 

Initial value:

Definition at line 49 of file static.cpp.


Generated on Wed Jan 23 23:20:06 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001