|
-
January 7th, 2000, 08:06 AM
#1
subclassing problem
Hi,
I have a little problem with subclassing.
I have a usercontrol, one of the control is a resize control (that the form cant be resized smaller then specified size). This works perfect.
Now I want to add subclassing to another control in the ocx. This has a few buttons, and I want to catch the function-keys (since the shortkeys for those buttons are the function-keys), but for some reason, when I use the same code I use for the resize subclass, VB crashes as soon as the "Hook" function is called. No matter what I try, it keeps crashing.
Any idea what I can be overlooking?
I've subclassed a LOT of times, and it always works... is it just a bad subclassing day or what?? (*LOL*)
Crazy D @ Work :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|