Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - ControlNotify
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ControlNotify

 Post Reply Post Reply
Author
Message Reverse Sort Order
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: ControlNotify
    Posted: 04 May 2008 at 7:19am
Hi,
 
I totally agree. This is a "plug and pray" event
 
In the beginning I wanted to use it and got major errors (did I do something wrong???? I can't tell if I don't know how I have to deal with it) and if there's no documentation what to expect from the event, you are "afraid" of using it.
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2008 at 12:28pm
Is there any documentation for the Code to determine which notification was sent?
 
Public Event ControlNotify( _
   ByVal Control As CommandBarControl, _
   ByVal Code As Long, _
   ByVal NotifyData As Variant, _
   ByRef Handled As Variant _
)
 
with an edit control, I am seeing things like:
 
'Code 256 gotfocus
'Code 512 lostfocus
'Code 768 text change
 
And a combo control:
 
'Code 3 .setfocus to combo from code
'Code 7 getfocus with mouse and drop
 
The above are just first impressions, and may be wrong.
 
Any enumeration for the code values would be great
 
Jim AKA Mr.Den
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.