source: trunk/src/user32/new/oslibwin.h@ 314

Last change on this file since 314 was 314, checked in by sandervl, 26 years ago

Misc window class changes/bugfixes

File size: 1.1 KB
Line 
1/* $Id: oslibwin.h,v 1.3 1999-07-16 11:32:08 sandervl Exp $ */
2/*
3 * Window API wrappers for OS/2
4 *
5 *
6 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __OSLIBWIN_H__
13#define __OSLIBWIN_H__
14
15#define OS2TOWIN32POINT(height, y) (height - y)
16
17#define OSLIB_HWND_DESKTOP 0
18BOOL OSLibWinSetParent(HWND hwnd, HWND hwndParent, ULONG fRedraw = TRUE);
19
20
21HWND OSLibWinCreateWindow(HWND hwndParent, ULONG dwWinStyle, ULONG dwFrameStyle,
22 char *pszName, ULONG x, ULONG y, ULONG cx, ULONG cy,
23 HWND Owner, ULONG fHWND_BOTTOM);
24
25BOOL OSLibWinConvertStyle(ULONG dwStyle, ULONG *OSWinStyle, ULONG *OSFrameStyle);
26
27BOOL OSLibWinSetWindowULong(HWND hwnd, ULONG offset, ULONG value);
28ULONG OSLibWinGetWindowULong(HWND hwnd, ULONG offset);
29
30BOOL OSLibPostMessage(HWND hwnd, ULONG msg, ULONG wParam, ULONG lParam);
31
32HWND OSLibWinCreateMenu(HWND hwndParent, PVOID menutemplate);
33
34HWND OSLibWinQueryTopMostChildWindow(HWND hwndParent);
35
36#endif //__OSLIBWIN_H__
Note: See TracBrowser for help on using the repository browser.