dcpushbuttonXp instead of cjpushbutton

This forum is for eXpress++ general support.
Post Reply
Message
Author
skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

dcpushbuttonXp instead of cjpushbutton

#1 Post by skiman »

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.
Attachments
Different buttons in my application
Different buttons in my application
buttons.jpg (50.02 KiB) Viewed 6301 times
Sample with buttpicker
Sample with buttpicker
button1.jpg (18.95 KiB) Viewed 6301 times
Best regards,

Chris.
www.aboservice.be

User avatar
PedroAlex
Posts: 231
Joined: Tue Feb 09, 2010 3:06 am

Re: dcpushbuttonXp instead of cjpushbutton

#2 Post by PedroAlex »

Hi.

Nice buttons.
It is necessary xcodejock to do this buttons?

Thanks.
Pedro
Pedro Alexandre

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: dcpushbuttonXp instead of cjpushbutton

#3 Post by skiman »

Hi,

chPushButtons are Codejock. dcPushButtonXP are Express++ buttons.

I modified the dcPushButtonXp class a bit, to get the result I want.
Best regards,

Chris.
www.aboservice.be

Post Reply