Na du? das Problem habe ich schon im german Forum angesprochen... Es wäre außerdem für nicht-eingeweihte hilfreich, würdest du ein kurzes Statement dazu abliefern.
@ all: nco2k is aiming at the window-refresh failing. I already discovered this bug in the german forum. There should be a workaround: Assign zero (0) to the ImageGadget(), and the previosly showed Image should disappear (says the PB helpfile). But this does not work!!!!!
The mighty manual wrote:Enable a smart way to refresh the window to reduce the flickering when resizing the window. If the window isn't resizable, the command isn't needed.
Simply disable smart refresh when you're not resizing the window.
The mighty manual wrote:Enable a smart way to refresh the window to reduce the flickering when resizing the window. If the window isn't resizable, the command isn't needed.
Simply disable smart refresh when you're not resizing the window.
funny, but i need the window to be resizable so i cant/wont disable it. :roll:
@Fluid Byte
> Now where again you mentioned that in your post....
i am reporting a bug of a command, which is responsible for smarter refreshing when resizing a window?! i think that is self explaining for every half way intelligent human being. i havent put #PB_Window_SizeGadget inside my example code, to show that it doesnt work correctly even if not resizing the window.
> And yes, you can enable/disable it in a simple response to #WM_SIZE respectivley #WM_SIZING or similar.
i think #WM_ENTERSIZEMOVE & #WM_EXITSIZEMOVE is the better way to go. but even so, it wont work as expected without manually refreshing the window again and where is the point in using SmartWindowRefresh() if i have to refresh the window anyway by myself?! whats "smart" about that??
1.) You need to show us that smart refresh doesn't work with fixed-size windows, it's not meant for that. Regardless wether it's working or not. Just disable it.
2.) It really doesn't make a difference if you use #WM_ENTERSIZEMOVE, #WM_SIZING or something else. Just wanted to let you know that you can control the on/off status of smart refresh by catching a specific callback message.
PS: I am using smart refresh too in some project and it's working fine but I'm not using it with tranparent icon's.