End Google Ads 201810 - BS.net 01 --> Hi,
I have an application working in DualMonitor also.But in my application.there is no Frame.So,manaully i coded in my application to move to secondary window with one shortcut key.
What my problem is,
In my coding I coded to move applcation by this follwing code:
pWnd->SetWindowPos( NULL, -1024, 0, 0, 768, SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE );But it works only when the secondary monitor is in Leftside of primary and resolution settings like this numbers.

But i failed to move it the secondary monitor in right side.
So i use the following to get virtual scrren dimesnions
GetSystemMetrics( SM_XVIRTUALSCREEN )
GetSystemMetrics( SM_YVIRTUALSCREEN )
GetSystemMetrics( SM_CXVIRTUALSCREEN )
GetSystemMetrics( SM_CYVIRTUALSCREEN ) it returns as (-1024,0,2304,768).
it returns whole width of two monitors.
But i want only the dimesnions of secondary monitor.
How can i do that?
Anu