On Thu Jan 5 20:14:35 2023 +0000, Vladislav Timonin wrote:
Originally, I was keeping around a toolbar for `comctl32` icons (setup required icons with `TB_ADDBITMAP` and then grab the image list with `TB_GETIMAGELIST`). Which worked fine, until the refresh icon. I was trying to load it from `ieframe.dll`, but icons there are 32px, and unfortunately the resizing in Wine produces bad image quality, so no runtime resizing. Looking at `hhctrl.ocx`, the refresh icon happens to be the right (24px) size, a bit messy (neither `ieframe.dll` or `hhctrl.ocx` expose their `resource.h`), but it could actually work, the question now is, should I be loading external dlls in the first place?
Honestly I don't know, but I think it's fine to embed just the refresh icon since hhctrl.ocx does that, unless someone with more knowledge about this area knows if Refresh is supposed to have a standard location too? Seems a bit weird, but it's Microsoft… :D
But at least the other 3 can be picked from comctl32.