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

updown.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "commctrl.h"
#include "comctl32.h"
#include "uxtheme.h"
#include "vssym32.h"
#include "wine/unicode.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  UPDOWN_INFO

Defines

#define INITIAL_DELAY   500 /* initial timer until auto-inc kicks in */
#define AUTOPRESS_DELAY   250 /* time to keep arrow pressed on KEY_DOWN */
#define REPEAT_DELAY   50 /* delay between auto-increments */
#define DEFAULT_WIDTH   16 /* default width of the ctrl */
#define DEFAULT_XSEP   0 /* default separation between buddy and ctrl */
#define DEFAULT_ADDTOP   0 /* amount to extend above the buddy window */
#define DEFAULT_ADDBOT   0 /* amount to extend below the buddy window */
#define DEFAULT_BUDDYBORDER   2 /* Width/height of the buddy border */
#define DEFAULT_BUDDYSPACER   2 /* Spacer between the buddy and the ctrl */
#define DEFAULT_BUDDYBORDER_THEMED   1 /* buddy border when theming is enabled */
#define DEFAULT_BUDDYSPACER_THEMED   0 /* buddy spacer when theming is enabled */
#define FLAG_INCR   0x01
#define FLAG_DECR   0x02
#define FLAG_MOUSEIN   0x04
#define FLAG_PRESSED   0x08
#define FLAG_BUDDYINT   0x10 /* UDS_SETBUDDYINT was set on creation */
#define FLAG_ARROW   (FLAG_INCR | FLAG_DECR)
#define BUDDY_TYPE_UNKNOWN   0
#define BUDDY_TYPE_LISTBOX   1
#define BUDDY_TYPE_EDIT   2
#define TIMER_AUTOREPEAT   1
#define TIMER_ACCEL   2
#define TIMER_AUTOPRESS   3
#define UPDOWN_GetInfoPtr(hwnd)   ((UPDOWN_INFO *)GetWindowLongPtrW (hwnd,0))
#define COUNT_OF(a)   (sizeof(a)/sizeof(a[0]))
#define BUDDY_SUBCLASSID   1

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (updown)
static void UPDOWN_DoAction (UPDOWN_INFO *infoPtr, int delta, int action)
static BOOL UPDOWN_IsBuddyEdit (const UPDOWN_INFO *infoPtr)
static BOOL UPDOWN_IsBuddyListbox (const UPDOWN_INFO *infoPtr)
static BOOL UPDOWN_InBounds (const UPDOWN_INFO *infoPtr, int val)
static BOOL UPDOWN_OffsetVal (UPDOWN_INFO *infoPtr, int delta)
static BOOL UPDOWN_HasBuddyBorder (const UPDOWN_INFO *infoPtr)
static void UPDOWN_GetArrowRect (const UPDOWN_INFO *infoPtr, RECT *rect, int arrow)
static INT UPDOWN_GetArrowFromPoint (const UPDOWN_INFO *infoPtr, RECT *rect, POINT pt)
static WCHAR UPDOWN_GetThousandSep (void)
static BOOL UPDOWN_GetBuddyInt (UPDOWN_INFO *infoPtr)
static BOOL UPDOWN_SetBuddyInt (const UPDOWN_INFO *infoPtr)
static BOOL UPDOWN_DrawBuddyBackground (const UPDOWN_INFO *infoPtr, HDC hdc)
static LRESULT UPDOWN_Draw (const UPDOWN_INFO *infoPtr, HDC hdc)
static LRESULT UPDOWN_Paint (const UPDOWN_INFO *infoPtr, HDC hdc)
static LRESULT UPDOWN_KeyPressed (UPDOWN_INFO *infoPtr, int key)
static LRESULT UPDOWN_SetRange (UPDOWN_INFO *infoPtr, INT Max, INT Min)
static LRESULT UPDOWN_MouseWheel (UPDOWN_INFO *infoPtr, WPARAM wParam)
static LRESULT CALLBACK UPDOWN_Buddy_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uId, DWORD_PTR ref_data)
static HWND UPDOWN_SetBuddy (UPDOWN_INFO *infoPtr, HWND bud)
static BOOL UPDOWN_IsEnabled (const UPDOWN_INFO *infoPtr)
static BOOL UPDOWN_CancelMode (UPDOWN_INFO *infoPtr)
static void UPDOWN_HandleMouseEvent (UPDOWN_INFO *infoPtr, UINT msg, INT x, INT y)
static LRESULT WINAPI UpDownWindowProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
void UPDOWN_Register (void)
void UPDOWN_Unregister (void)

Generated on Sat May 26 2012 05:06:07 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.