Code: |
locktc=msg($0B, #1-0 > 0 ? 0 : 1, 0) ; Disable/enable TC window redraw |
Code: |
; msg(<umsg>, <wparam>, <lparam>, [<post>]) |
Code: |
WM_SETREDRAW=$0B ; Enables/disables window redraw |
Code: |
BOOL LockWindowUpdate( |
Volniy wrote: | ||
http://msdn.microsoft.com/en-us/library/dd145034.aspx |
Quote: |
The purpose of the LockWindowUpdate function is to permit drag/drop feedback to be drawn over a window without interference from the window itself. The intent is that the window is locked when feedback is drawn and unlocked when feedback is complete. LockWindowUpdate is not intended for general-purpose suppression of window redraw. Use the WM_SETREDRAW message to disable redrawing of a particular window. |
Quote: |
This message can be useful if an application must add several items to a list box. The application can call this message with wParam set to FALSE, add the items, and then call the message again with wParam set to TRUE. Finally, the application can call RedrawWindow(hWnd, NULL, NULL, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN) to cause the list box to be repainted. |
Code: |
SetWindowPos(options.tchwnd, 0, 0, 0, 0, 0, SWP_FRAMECHANGED|SWP_NOCOPYBITS|SWP_NOMOVE|SWP_NOZORDER|SWP_NOSIZE); |
output generated using printer-friendly topic mod. All times are GMT + 4 Hours