也就是说,不理MouseWheel

解决方案 »

  1.   

    试试,对TComboBox的WindowProc做手脚.
    定义一个过程
    procedure AForm.NewWindowProc(var Message: TMessage);
    begin
      if Message.Msg <> MouseWheel then OldWindowProc(Message)
    end;
    使用变量记住控件原来的WindowProc:
    Var OldWindowProc:= AComboBox.WindowProc;
    AComboBox.WindowProc:=NewWindowProc
      

  2.   

    procedure AForm.NewWindowProc(var Message: TMessage);
    begin
      if Message.Msg <> MouseWheel then OldWindowProc(Message)
    end;
    使用变量记住控件原来的WindowProc:
    Var OldWindowProc:= AComboBox.WindowProc;
    AComboBox.WindowProc:=NewWindowProc