WIN API confusion!
I have gone through several tutorials (yes, I am a beginner) to try to learn how to place a toolbar on my program. It seems every tutorial (including MSDN) does it the same way.
There is a problem for me with this, when I call InitCommonControlsEx(&iccx) when iccx is an INITCOMMONCONTROLSEX struct, I get a link error. Also, I have tried the other way of initializing the common controls, InitCommonControls() which gives the same link error.
I am using MS Visual C++6 and windows XP with all current updates. #include <commctrl.h> also being used. I have also tried to just create a simple one-button toolbar without using any of the InitCommonControls functions, and with no surprise, the toolbar failed to load. Any Help??
I have gone through several tutorials (yes, I am a beginner) to try to learn how to place a toolbar on my program. It seems every tutorial (including MSDN) does it the same way.
There is a problem for me with this, when I call InitCommonControlsEx(&iccx) when iccx is an INITCOMMONCONTROLSEX struct, I get a link error. Also, I have tried the other way of initializing the common controls, InitCommonControls() which gives the same link error.
I am using MS Visual C++6 and windows XP with all current updates. #include <commctrl.h> also being used. I have also tried to just create a simple one-button toolbar without using any of the InitCommonControls functions, and with no surprise, the toolbar failed to load. Any Help??