|
-
December 17th, 2002, 12:44 PM
#1
add event handler
In VC6.0 I could to add event handler for dialog class using Class Wizard. Now in VC .NET I must to use "Properties" for my Class (I've read it in Help). But there is no neither "Events" button in the Properties window nor "Overrides" button.
What I must to do for these buttons appearance???
Or is there any other way to add event handler to my project?
-
December 17th, 2002, 03:32 PM
#2
Simple rightclick in your desired class in classview
select properties fourth icon from the left is events
and then messages and last overrides.
It depends on if you have a class that got any at all.
Regards
-
December 18th, 2002, 03:13 AM
#3
There is no such buttons :(
I unerstand, that these buttons must be there (in Properties window). But in my case there is only 3 buttons: "Sort Alphabeticaly", "Sort by Category", and disabled "Properties pages".
Before this I choose my CDialog based class from Class View!
It is common MFC project/solution generated by wizard.
So what can you suggest now ?
-
December 18th, 2002, 03:48 AM
#4
Nearly nothing...Haven´t happend to me. If you open
upp the resourse editor and rightclick a button or
similar can you choose addEvent there.If you open
class after class any difference then??
-
December 18th, 2002, 02:10 PM
#5
What do you mean "class after class" ?
When I rightclick on Dialog resource in Recource View I can add only function or variable
For any control item (button for example) I can add event without any problems!
I'd checked all my classes. I can't add event to anyone!
May be it is a VC bug ? Or my version of VC.net is "damaged"???
Last edited by ASW; December 18th, 2002 at 02:13 PM.
-
December 18th, 2002, 02:50 PM
#6
Sorry for bad English.I meant that you should check
every class to check if there was any differences.
Suggestions
Start up a new project. (Don´t know if you have ported
a VC6 project). And see if that makes any sense.
Reinstall if nothing else helps.There is a .clw file
I suspect that it's something dealing with classview.
Copy that to another map and recompile.
Well out of suggestions. When you find out what
went wrong post it.
Good luck
Regards
-
December 23rd, 2002, 10:15 AM
#7
Similar Question ...
I was fine in VC6 ... I keeping looking for ways to do the same in NET.
Dialog base Class. In Class Properties, I can work with standard WM_?? messages or the OverRideables.
I want to be notified of MY OWN message (WM_USER+1) ...
Today I have to manually add it to the Class and MessagePump
How do you do it in NET?
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
|