User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Visual Studio .Net question. Page [1]  
r45t4-m4n
All American
629 Posts
user info
edit post

I hav a quick question, exams have fried my brain. In visual studio .net how do I override a function? I am looking for that little green icon but I can't seem to get it to show up. Quite annoying.

[Edited on December 14, 2005 at 12:12 AM. Reason : did it manually, would like to refresh my memory of how to get the icon to appear]

12/13/2005 11:59:02 PM

skokiaan
All American
26447 Posts
user info
edit post

what the fuck are you talking about? what language? the safe bet is to just shoot yourself.

12/14/2005 12:19:08 AM

r45t4-m4n
All American
629 Posts
user info
edit post

wow, your a wity one.

I need to override oninitdialog, I'm using MFC (C++). The last time I did it I remember having to click on a green icon above the properties panel. I am not able to get it to show up anymore. I've tried selecting the class I want to override it in, going directly to the function in the CDialog class. No luck, so I did it by adding code instead of using the interface to do it for me. However I would like to be refreshed on how to do it for later reference.

[Edited on December 14, 2005 at 12:27 AM. Reason : ]

12/14/2005 12:26:44 AM

dakota_man
All American
26584 Posts
user info
edit post

make another one with different parameters?

12/14/2005 12:41:41 AM

msb2ncsu
All American
14033 Posts
user info
edit post

Make sure you are in (have focus on) the .cpp or .h file for the class that you want to override the function of.

12/14/2005 9:23:32 AM

Lokken
All American
13361 Posts
user info
edit post

just write your own api and be done with it

12/14/2005 9:29:49 AM

 Message Boards » Tech Talk » Visual Studio .Net question. Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.