This example processes the WM_WINDOWPOSCHANGED message and assigns the two structures to pointers.

PSWP pswpNew, pswpOld;

case WM_WINDOWPOSCHANGED:
    pswpNew = PVOIDFROMMP(mp1);
    pswpOld = pswpNew + 1;


[Back] [Next]