Uwe,
I need another situation
Uwe I have a btnbmp with a Png and up this some symbols also png
when I resize the dialog the btnbmp are resized and the symbol are moved on another position
for a sample look this image
I need to insert :
1. the number on a orange box
2. the symbol you see at left
3. and the 3 symbols you see on right ( sun, receipt and note)
when I resize the dialog these symbols are not on the same position but are moved to another position
to draw the sun I use ( the orange circle you see at right)
FW_DrawImage( hDC, "BTN_PNG_DAY", { 0, -3, 20, 20 } )
when I resize the dialog
this position { 0, -3, 20, 20 } is not good and the sun is draw to another position
as you can see here How I can resolve it ?I thinked to calculate the rect of btnbmp with
Local arrayBtn:= GetClientRect (oBtn)
but then I not Know how change the exactly position for that symbol
I hope U understand now
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com