ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦óÅýComboBox¥i¥H¥Î·Æ¹«ºu°Ê?

¦^´_ 10# c_c_lai
³o¤w¸g¶W¥X§Úªºµ{«×¤Ó¦h¤F
§Ú¬ã¨s¤F¦n´X¤ÑÁÙ¬Oı±oÃú·Ù·Ù ¦³§ó®e©öÀ´ªº¸Ñ»¡¶Ü?

TOP

¦^´_ 11# acdx
  1. Sub Hook_Mouse()
  2.     hhkLowLevelMouse = SetWindowsHookEx _
  3.         (WH_MOUSE_LL, AddressOf LowLevelMouseProc, Application.Hinstance, 0)
  4. End Sub
½Æ»s¥N½X
Hook_Mouse ¥h©I¥s Windlows ªºµ{¦¡®w¨ç¼Æ
  1. Declare Function SetWindowsHookEx Lib _
  2.         "user32" Alias "SetWindowsHookExA" (ByVal idHook As Long, ByVal lpfn As Long, _
  3.         ByVal hmod As Long, ByVal dwThreadId As Long) As Long
½Æ»s¥N½X
¦¹ Function ±N LowLevelMouseProc  ±a¦^¨Óªº¦ì§}¡A¥H¤Î WH_MOUSE_LL (=14) »P¨Æ¥ó¡B°õ¦æºü°Ñ¼Æµ¥
¸ê°T¶Ç¤Jµ¹ LowLevelMouseProc ¥H±Ò°Ê MOUSEWHEEL ªº¥\¯à³]©w¡C
¦p¦¹·§²¤¸Ñ»¡§AÀ³¸Ó·|¦³©Ò¤F¸Ñ§a¡H

TOP

        ÀR«ä¦Û¦b : ºÉ¦h¤Ö¥»¥÷¡A´N±o¦h¤Ö¥»¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD