Changeset 724 for trunk/src/user32/new/win32wnd.h
- Timestamp:
- Aug 28, 1999, 4:09:58 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wnd.h
r715 r724 1 /* $Id: win32wnd.h,v 1.2 6 1999-08-27 17:50:57 dengertExp $ */1 /* $Id: win32wnd.h,v 1.27 1999-08-28 14:09:30 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Code for OS/2 … … 45 45 #define WM_WIN32_POSTMESSAGEW 0x4001 46 46 47 #define MAX_WINDOW_NAMELENGTH 256 48 49 class Win32Window : private GenericObject, private ChildWindow 47 class Win32Window : public GenericObject, private ChildWindow 50 48 { 51 49 public: … … 91 89 HWND getOS2WindowHandle() { return OS2Hwnd; }; 92 90 HWND getOS2FrameWindowHandle() { return OS2HwndFrame; }; 91 Win32WndClass *getWindowClass() { return windowClass; }; 92 93 93 BOOL isFrameWindow() { return OS2Hwnd != OS2HwndFrame; }; 94 94 Win32Window *getParent() { return (Win32Window *)ChildWindow::GetParent(); }; … … 146 146 int GetWindowTextLengthA(); 147 147 int GetWindowTextA(LPSTR lpsz, int cch); 148 BOOL SetWindowTextA(LPCSTR lpsz); 148 BOOL SetWindowText(LPSTR lpsz); 149 BOOL hasWindowName(LPSTR wndname, BOOL fUnicode = 0); 149 150 150 151 LRESULT SendMessageA(ULONG msg, WPARAM wParam, LPARAM lParam); … … 158 159 159 160 Win32WndClass *getClass() { return windowClass; }; 161 162 static HWND FindWindowEx(HWND hwndParent, HWND hwndChildAfter, LPSTR lpszClass, LPSTR lpszWindow, 163 BOOL fUnicode = 0); 160 164 161 165 static HWND Win32ToOS2Handle(HWND hwnd) … … 219 223 Win32Resource *iconResource; 220 224 221 char windowNameA[MAX_WINDOW_NAMELENGTH];222 WCHAR windowNameW[MAX_WINDOW_NAMELENGTH];223 ULONG wndNameLength; 225 char *windowNameA; 226 WCHAR *windowNameW; 227 ULONG wndNameLength; //including 0 terminator 224 228 225 229 ULONG *userWindowLong;
Note:
See TracChangeset
for help on using the changeset viewer.