Page 1 of 1

DCPUSHBUTTONXP AND ICON

Posted: Mon Jan 13, 2020 12:34 pm
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?

Re: DCPUSHBUTTONXP AND ICON

Posted: Mon Jan 13, 2020 4:39 pm
by rdonnay
Can you send me your source code for that test program and also your icons?

Re: DCPUSHBUTTONXP AND ICON

Posted: Tue Jan 14, 2020 12:34 am
by slobodan1949
Dear Roger,
source code

Re: DCPUSHBUTTONXP AND ICON

Posted: Wed Jan 15, 2020 2:52 am
by slobodan1949
additional explanation

Re: DCPUSHBUTTONXP AND ICON

Posted: Fri Jan 24, 2020 7:39 am
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 !

Re: DCPUSHBUTTONXP AND ICON

Posted: Fri Jan 24, 2020 11:52 am
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.

Re: DCPUSHBUTTONXP AND ICON

Posted: Sat Jan 25, 2020 8:38 am
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