winapi - Is there a resize event for screen in Windows -


I have a simple app that is connected to a docking station, when I change the normal position. The problem is I do not know how to detect (and disconnected) when the second monitor is connected so that I can set the state only after connecting. That's why I'm looking for the screen. Revision of incident or similarity.

I am working on Windows 7, so I will settle for the same solution for Windows 7, however, if possible I would like a more universal solution.

Another thing - it's a VS. 2008 C ++ should be a compatible solution ;-), but I have access to full VS at work, so the requirement of MFC will also be manageable.



Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -