I have a class that inherits from CListBox where I override some of the default drawing and whatnot.
This class currently requires ProfUIS headers to be used with the application ( #include <Prof-UIS.h> ).
Is there anyway that I can make a compiler directive to check for that file inclusion to use one set of code, and if it's not included to use another set of code? This would allow the class to become disconnected from the Prof-UIS stuff, but still use it if it's available.
I'm still a newb at VC++ when it comes to directives and basically anything with a # in front of it.
Thanks for the help.
This class currently requires ProfUIS headers to be used with the application ( #include <Prof-UIS.h> ).
Is there anyway that I can make a compiler directive to check for that file inclusion to use one set of code, and if it's not included to use another set of code? This would allow the class to become disconnected from the Prof-UIS stuff, but still use it if it's available.
I'm still a newb at VC++ when it comes to directives and basically anything with a # in front of it.
Thanks for the help.