Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by Asger Jorgensen
Tue, 10 Jul 2007 16:21
Why do I get: Call to a non function ??
Author: Asger Jorgensen
Date: Tue, 10 Jul 2007 16:21
Date: Tue, 10 Jul 2007 16:21
18 lines
1262 bytes
1262 bytes
Hi there
I'm trying to use
ListView_SetItemState(
ListView->Handle,
Index,
0,
LVIS_SELECTED | LVIS_FOCUSED);
which I have used befor with no trouble, but now I get
an error saying Call to a non function, I have even tryed
to include commctrl.h
Anybody Knows what is wrong ??
Thanks in advance
Asger
Re: Why do I get: Call to a non function ?? problem solved
Author: Asger Jorgensen
Date: Tue, 10 Jul 2007 17:58
Date: Tue, 10 Jul 2007 17:58
12 lines
1067 bytes
1067 bytes
It was the line of code just above int Index = LvFakList->Items->Count()-1; it should look: int Index = LvFakList->Items->Count-1; I think I need some sleep..;-) Asger.
Re: Why do I get: Call to a non function ?? problem solved
Author: Ed Mulroy [TeamB]
Date: Tue, 10 Jul 2007 18:09
Date: Tue, 10 Jul 2007 18:09
18 lines
1516 bytes
1516 bytes
Welcome to the "2+2=5" club. You are tired and debugging and look at something over and over yet miss an obvious problem. I think we've all been there. . Ed > Asger Jorgensen wrote in message > news:MPG.20fde72296ca152f989797@newsgroups.borland.com... > > It was the line of code just above > > int Index = LvFakList->Items->Count()-1; > > it should look: > > int Index = LvFakList->Items->Count-1; > > I think I need some sleep..;-)
Re: Why do I get: Call to a non function ?? problem solved
Author: Eduardo Jauch
Date: Tue, 10 Jul 2007 21:54
Date: Tue, 10 Jul 2007 21:54
11 lines
1452 bytes
1452 bytes
Ed Mulroy [TeamB] escreveu: > Welcome to the "2+2=5" club. You are tired and debugging and look at > something over and over yet miss an obvious problem. I think we've all been > there. > > .. Ed rsrsrsrs For shure... Last week I spend 3 hours tryong to find a bug.. .And when I found it... Oh my... rsrsrsrsrsrs
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads