dcpushbuttonXp instead of cjpushbutton
Posted: Sat Sep 10, 2011 2:57 am
Hi,
After having some problems with the cjpushbuttons, I decided to add a new possibility to dcpushbuttonXP. The main advantage of doing this is the following. With replacing dcclipx.dll all my buttons in my application would be changed. I suppose there are about 500 of them... When I want to use cjpushbutton, I have to modify my code everywhere. With the preprocessor I tried to convert them automatically, but this wasn't 100% successfull. See my post in the xcodejock section.
I wanted the look of the Office2007 buttons in my application. I studied to see how they paint these buttons and I tried to simulate this with the dcpushbuttonxp class. This is the result.
After having some problems with the cjpushbuttons, I decided to add a new possibility to dcpushbuttonXP. The main advantage of doing this is the following. With replacing dcclipx.dll all my buttons in my application would be changed. I suppose there are about 500 of them... When I want to use cjpushbutton, I have to modify my code everywhere. With the preprocessor I tried to convert them automatically, but this wasn't 100% successfull. See my post in the xcodejock section.
I wanted the look of the Office2007 buttons in my application. I studied to see how they paint these buttons and I tried to simulate this with the dcpushbuttonxp class. This is the result.