Search found 982 matches

by PaulSquires
Aug 26, 2022 12:59
Forum: Windows
Topic: WinFBE and themed GUIs
Replies: 7
Views: 1501

Re: WinFBE and themed GUIs

Thanks deltarho

The other option is to create a "Project" for your visual design application. WinFBE's projects automatically add a default resource file to your project that includes the necessary code to enable Windows themes.

Paul
by PaulSquires
Aug 24, 2022 22:02
Forum: Windows
Topic: FreeBasic "designer" - newbie help needed
Replies: 2
Views: 875

Re: FreeBasic "designer" - newbie help needed

From your other post it appears that you're starting to use WinFBE. I can help you better if you join my support forum at planetsquires.com there is very little documentation for the visual designer at the moment. My first priority was to redesign the editor but I indent to redesign and improve the ...
by PaulSquires
Aug 18, 2022 12:06
Forum: Beginners
Topic: How to setup Afx in FBE and start to using it?
Replies: 9
Views: 1181

Re: How to setup Afx in FBE and start to using it?

Hi Peter, Q1:I am confused because the codes in frmMain.inc are almost exactly the same already exist in WINFBE_VD_MAIN.bas,so why #include frmMain.inc again,doesn't this cause a compiler error? DO NOT manually edit the WINFBE_VD_MAIN.bas file. That file is automatically generated by the visual desi...
by PaulSquires
Jul 28, 2022 16:00
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.1 June 6, 2022)

Hi Mike, I do remember seeing this error before early after FBC 1.09 was released. I had a very hard time trying to figure out why it occurred because the exact same code worked okay on FBC 1.08. If I remember correctly, I copied over all of 1.08 INCLUDE files to overwrite the ones in 1.09. I believ...
by PaulSquires
Jul 01, 2022 10:48
Forum: Windows
Topic: How to translate this C To FREEBASIC
Replies: 10
Views: 1729

Re: How to translate this C To FREEBASIC

Peekmessage suggests the op wants some free running graphics (for a game for example) In that case, then the OP would also need to add this code that he did not translate in order to exit the WHILE TRUE loop otherwise the process will never exit. if (msg.message == WM_QUIT) // exit loop on quit bre...
by PaulSquires
Jul 01, 2022 1:06
Forum: Windows
Topic: How to translate this C To FREEBASIC
Replies: 10
Views: 1729

Re: How to translate this C To FREEBASIC

Here you go. I have commented out the unneeded lines and replaced them and moved a couple of things. You should also do all of your graphics drawing in WM_PAINT. #define WIN32_LEAN_AND_MEAN #include "windows.bi" #define WIN_CLASS_NAME "MyClass" Dim Shared hMainDC As HDC Dim Share...
by PaulSquires
Jun 06, 2022 11:04
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.1 June 6, 2022)

(Original initial post updated) WinFBE FreeBASIC Editor for Windows (Version 3.0.1) Download: https://github.com/PaulSquires/WinFBE/releases Changes Version 3.0.1 Editor: - "Save All" was not correctly adding the saved file to the Explorer list. - When closing all files sometimes not posit...
by PaulSquires
Jun 01, 2022 21:51
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.0 May 24, 2022)

File > Preferences > Environment Options > Enable Auto Indentation > Append loop variable to For/Next statement: for i=1 to 2 next i=1 for i =1 to 2 next i Note the blank space in the startvalue and the loop variable behind next. I miss a function 'Auto indent' like in FBIde: View/Format/Auto inden...
by PaulSquires
May 31, 2022 20:32
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.0 May 24, 2022)

Hi Wally, no problem at all my friend. I have made the changes and posted the details over on the planetsquires forum at https://www.planetsquires.com/protect/forum/index.php?topic=4609.0 I am hoping that the statusbar panel flips do not upset other users. :D The download contains several other fixe...
by PaulSquires
May 31, 2022 12:54
Forum: Sources, Examples, Tips and Tricks
Topic: CPU % usage meter.
Replies: 35
Views: 2708

Re: CPU % usage meter.

Would it be troublesome to fix the (path names with spaces )? Sadly, I have tried several times to find the source of why a compile would fail with the embedded folder spaces. I believe that I have one or two threads somewhere here on the forum where myself and fxm discuss it. The problem occurs du...
by PaulSquires
May 31, 2022 10:46
Forum: Sources, Examples, Tips and Tricks
Topic: CPU % usage meter.
Replies: 35
Views: 2708

Re: CPU % usage meter.

"WinFBE32.exe is 32-bit WinFBE and WinFBE64.exe is 64-bit WinFBE - nothing to do with the compiler" But in fact the 32 bit and 64 bit are two distinct compilers, although in WinFBE_Suite they share the same inc folder, which I must admit I thought some 64 and 32 bit .bi files were slightl...
by PaulSquires
May 28, 2022 1:12
Forum: Beginners
Topic: Infinite loop -- simple trap for beginners like me
Replies: 7
Views: 1114

Re: Infinite loop -- simple trap for beginners like me

Andrew92 wrote: May 27, 2022 21:10 Sorry, I'm a newb, What's this trap I'm looking for?
Read fxm's reply to the original poster. It describes why the loop variable causes the problem.
by PaulSquires
May 26, 2022 10:07
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.0 May 24, 2022)

I unselected "Highlight current line" and the highlighting did not go away Hi Wally, you are right, that code editor option does seem to be broken at the moment. Until I post a fix, you can manually edit your light or dark Them file that is found in the "\themes" subfolder. You ...
by PaulSquires
May 26, 2022 10:00
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.0 May 24, 2022)

wallyg wrote: May 25, 2022 22:38 I did notice that there is no Replace-In_Files option that we talked about.
Thanks Wally, I haven't forgotten as it is still on my to-do list. I hope to add the capability as soon as I can.
by PaulSquires
May 26, 2022 9:57
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346649

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.0.0 May 24, 2022)

Imortis wrote: May 24, 2022 18:01 Clicking in the Bookmark column with the mouse to set/unset a bookmark does not update the bookmark list. It only updates when using the menu or keyboard shortcut.
Thanks - I will add that ability for the next minor update.