saldata.hxx (fc9fd3f1) saldata.hxx (cc13e73e)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 190 unchanged lines hidden (view full) ---

199// - Defines -
200// -----------
201
202#define SAL_PROFILE_APPNAME ((PSZ)"StarOffice")
203#define SAL_PROFILE_USEDJP ((PSZ)"UseDJP")
204#define SAL_PROFILE_PRINTDJP ((PSZ)"PrintDJP")
205#define SAL_PROFILE_PRINTRAW ((PSZ)"PrintRAW")
206
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 190 unchanged lines hidden (view full) ---

199// - Defines -
200// -----------
201
202#define SAL_PROFILE_APPNAME ((PSZ)"StarOffice")
203#define SAL_PROFILE_USEDJP ((PSZ)"UseDJP")
204#define SAL_PROFILE_PRINTDJP ((PSZ)"PrintDJP")
205#define SAL_PROFILE_PRINTRAW ((PSZ)"PrintRAW")
206
207#define SAL_FRAME_WNDEXTRA sizeof(ULONG)
208#define SAL_FRAME_THIS 0
207#define SAL_FRAME_WNDEXTRA (sizeof(ULONG)*3)
208#define SAL_FRAME_THIS 0
209// these offsets are hardcoded in dnd/globals.hxx too to avoid vcl dependancies
210#define SAL_FRAME_DROPTARGET sizeof(ULONG)
211#define SAL_FRAME_DRAGSOURCE (sizeof(ULONG)*2)
212
209#define SAL_FRAME_CLASSNAME "SALFRAME"
210#define SAL_SUBFRAME_CLASSNAME "SALSUBFRAME"
211#define SAL_OBJECT_WNDEXTRA sizeof(ULONG)
212#define SAL_OBJECT_THIS 0
213#define SAL_OBJECT_CLASSNAME "SALOBJECT"
214#define SAL_OBJECT_CHILDCLASSNAME "SALOBJECTCHILD"
215#define SAL_OBJECT_CLIPCLASSNAME "SALOBJECTCLIP"
216#define SAL_COM_CLASSNAME "SALCOMWND"

--- 53 unchanged lines hidden (view full) ---

270#define SAL_MSG_RECREATEHWND (WM_USER+166)
271// wParam == newParentHwnd; lParam == oldHwnd; lResult == newhWnd
272#define SAL_MSG_RECREATECHILDHWND (WM_USER+167)
273// wParam == 0; lParam == HWND;
274#define SAL_MSG_DESTROYHWND (WM_USER+168)
275// POSTTIMER-Message; wparam = 0, lParam == time
276#define SAL_MSG_POSTTIMER (WM_USER+169)
277
213#define SAL_FRAME_CLASSNAME "SALFRAME"
214#define SAL_SUBFRAME_CLASSNAME "SALSUBFRAME"
215#define SAL_OBJECT_WNDEXTRA sizeof(ULONG)
216#define SAL_OBJECT_THIS 0
217#define SAL_OBJECT_CLASSNAME "SALOBJECT"
218#define SAL_OBJECT_CHILDCLASSNAME "SALOBJECTCHILD"
219#define SAL_OBJECT_CLIPCLASSNAME "SALOBJECTCLIP"
220#define SAL_COM_CLASSNAME "SALCOMWND"

--- 53 unchanged lines hidden (view full) ---

274#define SAL_MSG_RECREATEHWND (WM_USER+166)
275// wParam == newParentHwnd; lParam == oldHwnd; lResult == newhWnd
276#define SAL_MSG_RECREATECHILDHWND (WM_USER+167)
277// wParam == 0; lParam == HWND;
278#define SAL_MSG_DESTROYHWND (WM_USER+168)
279// POSTTIMER-Message; wparam = 0, lParam == time
280#define SAL_MSG_POSTTIMER (WM_USER+169)
281
282// drag&drop internal messages (see dnd/globals.hxx)
283#define DM_AOO_ENDCONVERSATION (WM_USER+170)
284
278// -----------------
279// - Helpfunctions -
280// -----------------
281
282inline void SetWindowPtr( HWND hWnd, SalFrame* pThis )
283{
284 WinSetWindowULong( hWnd, SAL_FRAME_THIS, (ULONG)pThis );
285}

--- 17 unchanged lines hidden ---
285// -----------------
286// - Helpfunctions -
287// -----------------
288
289inline void SetWindowPtr( HWND hWnd, SalFrame* pThis )
290{
291 WinSetWindowULong( hWnd, SAL_FRAME_THIS, (ULONG)pThis );
292}

--- 17 unchanged lines hidden ---