Resize Event for Console
问题 So I thought the window resize event would come through winproc, I might be mistaken, looking to get notified for a Console resize event. I want to maximize the console buffer on resize, and once it's finished essentially shrink it back down to the window size, thus preventing an overflow error due to the buffer being smaller than the window. 回答1: Unfortunately, the answer is you can't hook the console's WndProc because it's in a separate, security-controlled process. Spy++ can hook other