Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
window maxed out
#1
ok, ive got this vendor problem at home. my isp decides that i want to see their crappy excuse for a yahoo-front-page-knock-off "portal" however, i do not. so, what i need to do is this

Code:
Copy      Help
trgger= when a certian window is maximized

min that window.

how can i do this?

thanks.
#2
Create new function and assign "created window" trigger. The function will run until the window is destroyed, and minimize it when maximized.

Code:
Copy      Help
int h=TriggerWindow
rep
,if(!IsWindow(h)) ret
,if(max(h))
,,;wait until really maxed
,,RECT r; GetWindowRect h &r
,,if(r.right-r.left<ScreenWidth) 0.1; continue
,,;restore at first
,,res h
,,;then minimize
,,min h
,,1
,0.5
#3
works great!

the "restore then minimize" line was truely inspired!
great idea!

thanks!


Forum Jump:


Users browsing this thread: 1 Guest(s)