From: "Patrick"
Subject: Win32 C/C++ sub-classing project.
Date: 1999/07/14
Message-ID: #1/1
Organization: CyberGate, Inc.
Reply-To: "Patrick"
NNTP-Posting-Date: 14 Jul 1999 15:52:39 GMT
Newsgroups: fido.win32,microsoft.public.win32.programmer.messaging,microsoft.public.win32.programmer.tools,microsoft.public.win32.programmer.ui
We need an experienced programmer for 1 sub-classing project.
We are limiting the project to under $200, but if you are good at this, it's
easy money.
Requirements :
We are attempting to drag an application window by it's client area (not
title bar) without it's permission or knowledge. Complicating this, is the
fact that we cannot interfere with the buttons & controls on that
applications window (allow click throughs). I am looking into the app
itself to see if we can detect this (difference between a control & client
area) - it will probably not be solvable by the C/C++ program, but is stated
F.Y.I.
In order to do implement the drag without interference by the application,
it appears we need a sub-class *or* windows hook to get the mouse messages
WM_LBUTTONDOWN & WM_MOUSEMOVE BEFORE the application window receives them.
Be aware that the application probably already has a hook in place for this
purpose, so we may need to insert a new procedure and point to the hook or
procedure that may already be in place.
Also, in case it is relevant, let me state that our C/C++ program will
actually be called from this stated application window, therefore running in
the same thread??
As you can tell, we are not really savvy on how to implement this, so any
corrections / comments are appreciated.
If you are interested in providing code to do this, please reply via E-mail
to : empirec@nospam.gate.net
Please remove the obvious nospam in any E-mails.
--
Patrick
E-mail : empirec@nospam.gate.net
|