Announcement

Collapse
No announcement yet.

Display Status Bar in the IDE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Display Status Bar in the IDE

    This is a crazy question. I've been using the PB IDEs for years and never had this problem. In the PBCC IDE, the multi-line status bar has disappeared. I'm not sure I'm using the proper name. At the bottom of the IDE, there is a textbox for status messages from the IDE. For example, if you successfully compile a program, you'll get all kinds of details down there. I like to have it open to 3 or 4 lines deep. I realize it's re-sizeable. Well, somehow, tonight, I broke it.

    OK, to be sure, I went to Window > Options... > General Tab and verified the "Display status bar" check is set. I tried checking it off, then back on. But all I get is a single line status bar, not the multi-line status bar. I tried to re-size it, but there is no 'handle' on the status bar that I can find.

    I can't believe I've never run into this before after years and years. I've tried re-starting PBCC, moving it to another monitor, etc.

    Ideas?
    Christopher P. Becker
    signal engineer in the defense industry
    Abu Dhabi, United Arab Emirates

    #2
    Okay, if I maximize the IDE window, then re-size it, the problem disappears. So, problem solved. But I'm still shocked I never encountered it before. There must be some deep bug in the IDE, but given its rare appearance, I'm not too worried.
    Christopher P. Becker
    signal engineer in the defense industry
    Abu Dhabi, United Arab Emirates

    Comment


      #3
      And this is how I'm spending my Saturday night. Yes, I'm a wild party man.
      Christopher P. Becker
      signal engineer in the defense industry
      Abu Dhabi, United Arab Emirates

      Comment


        #4
        Howdy, Chris!

        I've had that happen when I accidentally resized the status area. Could that be what happened to you?

        ... added ... and I had a hard time grabbing the resize bar to restore it.

        Comment


          #5
          <deleted>
          =========================
          https://camcopng.com
          =========================

          Comment


            #6
            Hello Folks!

            Believe it or not, I'm having this problem AGAIN. I don't what I'm doing wrong (clicking where I shouldn't?). I've been using this IDE for years with no problem, and now, twice in a row.

            Anyway, my previous "fix" did not fix this problem. I've tried EVERYTHING. There simply is no 'handle' to grab to stretch out the message box where you normally see compiler messages. I went into Options and clicked them all off, then on again. I've re-started the application. I re-sized, minimized, maximized and moved to another screen. Nothing 'shakes' the IDE back into compliance.

            Out of frustration, I uninstalled PBCC and re-installed. And it comes up the same! So, is there a registry setting for this stupid bug? I even looked in the registry, but I'm afraid to start deleting settings without confirming what they really mean.

            I can sorta live without it, I guess. But at the moment, I'm trying to compile something with a bug, but without the message box, I can't see what the compiler is complaining about. Annoying!

            Any ideas?

            EDIT: in the attached image, you can see the dotted 'handle' that lets me re-size the entire application. That works fine. But right above the text "72 : 81", there is no handle to stretch the textboxes that have obviously collapsed. Click image for larger version

Name:	bug.png
Views:	69
Size:	42.7 KB
ID:	826854
            Christopher P. Becker
            signal engineer in the defense industry
            Abu Dhabi, United Arab Emirates

            Comment


              #7
              Howdy, Christopher!

              This may sound dumb, but sometimes the areas at the bottom of my IDE go to a minimal size and I have major trouble getting the mouse to go into resize mode. I have move the mouse very very slowly over the resize edge of the area to get into resize mode.

              This doesn't really sound like what you are describing but it's the closest I can come to a similar experience.

              Comment


                #8
                Originally posted by Christopher Becker View Post
                Hello Folks!

                Believe it or not, I'm having this problem AGAIN. I don't what I'm doing wrong (clicking where I shouldn't?). I've been using this IDE for years with no problem, and now, twice in a row.
                You need to be accurate vertically (to the pixel) in where you hover/click. It's just above the status bar. You can do that anywhere along that line - there is never a "handle" anywhere.
                =========================
                https://camcopng.com
                =========================

                Comment


                  #9
                  Alterenatively open PBCC.ini in a text editor and scroll down to "Height=" around line 170
                  When the bottom window is closed up completely, mine says 25.

                  Click image for larger version  Name:	image.png Views:	0 Size:	4.6 KB ID:	826858

                  Changing that to say 50 works well to display the bottom window for me.
                  =========================
                  https://camcopng.com
                  =========================

                  Comment


                    #10
                    delete
                    Stuart better info

                    Comment


                      #11
                      {Drive:\InstallPath}\PowerBASIC\{PBVersion}\bin\{PBVersion}.ini
                      <b>George W. Bleck</b>
                      <img src='http://www.blecktech.com/myemail.gif'>

                      Comment


                        #12
                        Howdy, Christopher!

                        Did it work? Did it work? Did it work? Did it work? Enquiring minds want to know!

                        Comment


                          #13
                          Suggestions above should have worked but anyway here's another.
                          '
                          Code:
                          #Compile Exe  ' Compile/run from PBEdit ~ Ensure output window is visible
                          #Dim All
                          #If %Def(%PB_CC32)
                           #Console Off
                          #EndIf​
                          #Include "win32api.inc"
                           
                          Function PbMain() As Long
                           Local hOW As Dword
                            ' Find handle of output window (Edit control)
                              hOW = FindWindowEx(GetForeGroundWindow(), 0, "Edit", "")
                              SetWindowPos(hOW, %HWND_TOP, 0,0,0,65, %SWP_NOMOVE)
                           
                          End Function
                          '------------------/
                          Last edited by Dave Biggs; Today, 12:14 PM. Reason: Now works for PBCC too :) (was glimpsing console as Foreground window!)
                          Rgds, Dave

                          Comment


                            #14
                            > Suggestions above should have worked but anyway here's another.
                            Put it on desktop. Change


                            Code:
                            #Compile Exe "C:\Temp\PBFix.DeleteMe"
                            thanks

                            Comment


                              #15
                              Originally posted by Dave Biggs View Post
                              Suggestions above should have worked but anyway here's another.
                              '
                              Code:
                              #Compile Exe ' Compile/run from PBEdit ~ Ensure output window is visible
                              #Dim All
                              #Include "win32api.inc"
                              
                              Function PbMain() As Long
                              Local hOW As Dword
                              ' Find handle of output window (Edit control)
                              hOW = FindWindowEx(GetForeGroundWindow(), 0, "Edit", "")
                              SetWindowPos(hOW, %HWND_TOP, 0,0,0,65, %SWP_NOMOVE)
                              
                              End Function
                              '------------------/
                              Works for PBEdit (PBWin), but not for CCEdit (PBCC) which Christopher is using.

                              =========================
                              https://camcopng.com
                              =========================

                              Comment


                                #16
                                Thanks Stuart, fixed in post #13
                                Rgds, Dave

                                Comment


                                  #17
                                  Wouldn’t hurt to post PBWin version also. It does wonky things at times.

                                  Comment


                                    #18
                                    Originally posted by Stanley Durham View Post
                                    Wouldn’t hurt to post PBWin version also. It does wonky things at times.
                                    Post 13 does work in PBWin. (now both)
                                    Dale

                                    Comment

                                    Working...
                                    X
                                    😀
                                    🥰
                                    🤢
                                    😎
                                    😡
                                    👍
                                    👎