View Single Post
  #1  
Old 11-29-2008, 04:34 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Origin point in a guiwindowctrl

I think the origin point(0,0) in a guiwindowctrl should be the position the background starts drawing, not the position of the window itself. There really is no reason the contents of a window should be drawn outside the background and it only adds complications when you're trying to construct a GUI. You have to make sure the content is added below the top of the window and to the side of border, then you have to adjust the width to fit the size of minus the borders on the opposite sides... If you have custom GUI's for the windows that change dynamically, you will never be able to appropriately adjust the content for the graphics of the window.

Also, your scrollbar shouldn't stop scrolling just because your mouse tends to leave 20 or so pixels away from the bar. That's really annoying.

Last edited by DustyPorViva; 11-29-2008 at 05:47 AM..
Reply With Quote