ReneMiner
31-01-2022, 21:39
Seems i can not see the picture intbetween all of these images...
There is an image-control (static) that allows to load few more image-types than bitmaps only. Also Canvas control has functions to load different types and even can convert these to bmp.
The dialog has a function Set Image that allows to load a bitmap. Only. OK, i thought to use a windows message to the static
%SM_GetImage, %Image_Bitmap which gives me the handle of the image - well... now i have a handle that should be compatible with what the dialog expects...
But - how? All it can do is to load a bitmap from file. No message as %WM_SetImage
Stretching the image across the dialog ? how to set it's zOrder to avoid other controls flicker and getting covered?
Do dialogs and windows not have multiple layers that canbe used for images behind the controls or as translucent cover on top of all with a colored glass effect?
I find nothing that would pass the handle to this #!@dialogż? :(
- only the scent of using some hDCs of dialog and image and ancient API-functions as TransBlt or BitBlt what i used on windows 3.11 just a few day ...err... decades ago in vb3
No better way?
There is an image-control (static) that allows to load few more image-types than bitmaps only. Also Canvas control has functions to load different types and even can convert these to bmp.
The dialog has a function Set Image that allows to load a bitmap. Only. OK, i thought to use a windows message to the static
%SM_GetImage, %Image_Bitmap which gives me the handle of the image - well... now i have a handle that should be compatible with what the dialog expects...
But - how? All it can do is to load a bitmap from file. No message as %WM_SetImage
Stretching the image across the dialog ? how to set it's zOrder to avoid other controls flicker and getting covered?
Do dialogs and windows not have multiple layers that canbe used for images behind the controls or as translucent cover on top of all with a colored glass effect?
I find nothing that would pass the handle to this #!@dialogż? :(
- only the scent of using some hDCs of dialog and image and ancient API-functions as TransBlt or BitBlt what i used on windows 3.11 just a few day ...err... decades ago in vb3
No better way?