Re: how turn off task bar
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Jan 19, 2000
- 399 views
Thanks Brian, I was already using " getExtent(Window1)" to help center things in my window, & I remember now that you remind me having seen SystemMetrics used before somewhere, but it didn't occur to me to try that to make a fully big window. Thanks! Dan Brian wrote: >This doesn't "turn off" the taskbar, but it does hide it behind your window: > >---- untested code starts here ---- >include win32lib.ew > >-- use the WinAPI to get the screen resolution in pixels >constant screenCX = c_func(xGetSystemMetrics,{SM_CXSCREEN}) >constant screenCY = c_func(xGetSystemMetrics,{SM_CYSCREEN}) > >-- now create the window >constant MainWin = create(Window,"Big Winder",0,0,0,screenCX,screenCY,0) > >---------------------- >--- your code here --- >---------------------- > >WinMain(MainWin, Normal) >---- end code ---- > >Also, if you want to hide the caption bar with the -0X buttons in the upper >right hand corner, you can of course use the WS_POPUP window style. > >Go to bed! >Brian