Type: Posts; User: AlexanderSupertramp
Search took 0.03 seconds.
April 1st, 2009, 12:19 PM
Sorry, I am being a bit late in reply, but was busy with something else.
But solved the problem (somehow ;) ), and though I should post something about it.
I found out the last...
March 14th, 2009, 05:15 AM
Here's the code. Please put SSubTmr6.dll in System32 and register with regsvr32.exe.
I have commented the subclassing code, it is in the class module. The commented subclassing code...
March 14th, 2009, 04:34 AM
@Jonny: Oh I tried to use the OCX ina simpler project. Just drag n dropn the control, and process MouseMove to display X and Y values in textboxes. No loops. Still the same problem....
March 13th, 2009, 05:06 PM
@WizBang: But the subclassing part is working perfectly fine. Inside/outside. The problem is with the exposed events of PictureBox control. I'll try something in that direction anyway.
March 13th, 2009, 02:59 PM
Here is a update. Strange.
I added same file logging code inside Form which has my OCX control in OCX's MouseMove.
The event is logged only when Mouse is clicked!!!
March 13th, 2009, 02:45 PM
@WizBang: the control basically enhances VB's PictureBox with MouseWheel support.
I have used WM_MOUSEWHEEL message inside control in a module. I have used VBACELLERATOR's SSubTmr6.dll for...
March 13th, 2009, 02:42 PM
@WOF: Oh I am so so sorry. MouseUp is same as MouseDown.
@Jonny: I tried file logging from inside of User Control like this:
Private Sub Picture1_MouseMove(Button As Integer, Shift As...
March 13th, 2009, 01:13 PM
@WizBang: Here is how I have exposed the event:
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
RaiseEvent MouseMove(Button, Shift, X, Y)...
March 13th, 2009, 11:55 AM
Is it possible for me to summon The Wolf somehow (got Marcellus Wallace's no.? )? He is expert in Bonny Situations.
Yes, you are right. I am going crazy.
March 13th, 2009, 11:33 AM
@Jonny: Ok I will try the Logging thing and other stuff you said, I will have to figure out a way for that, new concept for me.
@WOF: Well I did only this thing related to container: I set the...
March 13th, 2009, 06:03 AM
After trying the utility to make sure that only one OCX is registered on PC, I am sure its not a OCX or versioning problem.
I tried spy+ as well, the messages trapped for app run inside as well as...
March 13th, 2009, 03:14 AM
I have used a utility to check all the registered files OCXs on the system. Very handy tool. Find it here: http://www.nirsoft.net/utils/registered_dll_view.html
I unregistered and deleted...
March 12th, 2009, 02:08 PM
And how would I solve this problem on client's PCs? Some versioning tools for OCXs?
March 12th, 2009, 02:05 PM
Thansks for replies guys.
@Bill: I am sure it is not a mouse diver problem. Thing works in IDE and everything else with mouse works.
@dglienna: I am not using that same dll anywhere...
March 12th, 2009, 09:08 AM
No one is replying?
Have I messed up the information or the question is hard?
Anyway, I forgot to mention a tiny detail, very important. I apologize:
The demo works only when opened as a group...
March 12th, 2009, 08:33 AM
Thanks for the reply Bill.
I did try manual register/unregister half a dozen of times, keeping ocx at various places.
Installation keeps the ocx at intended place.
Besides, other features are...
March 12th, 2009, 05:53 AM
I have this strange problem. Just finished an activeX control involving a pictureBox. I have exposed PictureBox's MouseUp event.
When I run it in VB IDE, it works fine, shows a...
March 4th, 2009, 08:11 AM
Hi WoF. Problem solved. :)
It was not a naming conflict issue though.
I had to expose the Picture property with:
Public Property Let Picture(thePic As stdPicture)
Set Me.Picture =...
March 4th, 2009, 03:25 AM
Hi guys, a problem and I have no promising clue:
I have created an activeX control which has a PictureBox. I have exposed Picture property like this:
(Picture1 is the name of constituent ...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.