Click here to Skip to main content
15,893,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compatibility between Java and VC++ in socket programming Pin
Mark Salsbery19-Oct-06 9:55
Mark Salsbery19-Oct-06 9:55 
GeneralRe: Compatibility between Java and VC++ in socket programming Pin
hapc19-Oct-06 16:48
hapc19-Oct-06 16:48 
GeneralRe: Compatibility between Java and VC++ in socket programming Pin
Mark Salsbery19-Oct-06 17:06
Mark Salsbery19-Oct-06 17:06 
GeneralRe: Compatibility between Java and VC++ in socket programming Pin
Mark Salsbery19-Oct-06 17:09
Mark Salsbery19-Oct-06 17:09 
QuestionCopy part of an image to clipboard Pin
Yaron Abershitz14-Oct-06 7:45
Yaron Abershitz14-Oct-06 7:45 
AnswerRe: Copy part of an image to clipboard Pin
Mark Salsbery14-Oct-06 9:57
Mark Salsbery14-Oct-06 9:57 
GeneralRe: Copy part of an image to clipboard Pin
Yaron Abershitz15-Oct-06 5:17
Yaron Abershitz15-Oct-06 5:17 
GeneralRe: Copy part of an image to clipboard Pin
Mark Salsbery15-Oct-06 7:54
Mark Salsbery15-Oct-06 7:54 
QuestionBitmaps Pin
Waldermort14-Oct-06 6:45
Waldermort14-Oct-06 6:45 
AnswerRe: Bitmaps Pin
Mark Salsbery14-Oct-06 7:06
Mark Salsbery14-Oct-06 7:06 
GeneralRe: Bitmaps Pin
Waldermort14-Oct-06 7:19
Waldermort14-Oct-06 7:19 
GeneralRe: Bitmaps Pin
Mark Salsbery14-Oct-06 7:29
Mark Salsbery14-Oct-06 7:29 
Questionprogramming Pin
Dure-Shehwar14-Oct-06 5:42
Dure-Shehwar14-Oct-06 5:42 
AnswerRe: programming Pin
Sceptic Mole14-Oct-06 9:28
Sceptic Mole14-Oct-06 9:28 
AnswerRe: programming Pin
Mark Salsbery14-Oct-06 10:04
Mark Salsbery14-Oct-06 10:04 
AnswerRe: programming Pin
Hamid_RT14-Oct-06 19:13
Hamid_RT14-Oct-06 19:13 
Questionhook mousewheel problem Pin
Michael ZY14-Oct-06 5:24
Michael ZY14-Oct-06 5:24 
I want to hook the WM_MOUSEWHEEL msg in globel and identify whether it is scroll in or scroll out by 'zDelta', but the 'zDelta'(below) always seem to be zero. Can any one help me.
Thanks!

extern "C" _declspec(dllexport) LRESULT WINAPI MouseProc(int nCode,WPARAM wParam,LPARAM lParam)
{
   if(nCode < 0)
      return CallNextHookEx(g_hHook,nCode,wParam,lParam);
   
   if(nCode == HC_ACTION)
   {
      switch(wParam)
      {
         case WM_MOUSEWHEEL:
            short zDelta = (short)HIWORD(wParam);// The 'zDelta' always seem to be zero
            break;
         ...........
         default:
            return CallNextHookEx(g_hHook,nCode,wParam,lParam);
      }
   }
}

AnswerRe: hook mousewheel problem Pin
Mark Salsbery14-Oct-06 6:59
Mark Salsbery14-Oct-06 6:59 
GeneralRe: hook mousewheel problem Pin
Michael ZY14-Oct-06 14:40
Michael ZY14-Oct-06 14:40 
GeneralRe: hook mousewheel problem Pin
Mark Salsbery14-Oct-06 15:01
Mark Salsbery14-Oct-06 15:01 
GeneralRe: hook mousewheel problem Pin
Mark Salsbery14-Oct-06 15:10
Mark Salsbery14-Oct-06 15:10 
GeneralRe: hook mousewheel problem Pin
Michael ZY15-Oct-06 1:20
Michael ZY15-Oct-06 1:20 
QuestionHow to catch keyboard event before the operation system ? Pin
Yanshof14-Oct-06 5:21
Yanshof14-Oct-06 5:21 
AnswerRe: How to catch keyboard event before the operation system ? Pin
Sceptic Mole14-Oct-06 10:44
Sceptic Mole14-Oct-06 10:44 
GeneralRe: How to catch keyboard event before the operation system ? Pin
Yanshof14-Oct-06 22:49
Yanshof14-Oct-06 22:49 

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.