[PATCH] Setup Window class improvements.

Gary R. Van Sickle g.r.vansickle@worldnet.att.net
Mon Nov 25 20:34:00 GMT 2002


Here it is:

2002-11-25  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

	* window.h (Window::GetWindowRect): New method declaration.
	(Window::GetClientRect): Ditto.
	(Window::MoveWindow): Ditto.
	(Window::ScreenToClient): Ditto.
	* window.cc (REFLECTION_INFO): Remove.
	(ReflectionInfo): Remove.
	(Window::FirstWindowProcReflector): Use the WM_NCCREATE message instead
	of the horrid REFLECTION_INFO hack to hook the Window instance to the
	HWND instance.
	(Window::WindowProcReflector): Use GetWindowLongPtr() now that it's
	available.
	(Window::Create): Change to use new WM_NCCREATE reflection procedure
	above.
	(Window::GetWindowRect): New method.
	(Window::GetClientRect): New method.
	(Window::MoveWindow): New method.
	(Window::CenterWindow): Use new methods, also specify "::" for some non-
	member functions with the same names.
	(Window::ScreenToClient): New method.

-- 
Gary R. Van Sickle
Brewer.  Patriot. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window.diff
Type: application/octet-stream
Size: 6897 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20021125/97a54d07/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog
Type: application/octet-stream
Size: 873 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20021125/97a54d07/attachment-0001.obj>


More information about the Cygwin-apps mailing list