Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCrystal report in Visual Studio Pin
CDRAIN15-Mar-07 1:44
CDRAIN15-Mar-07 1:44 
QuestionDisabling a tab item Pin
sireesha_sree15-Mar-07 1:38
sireesha_sree15-Mar-07 1:38 
AnswerRe: Disabling a tab item Pin
Parthi_Appu15-Mar-07 1:45
Parthi_Appu15-Mar-07 1:45 
AnswerRe: Disabling a tab item Pin
David Crow15-Mar-07 2:52
David Crow15-Mar-07 2:52 
QuestionGlobal Hit Test Pin
Sydes15-Mar-07 1:30
Sydes15-Mar-07 1:30 
AnswerRe: Global Hit Test Pin
ThatsAlok15-Mar-07 1:35
ThatsAlok15-Mar-07 1:35 
GeneralRe: Global Hit Test Pin
Sydes15-Mar-07 1:41
Sydes15-Mar-07 1:41 
AnswerRe: Global Hit Test Pin
Parthi_Appu15-Mar-07 1:39
Parthi_Appu15-Mar-07 1:39 
Sydes wrote:
translate the mouse coords to a global hit test result which will hopefully give me the window handle that the mouse is over


First capture all the mouse events using,
SetCapture() API.

While MouseMouse use the,
WindowFromPoint(..) API to find the window under the mouse cursor.

Sydes wrote:
if possible, if I am over the title bar/menu/status bar etc.


If the window is valid, then send WM_NCHITTEST message to the window, to find out the area in that window.

Hope i understood your question..


Do your Duty and Don't expect the Result

GeneralRe: Global Hit Test Pin
Sydes15-Mar-07 1:41
Sydes15-Mar-07 1:41 
QuestionMouse move Pin
deeps_cute15-Mar-07 1:23
deeps_cute15-Mar-07 1:23 
AnswerRe: Mouse move Pin
_AnsHUMAN_ 15-Mar-07 1:27
_AnsHUMAN_ 15-Mar-07 1:27 
QuestionRe: Mouse move Pin
CPallini15-Mar-07 1:29
mveCPallini15-Mar-07 1:29 
AnswerRe: Mouse move Pin
deeps_cute15-Mar-07 1:35
deeps_cute15-Mar-07 1:35 
AnswerRe: Mouse move Pin
prasad_som15-Mar-07 2:06
prasad_som15-Mar-07 2:06 
GeneralRe: Mouse move Pin
Mike Dimmick15-Mar-07 3:03
Mike Dimmick15-Mar-07 3:03 
AnswerRe: Mouse move Pin
ThatsAlok15-Mar-07 1:36
ThatsAlok15-Mar-07 1:36 
GeneralRe: Mouse move Pin
Rajesh R Subramanian15-Mar-07 19:04
professionalRajesh R Subramanian15-Mar-07 19:04 
GeneralRe: Mouse move Pin
ThatsAlok15-Mar-07 19:22
ThatsAlok15-Mar-07 19:22 
QuestionUnhandled exception Pin
RajiRaghu14-Mar-07 23:57
RajiRaghu14-Mar-07 23:57 
GeneralRe: Unhandled exception Pin
prasad_som14-Mar-07 23:59
prasad_som14-Mar-07 23:59 
AnswerRe: Unhandled exception Pin
benjymous15-Mar-07 0:15
benjymous15-Mar-07 0:15 
GeneralRe: Unhandled exception Pin
RajiRaghu15-Mar-07 0:19
RajiRaghu15-Mar-07 0:19 
QuestionRe: Unhandled exception Pin
prasad_som15-Mar-07 0:22
prasad_som15-Mar-07 0:22 
AnswerRe: Unhandled exception Pin
cp987615-Mar-07 0:47
cp987615-Mar-07 0:47 
QuestionLock Window Refresh Pin
baerten14-Mar-07 23:57
baerten14-Mar-07 23:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.