Problems adding message handlers in VC++7.1 IDE

I'm trying to add a handler for LVN_COLUMNCLICK in my CListView derived
class.

In VC++ 6 it was easy: I'd right click the class, choose 'Add Message
Handler' (or whatever it was called) and select one from the list.

In VC++ 7.1 it seems to be impossible: Right click the class, choose
properties, select the Messages list, find the appropriate message and click
in the box, click the down arrow, click '<Add> OnMessageHandler', get
"Invalid Property Value" error: "The SetValue operation on the component
failed with the error code 0x80070005".

As far as I'm concerned, this is far more effort for zero reward. Is there a
better way?

--- Al.



0
nosuch1 (64)
5/17/2004 2:41:58 PM
vc.mfc 33608 articles. 0 followers. Follow

1 Replies
476 Views

Similar Articles

[PageSpeed] 25

Sorted. Sorry.

VC++ 6 used to tell me when I tried to add a handler to a class who'se files
I had not checked out. VC++ 7.1 seems to give a meaningless 'Invalid
Property Value' error.

--- Al.

"TVR Fan" <nosuch@address.com> wrote in message
news:eaMAS1BPEHA.1620@TK2MSFTNGP12.phx.gbl...
> I'm trying to add a handler for LVN_COLUMNCLICK in my CListView derived
> class.
>
> In VC++ 6 it was easy: I'd right click the class, choose 'Add Message
> Handler' (or whatever it was called) and select one from the list.
>
> In VC++ 7.1 it seems to be impossible: Right click the class, choose
> properties, select the Messages list, find the appropriate message and
click
> in the box, click the down arrow, click '<Add> OnMessageHandler', get
> "Invalid Property Value" error: "The SetValue operation on the component
> failed with the error code 0x80070005".
>
> As far as I'm concerned, this is far more effort for zero reward. Is there
a
> better way?
>
> --- Al.
>
>
>


0
nosuch1 (64)
5/17/2004 2:57:22 PM
Reply:

Similar Artilces:

Display records added since last time opened
Hello, I have a form that I'd like to filter to show the records that were added since the last time I opened the database. So far, I've added a table to my personal front end to store the date I last opened the database (tblDateLogged). I've set up a form filter (which works when I type in a date). I've tried adding code to the form to log the date when I close the form. That's the part that isn't working. I tried the On Close event, but it said it couldn't find my table. I'm really not sure how to proceed. I want the date to get overwritten each ...

Odd Message Rejection
Ok, have Windows 2003 R2, fully pached. Exchange 2003 Enterprise, fully patched. I have one user that gets sporadic rejections of e-mails with vCard attachments that look like this: From: System Administrator Sent: Wednesday, January 24, 2007 10:59 AM To: John Doe 1; John Doe 2 Subject: Undeliverable: John Doe 3 Your message did not reach some or all of the intended recipients. Subject: John Doe 3 Sent: 1/24/2007 10:59 AM The following recipient(s) could not be reached: John Doe 2 on 1/24/2007 10:59 AM You do not have permission to send to this recipient...

CRM and ServicePack 1 for Windows 2003 server
who know anthing abot any problems with CRM after installation of this sp ? thanks there were a number of issues reported by people going up to server 2003 sp1 go to the archive of this group at groups.google.com and search for server 2003 sp1 "jag" <jag@discussions.microsoft.com> wrote in message news:326EE9CB-A523-4635-BA7A-D3E1DE712023@microsoft.com... > who know anthing abot any problems with CRM after installation of this sp > ? > thanks ...

Driver Verfier issue with WDM driver on Windows 7
I am getting this when I enable Driver verifier on my driver DRIVER_VERIFIER_IOMANAGER_VIOLATION (c9) The IO manager has caught a misbehaving driver. Arguments: Arg1: 0000000000000220, IRP_MJ_SYSTEM_CONTROL has been completed by someone other than the ProviderId. This IRP should either have been completed earlier or should have been passed down. Arg2: fffff880041a29f0, The address in the driver's code where the error was detected. Arg3: fffff980022fed30, IRP address. Arg4: fffffa800415f060, ProviderId. Here is the part of the code its pointing at NTSTATUS MySystemContr...

Duplicate messages each time I start Outlook
I am using a pop3 mail server and Leaving a copy of the email on the server so I can access it elsewhere. Outlook 2003 duplicates the messages and I have run all the patched Post sp. Anyone? Are you getting all the messages that were left on the server each time you start Outlook, or just some of them? How many POP3 accounts do you have? -- Jeff Stephenson Outlook Development This posting is provided "AS IS" with no warranties, and confers no rights "Keith Henderson" <keithatdvsolutions.teevee> wrote in message news:#1g6TRasEHA.1016@TK2MSFTNGP10.phx.gbl... ...

Combine 2 cells into 1
I have 2 sheets in Excel 2000. One sheet has a column for first name and a column for last name. The other sheet has a column in the format "last name, first name". I need to move all of the names from the sheet that has them in separate columns to the sheet with the "last name, first name" format. What is the easiest way to do this? There are hundreds of names so I'd rather not have to manually put them in. I figure Excel has to have some sort of function for this. Thanks, Brian Mosher ...

Run Macro Behavior Problem
I have a Visio 2003 drawing with multiple hyperlinks to a second Visio drawing. In order to make certain that the user closes the second drawing without inadvertantly closing the first, I've created a "ThisDocument.Close" macro to close the second drawing. The macro runs fine from the Tools window, but when I assign it to a shape using the Behavior function I get an error message: run-time error '-2032465766 (86db089a)' Requested operation is presently disabled Any suggestions? Are you sure that the VBA code that is running is not trying to close the current d...

IE toolbar problem #2
Hello friends I developed toolbar for IE in ATL. Now the problem is that if there are more than 1 toolbar attached in browser then if u will select toolbar from View->Toolbars menu and click on my toolbar then sometimes behaviour changed, means for example there are 3 toolbar installed in IE like A,B,C when user select toolbar A from View->Toolbars IE menu then toolbar B will show/hide and if i will select B then C will show/hide. These results changes with different toolbars and no of toolbars. Sometimes all the toolbars change their behaviour. can someone help me how to solve the ...

Send Message from Access
I have a code written which allows me to send a report from a button to specified users. I need to put in a signature of the sender with his/her email address in the message part of the code. As its all in quotes the email address will appear but not hyperlinked. Any help will be deeply appreciated I assume you are using Outlook as your email client. Are you using the SendObject method, or are you using automation to create an Outlook email? Why would you need to put a hyperlink of their email address in the message text, when all the recipient would need to do is click on the Reply b...

Problem after IE 8.0 upgrade
I've upgraded 15 locations to IE 8.0. At one of the sites, upon trying to edit a file in Excel, I get the message "Edit Document" requires a Windows SharePoint Services-compatible application and IE 6.0 or greater". I'm running 8.0 and Excel 2003 is running like at my other sites. I did not get any "run Active X" bars that I failed to click on. I cleared the cache and rebooted the computer. Any ideas on what I should do? I reinstalled IE 8.0, which uninstalled the previous version before reinstalling IE 8.0. Upon opening / set-up, the comp...

Adding Sort Field from Existing Data
I have a problem and if anybody could help I would really appreciate it. I have a field called subcondwgnumber which has entries such as PL100, RS2A, BP35A etc. I want to run some code that on an afterupdate of the subcondwgnumber takes the users entry and makes it an 8 or 9 digit sort number and then stores it in a field such as sortnumber such as the entries above would be PL000100, RS000002A, BP000035A. Please note that not all entries have a letter at the end so that this creates some difficulty. I am thinking: 1. Test subcondwgnumber user entry for letter at end 2. If there is, strip ...

Microsoft Outlook Error Message: IMAP has received an unrecognized greeting
Hello all and Thanks in advance, My boss just called me about troubles hes having in Outlook XP. Hes working from a hotel room, and his notebook (some dell thing running xp pro) is connected to a public wifi net. From what he says, when he tries to send/receive he gets an error box that says "IMAP has received an unrecognized greeting" or something. I verified that he is running on the right ports for our POP accounts, and was disappointed to learn that for Outlook XP, the test account settings button is different than in 2003 (the version we have at the office). I'm no Micro...

Greater Than / Less Than Problem
Don't want to sound silly here, but I am actually having a problem with a formula that will allow me to count only values greater than 0 but less than 11. Is this Possible in 1 unique formula? Heres the situation: Within Column B6:B35, I want a count of any number that is greater than 0 but less than 11. I tried the following but it returns a 0: countif(B6:B35,">0<11") Thanks In Advance for any help here... -- Mhz ------------------------------------------------------------------------ Mhz's Profile: http://www.excelforum.com/member.php?action=getinfo&us...

OWA Problem #7
I am trying to log onto OWA over our LAN. I have checked the password for my account in server management and have changed it several times, but it still tells me that my password is incorrect. Is there another place for a password that I am not aware of? All others can connect just fine. TIA Scott Scott, there may be many things broken related to authentication. On the surface you're correct, there is only one place but depending on the infrastructure, there are cases where it may not be the case. Please talk to your administrators and attempt to troubleshoot this with thei...

Money 2003 Cdn Version
I can't get Money 2003 to properly identify the currency as Canadian in the Portfolio section. In Portfolio, I can change the account so that it correctly shows Canadian currency (although for some reason it also shows US) but when I try to "Update prices" the dialog box is always in US and treats it as US, hence providing an incorrect balance for the account. I've tried changing the "regional settings" and the "Base" currency and they seem to handle the general issues but it doesn't change the "Update prices" dialog box. Help! ...

How can a single cell be incremented? i.e. N=N+1
I am able to move a value of 1 to a cell with in a macro. I want to be able to add a value of 1 to a cell with in a macro. Each time the cell is referenced, I wish to increment the cell by 1. I have not been able to increment the cell without getting a circular reference in my attempts to incremetn the cell. The process I use is sorting a table and wanting to increment the top cell so that the least used entries will be sorted to the top each time the macro is called. what does your macro look like? "Remel" wrote: > I am able to move a value of 1 to a cell with in a m...

I am Facing a problem #2
Hi, I am facing a problem. I am developing a dialog based application. I loaded microsoft web browser Control in the dialog I have a javascript file and loades inside the browser. The script file has a command button. Problem!!!!! When the command button is pressed, I want a message box to be displyed from the dialog class not from the script. Please suggest!!!!!!!!!!!! Thanks Sumanta <rout.sumanta@gmail.com> wrote in message news:1172818928.375138.26740@30g2000cwc.googlegroups.com... > Hi, > I am facing a problem. > > I am developing a dialog based application. > ...

Exmerge outlook 2003 format pst problem
The main Question is Outlook 2000 's format pst and outlook format 2003 's pst I exmerge outlook 2000 format pst is ok That means that exmerge to exhcnage is ok no permission problem ,but i exmerge 2003 format pst is failure It seems not relate to permission problem Best Regards On 17 Jan 2007 19:06:36 -0800, "snakesboy" <snakesboys@gmail.com> wrote: >The main Question is Outlook 2000 's format pst and outlook format >2003 's pst > >I exmerge outlook 2000 format pst is ok That means that exmerge to >exhcnage is > >ok no permission...

Scheduled task message always pops up at strup
Every time I startup the Windows scheled tasks message pops up even though no tasks are scheduled. It's started a couple of weeks ago; how do I stop this from happening? "kp400sf1" <kp400sf1@discussions.microsoft.com> wrote in message news:E20CBD3E-1CCC-4E90-B850-25C9EB23DB3F@microsoft.com... > Every time I startup the Windows scheled tasks message pops up even though > no > tasks are scheduled. It's started a couple of weeks ago; how do I stop > this > from happening? What's the message? -- SC Tom Try this. Start, run, ty...

Linker problem?
I have a MFC solution built in Studio.NET 2003. There are 2 projects(DLL), I can build one of it. For anotherone, it said link problem: can not link to the first. Which part I missed? Let say, I have built the first project and got first.dll and first.lib. Then I copy the first.lib to the second project and in second project setting->linker->input, add first.lib. But I still got link error said can not resolve external symbol which is defined in the first project. What I missed? btw, don't keep copying around lib files. Use project dependencies. Are you sure you have exported ...

Outlook 2007 Mobile Services (SMS-Link) Problem
Hi, We have developed and set up an Outlook 2007 Mobile Service layer and able to send and receive Short Message Service messages (SMS's) through it. But there is a problem in our situation, when a user sets up an mobile account on his or her Outlook, a mobile address book is automatically generated containing the contact items from the users contact book those having mobile numbers, but there is no option/way for Exchange Global Address (GAL), when the user tries to send an SMS Message by selecting recipients from GAL, instead of Outlook Mobile Address Book. Outlook tries to send i...

Re: Forwarding problems
Sorry, That URL will not work try this one: http://support.microsoft.com/default.aspx?scid=kb;en-us;900824 Regards -- Ben Hoffman MVP Exchange http://www.exchangeis.com "Ben Hoffman [MVP Exchange]" <ben.hoffman@cdu.edu.au> wrote in message news:... > Hi Janus, > > This Kb might be of some help: > https://mvp.support.microsoft.com/default.aspx?scid=kb;en-us;900824 > > Regards > -- > Ben Hoffman > MVP Exchange > http://www.exchangeis.com > > <janus.toendering@gmail.com> wrote in message > news:1147077489.921168.297060@j33g2000c...

Allow eConnect Message Schema to provide PM 1099 Information
In GP10 users now have the ability to provide 1099 tax type, and a 1099 box on vendor classes, vendor cards and PM Transactions, but in the eConnect schema's this functionality has been left out. Because it has been left out, if applications continue to use the existing 1099 Amount field on PM transactions it will create invalid data in GP which passes validation (null 1099 tax type and null 1099 box). We need to have the ability to provide the following information through eConnect schemas: 1) taUpdateCreateVendorRcd - 1099 Tax Type - 1099 Box 2) taPMTransactionIns...

GP 7.5 "Dexterity Runtime Execution Engine"
We have a GP7.5 with SQL server 2000 and 6 workstations with client only GP 7.5. Starting from this morning, no one can login into GP7.5 from the workstation PCs. Users are getting "Dexterity Runtime Execution Engine" . At this point GP7.5 is only usable from the main server. Any suggestion would be appreciated. Thanks Bulat Was this configuration working previously? What has changed recently? Have you installed anything into the Great Plains system or anything at all onto the workstations? David Musgrave [MSFT] Senior Development Consultant Escalation Engineer - Great Pl...

word as email editor problem.
I have selected to have word as my email editor. When I reply to an email I get a pop up box that tells me that word cannot be found or that word is busy. I have done a detect and repair with not luck of fixing the problem. Ideas? Which version of Outlook and word? Do you use the word viewer? http://www.slipstick.com/problems/wordmail.htm -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide) Author, Google and Other Search Engines (Visual QuickStart Guide) Outlook Tips: http://www.outlook-tips...