OS: Windows 7 64bit
Two monitors, one in portrait, one in landscape. Landscape one is primary.
I'm trying to resize a console using SetConsoleWindowInfo, but if I try and resize it to a size that would fit on the portrait monitor but not the landscape (primary) monitor, the function returns as failed, even though the console is actually on the portrait monitor.
I know Windows uses the screen size as an upper limit on the dimensions of the console window. However, it is only using the screen size of the primary monitor. Is there any way to specify which screen's dimensions to use, or even better, to have it use the combined desktop area as the maximum dimensions?