PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: WinFBE v2.2.1  (Read 632 times)

Johan Klassen

  • Junior Member
  • **
  • Posts: 119
  • FF3 User
Re: WinFBE v2.2.1
« Reply #15 on: January 13, 2022, 09:13:29 PM »

Hi Paul :-)
I like the new look, any estimate on the release?
Logged

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 9411
  • Windows 10
    • PlanetSquires Software
Re: WinFBE v2.2.1
« Reply #16 on: January 13, 2022, 10:06:13 PM »

Hi Paul :-)
I like the new look, any estimate on the release?
Not sure at this time. I am creating a lot of new code every day but I have a fair amount of to-do items left in my notebook. When it is in a stable condition then I will probably upload test version so you guys can see how the editor reacts to your particular computer setups.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Johan Klassen

  • Junior Member
  • **
  • Posts: 119
  • FF3 User
Re: WinFBE v2.2.1
« Reply #17 on: January 14, 2022, 06:49:55 AM »

thanks Paul :-)
Logged

Joerg Buckel

  • Junior Member
  • **
  • Posts: 110
  • FF3 and WinFBE+WinFBX User
Re: WinFBE v2.2.1
« Reply #18 on: January 14, 2022, 12:47:31 PM »

Hey Paul
When we start programming and the code works, we are satisfied.
Then, as our programming knowledge and skills improve over time, we sometimes wonder how we could create such "modest" code and are no longer quite so satisfied.

I think all good programmers feel that way.
..... I am not such a good programmer..... sometimes I think. :-)

I'm looking forward to the beta or release version.
You are taking WinFBE to a new level with this.

Like I said before... it looks very good.
Logged
Greeting from Germany

Joerg

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 9411
  • Windows 10
    • PlanetSquires Software
Re: WinFBE v2.2.1
« Reply #19 on: January 16, 2022, 06:45:22 PM »

Thanks Joerg, you are correct. Lots of old code that I look at now and know that I can write it much better now. :-)
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 9411
  • Windows 10
    • PlanetSquires Software
Re: WinFBE v2.2.1
« Reply #20 on: January 16, 2022, 06:57:16 PM »

Here is what I've learned and implemented over the past couple of days.

- How to create semi-transparent popup windows allowing me to create a custom scrollbar that hovers above the child window much like it does in VSCode. You don't use WM_PAINT for this, you have to use UpdateLayeredWindow whenever you want to update the UI. I also learned that you need to hook into the message pump and redirect mouse messages because semi-transparent popup windows (WS_EX_LAYERED) do not get messages sent to their procedure handlers.

- I am now using the very latest Scintilla editing component. The lexers are no longer part of the Scintilla component itself. You need to compile whatever lexer(s) you need into a separate DLL (Lexilla.dll) and then retrieve the lexer pointer and feed it into the Scintilla control. I learned (after many GPF's) that you need to retrieve a new pointer for EVERY Scintilla window you create. You can not simply get the lexer pointer from Lexilla.dll and share it amongst all your windows. When a Scintilla window is destroyed it also destroys the pointer so therefore you can not share a global pointer. Using Visual Studio 2019 Community Edition, I was able to create 32 bit and 64 bit DLL's for both Scintilla and Lexilla and they work perfectly with the new code base. Now I can simply concentrate on modifying the existing lexer to make it perfect for FreeBasic.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer
Pages: 1 [2]