NO

Author Topic: Lost your screen? Here's how to fix it  (Read 5359 times)

Rainbow Sally

  • Guest
Lost your screen? Here's how to fix it
« on: December 30, 2004, 03:22:44 PM »
Here are a couple of ways to reset the ide if your screen goes wacky.

Quote


Every once in a while Pelle's C seems to lose the screen size.

The fix is in the registry under

[HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Application]

There are a number of settings there and to write them all at once
is easiest.  Here's the default settings.  Copy and paste the text
to a new .reg file (if you can... I wonder if XT is an improvement?)

Or you can open regedit.exe and just make sure there are no large
negative numbers in the "AppWindow" setting.  From there it's easy
to change the size by dragging an edge.

-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Application]
"AppWindow"="4 4 804 576 1"
"ProjPaneWidth"=dword:00000134
"ProjPaneLeft"=dword:00000000
"TabHeight"=dword:00000079
"AppFont"="MS Sans Serif,8,0"
"Toolbar"=dword:00000001
"Statusbar"=dword:00000001
"ShowSplashScreen"=dword:00000001
"ShowPath"=dword:00000000
"FastClassifyFile"=dword:00000001
"NoSavePromptBeforeBuild"=dword:00000000
"AutoLoadProject"=dword:00000001
"ShowWhitespace"=dword:00000000
"ShowLinebreaks"=dword:00000000
"ShowLinenumbers"=dword:00000001
"BuildBrowseInfo"=dword:00000001
"ShowCallTips"=dword:00000001
"TabStops"=dword:00000004
"MaxFileSize"=dword:00800000
"NewProjectView"=dword:00000000
-----------

Here's an alternate set of defaults with a slightly larger font.

REGEDIT4

[HKEY_CURRENT_USER\Software\Pelle Orinius\PellesC\Application]
"AppWindow"="4 8 793 479 0"
"ProjPaneWidth"=dword:00000134
"ProjPaneLeft"=dword:00000000
"TabHeight"=dword:00000079
"AppFont"="Courier New,10,0"
"Toolbar"=dword:00000001
"Statusbar"=dword:00000001
"ShowSplashScreen"=dword:00000001
"ShowPath"=dword:00000000
"FastClassifyFile"=dword:00000001
"NoSavePromptBeforeBuild"=dword:00000000
"AutoLoadProject"=dword:00000001
"ShowWhitespace"=dword:00000000
"ShowLinebreaks"=dword:00000000
"ShowLinenumbers"=dword:00000001
"BuildBrowseInfo"=dword:00000001
"ShowCallTips"=dword:00000001
"TabStops"=dword:00000004
"MaxFileSize"=dword:00800000
"NewProjectView"=dword:00000000
"FindFormat"="*.*"
"FindMatchCase"=dword:00000000
"FindSubdirectories"=dword:00000000



If you are not used to working with your registry, or if you are afraid to experiment, good for you!  It's sometimes risky business.  

Start by using regedit.exe to export a .reg file and take a look at it's format with a text editor.  ("notepad <name>.reg" should work.) Then in regedit again, import it back into the registry.  Change a minor setting in the ide,  and import the .reg file to restore the previously save settings.

Maybe try modifying the .reg file to change something minor too -- until you are confident enough to import the above changes properly.

DON'T DELETE EVEN THE MOST OBNOXIOUS REGISTRY ENTRIES BY HAND unless you really want to know why everyone warns you not to mess with it.  You might end up having to reinstall Windows from scratch.  I know this to be a fact...  8-)