Examples of Long


Examples of org.sf.feeling.swt.win32.internal.extension.util.LONG

      if (oleMsgProcAddress == 0)
        SWT.error(SWT.ERROR_NO_MORE_CALLBACKS);
      int threadId = Extension.GetCurrentThreadId();
      procHandle = Extension.SetWindowsHookEx(Extension.WH_GETMESSAGE,
          oleMsgProcAddress, 0, threadId);
      Display.getDefault().setData(HHOOK, new LONG(procHandle));
      Display.getDefault().setData(HHOOKMSG, new MSG());
    }
  }
View Full Code Here

Examples of org.sf.feeling.swt.win32.internal.extension.util.LONG

    }
  }

  int OleMsgProc(int /* long */code, int /* long */wParam,
      int /* long */lParam) {
    LONG hHook = (LONG) Display.getDefault().getData(HHOOK);
    if (hHook == null)
      return 0;
    if (code < 0) {
      return OS.CallNextHookEx(hHook.value, (int) /* 64 */code, wParam,
          lParam);
View Full Code Here

Examples of org.sf.feeling.swt.win32.internal.extension.util.LONG

    return Extension.DestroyWindow(handle);
  }

  private static int enumChildrenProc(int hwnd, int lParam)
  {
    childList.add(new LONG(hwnd));
    return 1;
  }
View Full Code Here

Examples of org.sf.feeling.swt.win32.internal.extension.util.LONG

    return handles;
  }

  private static int enumWindowsProc(int hwnd, int lParam)
  {
    windowsList.add(new LONG(hwnd));
    return 1;
  }
View Full Code Here

Examples of org.sf.feeling.swt.win32.internal.extension.util.LONG

  private HashMap fixedItemMap = new HashMap();

  public void addFixedMenuItem(int index, CMenuItem item)
  {
    fixedItemMap.put(new LONG(index), item);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.