🔒 Locked
Window redraw
Advertisement
Original Post
How to force window to redraw & show its contents when moving? Like Winamp has, for example.
Quote:
Original post by Anon Mike
It's not clear what you mean. Just in case, you should also right-click your desktop, select Properties, Appearance, Effects, and make sure "Show window contents while dragging" is on.
But if that checkbox is unchecked, I want my window to be redrawn not depending on it.
Quote:
Original post by Fish Fishes Quote:
Original post by Anon Mike
It's not clear what you mean. Just in case, you should also right-click your desktop, select Properties, Appearance, Effects, and make sure "Show window contents while dragging" is on.
But if that checkbox is unchecked, I want my window to be redrawn not depending on it.
It's your app. But if that box is not checked it's probably because the user has a slow machine and can't really do this sort of thing and look good anyway. Going out of your way to ignore user settings is usually not the best course.
Quote:
Original post by Anon Mike Quote:
Original post by Fish Fishes Quote:
Original post by Anon Mike
It's not clear what you mean. Just in case, you should also right-click your desktop, select Properties, Appearance, Effects, and make sure "Show window contents while dragging" is on.
But if that checkbox is unchecked, I want my window to be redrawn not depending on it.
It's your app. But if that box is not checked it's probably because the user has a slow machine and can't really do this sort of thing and look good anyway. Going out of your way to ignore user settings is usually not the best course.
Winamp ignores. I want the same sort of thing, Winamp does.
Quote:
Original post by Anon Mike Quote:
Original post by Fish Fishes Quote:
Original post by Anon Mike
It's not clear what you mean. Just in case, you should also right-click your desktop, select Properties, Appearance, Effects, and make sure "Show window contents while dragging" is on.
But if that checkbox is unchecked, I want my window to be redrawn not depending on it.
It's your app. But if that box is not checked it's probably because the user has a slow machine and can't really do this sort of thing and look good anyway. Going out of your way to ignore user settings is usually not the best course.
Winamp ignores. I want the same sort of thing, Winamp does.
there is a message for when dragging stats and when dragging finishes
however doing such will most likely bog down the machine
you can even make your own code that detects when the top region is clicked on and capture the mouse and continuously reposition the window and stop when the left button is up
best course of action is to not do either and allow the user's machine settings to control stuff like that.
however doing such will most likely bog down the machine
you can even make your own code that detects when the top region is clicked on and capture the mouse and continuously reposition the window and stop when the left button is up
best course of action is to not do either and allow the user's machine settings to control stuff like that.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement