Skip to main content
gamedev.net
🔒 Locked

Display Screen

Started by vbisme Nov 26, 2000 at 7:01 PM 0 replies 150+ views
Original Post
vbisme
vbisme
Let's say I have a window with border and title bar and all of that. I want to add a clipper. How do I have the "rect" withing the border and title?
  
///////////////

///////////////

/             /
/             /
/             /
/             /
///////////////

  
The part within the "/" Is it just the Width and Height of the Window? What is the structure? Edited by - vbisme on 11/26/00 7:10:02 PM
Beelzebub
Beelzebub
Assuming you''re taking Windoze/DirectX, their''s a nice, but little used API function called AdjustWindowRect (there''s also an Ex version). You give in the window style used to create the window and it works out all the shite to do with window borders, titles, menu bar etc. and returns a rectangle of the client area of your screen - RTFN for more info...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.