Hi

Try this one:

width  = ( ( USHORT ) ( pWVT->PTEXTSIZE.x * pWVT->COLS ) ) + borderwidth;

SetWindowPos( pWVT->hWnd, NULL, left-(pWVT->bMaximized?3:0), top, width,
height, SWP_NOZORDER );

Then the windows shows up in right proportions at left and right edge.

Regards
Pritpal Bedi
-- 
View this message in context: 
http://www.nabble.com/2008-06-10-15%3A35-UTC%2B0800-Pritpal-Bedi-%28pritpal%40vouchcac.com%29-tp17766403p17767664.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to