ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

controls.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef HBMMENU_CALLBACK
00004 #define HBMMENU_CALLBACK    ((HBITMAP) -1)
00005 #endif
00006 #ifndef HBMMENU_SYSTEM
00007 #define HBMMENU_SYSTEM      ((HBITMAP)  1)
00008 #endif
00009 #ifndef HBMMENU_MBAR_RESTORE
00010 #define HBMMENU_MBAR_RESTORE    ((HBITMAP)  2)
00011 #endif
00012 #ifndef HBMMENU_MBAR_MINIMIZE
00013 #define HBMMENU_MBAR_MINIMIZE   ((HBITMAP)  3)
00014 #endif
00015 #ifndef HBMMENU_MBAR_CLOSE
00016 #define HBMMENU_MBAR_CLOSE  ((HBITMAP)  5)
00017 #endif
00018 #ifndef HBMMENU_MBAR_CLOSE_D
00019 #define HBMMENU_MBAR_CLOSE_D    ((HBITMAP)  6)
00020 #endif
00021 #ifndef HBMMENU_MBAR_MINIMIZE_D
00022 #define HBMMENU_MBAR_MINIMIZE_D ((HBITMAP)  7)
00023 #endif
00024 #ifndef HBMMENU_POPUP_CLOSE
00025 #define HBMMENU_POPUP_CLOSE ((HBITMAP)  8)
00026 #endif
00027 #ifndef HBMMENU_POPUP_RESTORE
00028 #define HBMMENU_POPUP_RESTORE   ((HBITMAP)  9)
00029 #endif
00030 #ifndef HBMMENU_POPUP_MAXIMIZE
00031 #define HBMMENU_POPUP_MAXIMIZE  ((HBITMAP) 10)
00032 #endif
00033 #ifndef HBMMENU_POPUP_MINIMIZE
00034 #define HBMMENU_POPUP_MINIMIZE  ((HBITMAP) 11)
00035 #endif
00036 
00037 /* combo box */
00038 #define ID_CB_LISTBOX           1000
00039 #define ID_CB_EDIT              1001
00040 
00041 /* Combo box message return values */
00042 #define CB_OKAY             0
00043 
00044 /* internal flags */
00045 #define CBF_DROPPED             0x0001
00046 #define CBF_BUTTONDOWN          0x0002
00047 #define CBF_NOROLLUP            0x0004
00048 #define CBF_MEASUREITEM         0x0008
00049 #define CBF_FOCUSED             0x0010
00050 #define CBF_CAPTURE             0x0020
00051 #define CBF_EDIT                0x0040
00052 #define CBF_NORESIZE            0x0080
00053 #define CBF_NOTIFY              0x0100
00054 #define CBF_NOREDRAW            0x0200
00055 #define CBF_SELCHANGE           0x0400
00056 #define CBF_NOEDITNOTIFY        0x1000
00057 #define CBF_NOLBSELECT          0x2000  /* do not change current selection */
00058 #define CBF_BEENFOCUSED         0x4000  /* has it ever had focus           */
00059 #define CBF_EUI                 0x8000
00060 
00061 /* combo state struct */
00062 typedef struct
00063 {
00064    HWND           self;
00065    HWND           owner;
00066    UINT           dwStyle;
00067    HWND           hWndEdit;
00068    HWND           hWndLBox;
00069    UINT           wState;
00070    HFONT          hFont;
00071    RECT           textRect;
00072    RECT           buttonRect;
00073    RECT           droppedRect;
00074    INT            droppedIndex;
00075    INT            fixedOwnerDrawHeight;
00076    INT            droppedWidth;   /* last two are not used unless set */
00077    INT            editHeight;     /* explicitly */
00078    LONG           UIState;
00079 } HEADCOMBO,*LPHEADCOMBO;
00080 
00081 /* Note, that CBS_DROPDOWNLIST style is actually (CBS_SIMPLE | CBS_DROPDOWN) */
00082 #define CB_GETTYPE( lphc )    ((lphc)->dwStyle & (CBS_DROPDOWNLIST))
00083 
00084 extern BOOL COMBO_FlipListbox( LPHEADCOMBO, BOOL, BOOL );
00085 
00086 #define LB_INSERTSTRING_UPPER     0x1AA
00087 #define LB_INSERTSTRING_LOWER     0x1AB
00088 #define LB_ADDSTRING_UPPER        0x1AC
00089 #define LB_ADDSTRING_LOWER        0x1AD
00090 
00091 HRGN set_control_clipping( HDC hdc, const RECT *rect );
00092 
00093 LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
00094 LRESULT WINAPI User32DefWindowProc(HWND,UINT,WPARAM,LPARAM,BOOL);
00095 BOOL WINAPI RegisterClientPFN(VOID);
00096 LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam );
00097 LRESULT WINAPI ButtonWndProcA( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
00098 LRESULT WINAPI ButtonWndProcW( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
00099 LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL unicode);
00100 LRESULT WINAPI ComboWndProcA( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
00101 LRESULT WINAPI ComboWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
00102 LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, BOOL unicode);
00103 LRESULT WINAPI EditWndProcA(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
00104 LRESULT WINAPI EditWndProcW(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
00105 LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, BOOL unicode);
00106 LRESULT WINAPI ListBoxWndProcA( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
00107 LRESULT WINAPI ListBoxWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
00108 LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,WPARAM wParam, LPARAM lParam, BOOL unicode);
00109 LRESULT WINAPI MDIClientWndProcA( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
00110 LRESULT WINAPI MDIClientWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
00111 LRESULT WINAPI MDIClientWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, BOOL unicode);
00112 LRESULT WINAPI PopupMenuWndProcA(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam);
00113 LRESULT WINAPI PopupMenuWndProcW(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
00114 LRESULT WINAPI ScrollBarWndProcW( HWND hwnd, UINT uMsg, WPARAM wParam,LPARAM lParam );
00115 LRESULT WINAPI ScrollBarWndProcA( HWND hwnd, UINT uMsg, WPARAM wParam,LPARAM lParam );
00116 LRESULT WINAPI StaticWndProcA( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
00117 LRESULT WINAPI StaticWndProcW( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
00118 LRESULT WINAPI StaticWndProc_common( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL unicode);
00119 LRESULT WINAPI SwitchWndProcA( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
00120 LRESULT WINAPI SwitchWndProcW( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );

Generated on Sun May 27 2012 04:38:41 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.