Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Mouse events

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Mouse events
#2458
Posted by: 2003-08-11 22:09:21
Hi there!
I am currently trying to catch the mouse events in my application but I do not catch anything except the EVT_MOUSEWHEEL event. Is it normal?
I have: EVT_MOUSE_EVENTS (FrameMonitor::OnMouseEvent) in the events table macro for my frame and I just display a dialog box in the function for the moment, but I never see this dialog box (except for the wheel event as I said).
Is it not implemented yet or am I doing something wrong?
THanks for any help...
Roro
Message2. Re: Mouse events
#2460
Posted by: 2003-08-11 22:32:54
In fact I start thinking that the frame can not catch these events but a canvas could do it, true or not?
If yes, how can I detect that the user is dragging the window, because that is the thing I want to do.
I am sure it has been done a million times... ;)
Thx
Message3. Re: Mouse events
#2462
Posted by: guidance 2003-08-12 07:16:05
Try wxDropSource::GiveFeedback() ?
Message4. Re: Mouse events
#2464
Posted by: 2003-08-12 17:14:25
Thanks. I tried but it is not easy to use. I think it is more for drag and drop of text isn't it?
I thought there would be something simple provided to detect the dragging of the window.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2023-1-27  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0