Defines | Functions | Variables

ap_Win32TopRuler.cpp File Reference

#include <stdio.h>
#include <windows.h>
#include "ut_types.h"
#include "ut_misc.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_Win32OS.h"
#include "ap_Win32TopRuler.h"
#include "gr_Win32Graphics.h"
#include "xap_Win32App.h"
#include "ap_Win32FrameImpl.h"
#include "ut_Win32LocaleString.h"
#include "fv_View.h"

Defines

#define GWL(hwnd)   (AP_Win32TopRuler*)GetWindowLongPtrW((hwnd), GWLP_USERDATA)
#define SWL(hwnd, f)   SetWindowLongPtrW((hwnd), GWLP_USERDATA,(LONG_PTR)(f))
#define ENSUREP(p)   do { UT_ASSERT_HARMLESS(p); if (!p) goto Cleanup; } while (0)

Functions

static EV_EditModifierState s_GetEMS (WPARAM fwKeys)

Variables

static wchar_t s_TopRulerWndClassName [256]

Define Documentation

#define ENSUREP (   p  )     do { UT_ASSERT_HARMLESS(p); if (!p) goto Cleanup; } while (0)
#define GWL (   hwnd  )     (AP_Win32TopRuler*)GetWindowLongPtrW((hwnd), GWLP_USERDATA)
#define SWL (   hwnd,
  f 
)    SetWindowLongPtrW((hwnd), GWLP_USERDATA,(LONG_PTR)(f))

Function Documentation

static EV_EditModifierState s_GetEMS ( WPARAM  fwKeys  )  [static]

Variable Documentation

wchar_t s_TopRulerWndClassName[256] [static]