Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I remove Scroll bars in Model window?

Status
Not open for further replies.

cwsink

Automotive
Mar 22, 2006
163
Hello,

Is there a way to remove the scroll bars from the bottom and right of the model window? I never use them and they take up real estate. (I know, I know...its not that much! But every little bit counts!)

Not a big deal, but if anyone knows, I'd appreciate it.

Thanks,

Craig Sink
Mechanical Engineer
Force Design, Inc.
 
Replies continue below

Recommended for you

I use this macro and another one quite similar (just the numbers change) to throw my document windows to the left and right monitors inside SW, which spans both monitors. Each macro is mapped to one of my extra mouse buttons. The numbers are pixels. The negative numbers on FrameLeft and FrameTop mean that the top and left of the window are actually off the viewable area by a few pixels. Basically, it's enough pixels to remove the borders. Note that the window will not be maximized into the SW application, which means that the document window will have its own title bar, close/min/max buttons, etc. However, by fiddling with the width, height, left, and top values you should be able to force the scroll bars off the viewable screen area and get the window to give you a bit more modelling space than you would get with the window maximized. Note that if you force the scroll bars off the screen in a drawing document you won't be able to see the sheet tabs. To deal with this, you can either add a couple of lines of code to use a different height value for a drawing document or you can use the sheet switcher macro that was posted a while back.

Hope this helps you out!

Code:
Dim swApp As SldWorks.SldWorks
Dim Part As SldWorks.ModelDoc2

Sub main()

Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
If swApp.ActiveDoc Is Nothing Then Exit Sub
swApp.ActiveDoc.ActiveView.FrameState = 0
swApp.ActiveDoc.ActiveView.FrameWidth = 972
swApp.ActiveDoc.ActiveView.FrameHeight = 688
swApp.ActiveDoc.ActiveView.FrameLeft = -7
swApp.ActiveDoc.ActiveView.FrameTop = -8

End Sub
 
Not sure which version of SW you are using, but the default F9 key toggles the task pane, and F10 toggles the top menu buttons. This gives you screen real-estate, but there isn't a toggle for the scroll bars.

SW07 SP2.0

Flores
 
If you have $$, I suggest getting a widescreen monitor ... maybe 21". You will love it!

Chris
SolidWorks 06 5.1/PDMWorks 06
AutoCAD 06
ctopher's home (updated 02-10-07)
 
Thanks for the input everyone. I really am not at a crisis, but I never use those scroll bars, and I thought there was a way to turn them off. I guess I'm wrong. I do have a widescreen (21" Dell, very nice!) but I'm always looking to streamline.

Thanks again,

Craig Sink
Mechanical Engineer
Force Design, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor