Click here to Skip to main content
15,921,156 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General:confused: Pin
namaskaaram29-May-05 20:27
namaskaaram29-May-05 20:27 
GeneralRe: :confused: Pin
patnsnaudy29-May-05 20:49
patnsnaudy29-May-05 20:49 
GeneralRe: :confused: Pin
S. Senthil Kumar29-May-05 20:53
S. Senthil Kumar29-May-05 20:53 
GeneralRe: :confused: Pin
namaskaaram29-May-05 21:45
namaskaaram29-May-05 21:45 
QuestionHow to record voice using DirectSound..? Pin
mpallavi29-May-05 20:24
mpallavi29-May-05 20:24 
AnswerRe: How to record voice using DirectSound..? Pin
Flit31-May-05 2:55
Flit31-May-05 2:55 
GeneralMouse Move for Main Frame Pin
laiju29-May-05 20:02
laiju29-May-05 20:02 
GeneralRe: Mouse Move for Main Frame Pin
Blake Miller31-May-05 6:19
Blake Miller31-May-05 6:19 
The mouse movement messages go to the window with focus.
It is sent to your controls, MDI windows, etc. instead of the mainframe, when the mouse is over those other windows.

If you want to identify where the mouse is located at other times I think you have at least two choices:
1. Every one of your child windows needs to send a message to its parent, and you interpet these special messages as mouse movement - passing them up to each 'parent' will eventually get them to the mainframe.
2. Install a low-level mouse hook handler, and only pay attention to movement messages if the mouse coordinates intersect the screen coordinates of your main frame window. In that case, then, the mouse is 'over' your mainframe window somewhere. The low level mouse hook handler would need to go into a DLL, as I recall.

GeneralCall Windows Dial up thr C# or VC++ Pin
ksanju100029-May-05 19:11
ksanju100029-May-05 19:11 
GeneralRe: Call Windows Dial up thr C# or VC++ Pin
ThatsAlok29-May-05 19:28
ThatsAlok29-May-05 19:28 
QuestionProtect a folder? Pin
Priyank Bolia29-May-05 18:43
Priyank Bolia29-May-05 18:43 
AnswerRe: Protect a folder? Pin
Ryan Binns29-May-05 18:47
Ryan Binns29-May-05 18:47 
GeneralRe: Protect a folder? Pin
Priyank Bolia29-May-05 19:09
Priyank Bolia29-May-05 19:09 
GeneralRe: Protect a folder? Pin
toxcct29-May-05 20:13
toxcct29-May-05 20:13 
GeneralRe: Protect a folder? Pin
Priyank Bolia29-May-05 22:23
Priyank Bolia29-May-05 22:23 
GeneralRe: Protect a folder? Pin
toxcct29-May-05 22:29
toxcct29-May-05 22:29 
GeneralOnActivateView Not Invoked Pin
laiju29-May-05 18:20
laiju29-May-05 18:20 
Generalimage and wav Pin
Anonymous29-May-05 17:29
Anonymous29-May-05 17:29 
GeneralRe: image and wav Pin
Christian Graus29-May-05 17:36
protectorChristian Graus29-May-05 17:36 
GeneralModifying date Pin
Weiye Chen29-May-05 15:03
Weiye Chen29-May-05 15:03 
GeneralRe: Modifying date Pin
Toni7829-May-05 16:05
Toni7829-May-05 16:05 
GeneralRe: Modifying date Pin
Christian Graus29-May-05 16:31
protectorChristian Graus29-May-05 16:31 
GeneralRe: Modifying date Pin
Ryan Binns29-May-05 18:51
Ryan Binns29-May-05 18:51 
GeneralRe: Modifying date Pin
Weiye Chen29-May-05 17:50
Weiye Chen29-May-05 17:50 
GeneralRe: Modifying date Pin
ThatsAlok29-May-05 20:33
ThatsAlok29-May-05 20:33 

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.