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?
DCPUSHBUTTONXP AND ICON
- slobodan1949
- Posts: 88
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
DCPUSHBUTTONXP AND ICON
- Attachments
-
- dcpushbuttonxp.png (34.37 KiB) Viewed 12625 times
Re: DCPUSHBUTTONXP AND ICON
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.
- slobodan1949
- Posts: 88
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: DCPUSHBUTTONXP AND ICON
Dear Roger,
source code
source code
- Attachments
-
- DCPUSHBUTTONXP.zip
- (4.18 KiB) Downloaded 848 times
- slobodan1949
- Posts: 88
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: DCPUSHBUTTONXP AND ICON
additional explanation
- Attachments
-
- 03.png (40.07 KiB) Viewed 12558 times
- slobodan1949
- Posts: 88
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: DCPUSHBUTTONXP AND ICON
Roger,
just say YES or NO
if NO, stop searching for a solution
because I've only been doing this for the last month !
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
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.
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.
- slobodan1949
- Posts: 88
- Joined: Mon Apr 25, 2011 8:57 am
- Location: SERBIA
- Contact:
Re: DCPUSHBUTTONXP AND ICON
Thank you very much for your reply.
I, too, realized that a major code change was required, which I am not capable of
I, too, realized that a major code change was required, which I am not capable of