DCPUSHBUTTONXP AND ICON

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
slobodan1949
Posts: 80
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

DCPUSHBUTTONXP AND ICON

#1 Post by slobodan1949 »

Dear Roger,

xICO = "MAX.ICO "
#define xICO 1

1. When using DCPUSHBUTTON CAPTION xICOlegacy command along with DCGETOPTIONS AUTORESIZE command I am getting the resized windows (Picture 1 and 2) where DCPUSHBUTTON is resized but the xICO is not.

2. With DCPUSHBUTTONXP CAPTION "FULL SCREEN" BITMAP xICOand DCGETOPTIONS AUTORESIZE commands I get properly resized windows (Picture 1 and 2) where DCPUSHBUTTONXP is resized and xICO is now also resized too.

Is there any possibility (regarding this second scenario) to resize only the DCPUSHBUTTONXP but not to resize xICO because it produces low quality and deformed xICO icons? I have tried everything in my knowledge but failed and you have done it with buttonxp.prg. But how?
Attachments
dcpushbuttonxp.png
dcpushbuttonxp.png (34.37 KiB) Viewed 10134 times

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCPUSHBUTTONXP AND ICON

#2 Post by rdonnay »

Can you send me your source code for that test program and also your icons?
The eXpress train is coming - and it has more cars.

User avatar
slobodan1949
Posts: 80
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

Re: DCPUSHBUTTONXP AND ICON

#3 Post by slobodan1949 »

Dear Roger,
source code
Attachments
DCPUSHBUTTONXP.zip
(4.18 KiB) Downloaded 640 times

User avatar
slobodan1949
Posts: 80
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

Re: DCPUSHBUTTONXP AND ICON

#4 Post by slobodan1949 »

additional explanation
Attachments
03.png
03.png (40.07 KiB) Viewed 10067 times

User avatar
slobodan1949
Posts: 80
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

Re: DCPUSHBUTTONXP AND ICON

#5 Post by slobodan1949 »

Roger,
just say YES or NO

if NO, stop searching for a solution
because I've only been doing this for the last month !

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCPUSHBUTTONXP AND ICON

#6 Post by rdonnay »

This will require a lot of code modifications on my part and I don't want to break anything.

That is why I have been putting this off because I will need time to work on this.

I am quite busy now but expect it to slow down after January.
The eXpress train is coming - and it has more cars.

User avatar
slobodan1949
Posts: 80
Joined: Mon Apr 25, 2011 8:57 am
Location: SERBIA
Contact:

Re: DCPUSHBUTTONXP AND ICON

#7 Post by slobodan1949 »

Thank you very much for your reply.
I, too, realized that a major code change was required, which I am not capable of

Post Reply