B4rr4cuda

|
Posted: Sun Jun 03, 2007 13:57 Post subject: |
|
|
Quote: | В TConsole, если не ошибаюсь, это как-то реализовано |
В TConsole cmd создаётся с перенаправлением STDIN и STDOUT (и STDERROR) в трубы (pipes), но в этом случае CTRL+C отдыхает.
Quote: |
Это элементарно фиксится, инструкции есть в TCKB. |
Не знал
Quote: |
Не отрисоввывать при каждом срабатывании хука. А только при окончании изменения размера |
M_EXITSIZEMOVE -окончание изменения размера
A вот что говорит MSDN о WM_SIZE
Code: |
The WM_SIZE message is sent to a window after its size has changed.
A window receives this message through its WindowProc function.
Syntax
WM_SIZE
WPARAM wParam
LPARAM lParam;
Parameters
wParam
Specifies the type of resizing requested. This parameter can be one of the following values.
SIZE_MAXHIDE
Message is sent to all pop-up windows when some other window is maximized.
SIZE_MAXIMIZED
The window has been maximized.
SIZE_MAXSHOW
Message is sent to all pop-up windows when some other window has been restored to its former size.
SIZE_MINIMIZED
The window has been minimized.
SIZE_RESTORED
The window has been resized, but neither the SIZE_MINIMIZED nor SIZE_MAXIMIZED value applies.
|
Хук сам по себе грузит процесс. |
|