ListView

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
Ois
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Oct 26, 2010 12:06 pm

ListView

Post by Ois »

Hi all.
I'm sorry to my bad English.

Why

Code: Select all

int nKolvo = ListView_GetItemCount(hList);
is good, but

Code: Select all

int nHI = ListView_GetHotItem(hList);
is
`ListView_GetHotItem' was not declared in this scope
?
:(
Ois
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Oct 26, 2010 12:06 pm

Post by Ois »

Неужели никто не знает? :( Please, help! Helfen Sie mir bitte!
illnatured
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 234
Joined: Mon May 08, 2006 12:31 pm
Location: Krakow, Poland

Post by illnatured »

You need to place these definitions somewhere in your code:

Code: Select all

#define _WIN32_WINNT 0x501
#define _WIN32_IE 0x0400
VC++ 2005 / Windows XP / wxWidgets 2.8.9
Ois
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Oct 26, 2010 12:06 pm

Post by Ois »

Thank you!

But nevertheless error. Now just 1 string:
C:\somepath\Makefile.win [Build Error] [Output/MingW/dgfdsf.exe] Error 1
illnatured
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 234
Joined: Mon May 08, 2006 12:31 pm
Location: Krakow, Poland

Post by illnatured »

Try cleaning your project and rebuilding it again.
VC++ 2005 / Windows XP / wxWidgets 2.8.9
Ois
In need of some credit
In need of some credit
Posts: 6
Joined: Tue Oct 26, 2010 12:06 pm

Post by Ois »

Thank you. Now it's work. :)
It's a pity I don't understand - how. :oops:
Post Reply