I'm working my way through a book called "Windows 98 Programming From the
Ground Up" and have reached the point where Common Controls are
discussed. I have entered the sample program to create a popup window with
a vertical bar control and it uses the InitCommonControlsEx() This
requires "commctrl.h" and supposedly "comctl32.h" also. The error I am
getting is "ICC_BARS_CLASSES declared for first time". This is supposed to
be part of the INITCOMMONCONTROLSEX structure. When I look in the Include
directory for Dev-C++, there is no "comctl32.h" header file and
"commctrl.h" does not declare it either. There is a "comctl32.def"
definition file in the Library directory but I thought Windows 95 didn't
use them. Anyone have any idea how to solve this problem? I'm afraid that
I move further in the book I'll experience the same errors for all the
"ICC_..._CLASSES" Thanks.
Richard P. Evans
|