Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mekanixx (RIP)

#1
Quote from: spud on May 09, 2024, 08:58:39 AM
Thank you very much.
I will be able to convert a lot of 32-bit from PowerBASIC.


Mike

Attached is the demo using MSVC for compiling as a 64 bit app. Have fun!

Doyle
#2
Announcements / Re: Ian Casey
December 28, 2023, 04:48:00 PM
Quote from: MrBcx on December 21, 2023, 04:13:15 PM
I am sad to announce the recent passing of Ian Casey on December 16, 2023.  Ian was 66 years old.

Very sad news indeed.

Quote

Always a gentleman, generous and friendly, Ian's presence will be greatly missed.


Ian was a very good friend and will be greatly missed. He was a very generous guy to me, sharing his code and tips on programming in general. We would send each other code, back and forth while working on a project.

I will never forget Ian sent me a computer which had XP on it, after it came out. I had previously only had access to Win98 (yeah, I'm old). He wouldn't let me pay him for the computer or even the shipping cost.

RIP Ian.

Doyle

#3
User Contributions / Re: Menu Maker 2.0
December 16, 2023, 09:41:51 AM
Quote from: Robert on December 15, 2023, 08:23:02 PM
Hi Doyle:

Thanks for this great, as usual, tool and code.

Here's a bit of cosmetics that you might want to attend to.

In Menu Maker 2.0, mm2.bas lines 45 through 48

   DIM icex AS INITCOMMONCONTROLSEX
   icex.dwSize = sizeof(INITCOMMONCONTROLSEX)
   icex.dwICC = ICC_TREEVIEW_CLASSES
   InitCommonControlsEx(&icex)

are OxBow Code.

The code for initializing ICC_TREEVIEW_CLASSES is emitted in BCX_InitGUI.

Andreas Guenther's Treeview demo in the GUI_Demos also contains this superfluous code.

Thanks Robert, I did not know this. I don't tend to look at the generated code, it just works. (tm) :)

I removed it from the mm2.bas code, looked at the cpp code and saw the InitCommonControlsEx code. You guys are always looking ahead, thanks.

Seems I have a lot of code to change! Appreciate the heads up.

Doyle

#4
Quote from: Robert on November 11, 2023, 06:14:57 PM


Also, inside LVSubClass.inc

instances of

GWL_WNDPROC

should be changed to

GWLP_WNDPROC

*sigh* I had this right with GWLP_WNDPROC but I guess I changed back somehow... Thanks Robert.

Quote from: MrBcx on November 11, 2023, 06:58:29 PM
Robert is correct but its worth remembering that BCX automatically promotes GWL_* to GWLP_* for us.

Ref:  https://bcxbasiccoders.com/smf/index.php?topic=623.msg2901#msg2901

Thanks, I didn't know that. BCX continues to surprise me at how well it works
translating almost anything we throw at it!

Also when looking up something in the help file I always find something new
that has been added that I missed somehow. :)

I have found a lot of pi variables and &h variables in old code lately. lol

Thanks,
Doyle
#5
Thanks Kevin, I always appreciate corrections. New code uploaded to the announcement  above.

Doyle
#6
Hi All,
I needed a listview that could be edited in place for a project so I whipped this up. I thought someone else might benefit from it so here is the code. I added some notes on how to use the code in the files along with the MIT license. Enjoy!

Doyle

Edit: New code uploaded with MrBCX's suggestions applied.

#7
User Contributions / Re: Simple DPI-Aware for BCX
October 18, 2023, 03:02:05 PM

Quote
Thank you Doyle ... I appreciate it very much. 

I've started incorporating the DPI code into some of my apps, with the understanding that there might be growing pains (but hopefully not).

WooHoo! works great on my editor. :) And you're welcome. Thank you!

Doyle

#8
User Contributions / Re: Simple DPI-Aware for BCX
October 18, 2023, 12:26:29 PM
Quote from: MrBcx on October 16, 2023, 03:05:21 PM
Attached is the re-uploaded Version 4.
...
Reminder:  Do not RUN the resulting .EXE from BED, start it from Windows Explorer/File Manager

Hi MrBCX,

Seems to work ok here on both (2) monitors (Ver: 4). They are both set to the same resolution.  Run from SciTE building from a *.bat file works. Running from my editor (similar to bed) using CreateProcess works fine also. Windows 11, 64 Bit.

HTH,
Doyle
#9
Wish List / Re: I wished for a FAST version of ...
September 21, 2023, 12:52:05 PM
Quote from: MrBcx on September 20, 2023, 05:35:32 PM
I wished for a FAST version of ... GetPixel () and SetPixelV().  My wish never came true.

....

So tell me, is anyone looking forward to this?

You bet! Thanks for pushing the limits! I don't always reply but I appreciate your (and everyone elses) efforts to make BCX better! And a big thanks to Robert for all the fine documentation in the help file!

Doyle
#10
Quote from: MrBcx on August 10, 2023, 12:43:31 PM
Another Update

My new BCX specific 64-bit Lexilla.dll went from 1MB down to 231KB.

I'm happy about that
;D

Looking good! Would you have a list of your changes anywhere? I'm particularly interested in the syntax highlighting changes. The "$" and "#" is mainly the problem. I fixed this in  the vb lexer long ago but the same changes don't seem to work now (or more likely I forgot exactly how I did it. :)

Thanks,
Doyle
 
#11
Quote from: MrBcx on August 08, 2023, 11:50:45 AM
Quote from: mekanixx on August 08, 2023, 11:28:44 AM

Try this built on MSVC 2022.

Doyle

Amazing!

Who needs A.I. when we have Doyle Whisenant on the team?

I applied your changes to latest code, the bug went away, and my smile returned!

Big thanks buddy!


Not a problem, glad to help. BTW, thanks for all you do (and everyone else) to keep BCX on the cutting edge!

Doyle
#12
Quote from: MrBcx on August 08, 2023, 09:35:51 AM
Hi Doyle -- I just sent you a forum private msg with a link.  I appreciate your help!


No problem, glad to help if I can. Try this built on MSVC 2022.

https://app.box.com/s/zwa55slfps7jojmvn8fs1td8qc8sjbcc

Doyle
#13
Quote from: MrBcx on August 07, 2023, 08:55:04 PM
I spent some time looking but couldn't find anything that indicated that anyone
has tried to target BED at the latest Scintilla dlls.  Am I right about that?


I just downloaded 537 (latest), built the dlls and they work fine here with my editor. My editor is very experimental and has a lot of dead code that I wouldn't wish on anyone trying to get another editor to work.

I do remember having a similar problem but don't remember what it was offhand.

Quote

Does anyone feel like digging into this with me?

Do you have a zip of your latest code? No promises, but I'll have a look.

Doyle
#14
Wish List / Re: BcxSplitPath
April 23, 2023, 08:04:04 PM
Quote from: MrBcx on April 23, 2023, 05:06:02 PM
Why not this?

DIM Filename$, ext$

Filename$ = "C:\Temp\MyDocument.Dot.Mac"

ext$ =  MID$(BCXSPLITPATH$(Filename$, FEXT), 2)

PRINT ext$

PAUSE

Yeah, that looks like it'll work fine.

Thanks,
Doyle
#15
Wish List / BcxSplitPath
April 23, 2023, 04:08:14 PM
Hi folks,

Could we get an option for BcxSplitPath to drop the "." when returning FEXT? I'm using this quite a bit and following with a line to remove the "." is getting old! :)

Not to mention when I forget that last line!

ext$ = BCXSPLITPATH$(filename$, FEXT)
IF INSTR(ext$, ".") THEN REMOVE "." FROM ext$


Something like:

BCXSPLITPATH$(filename$, FEXT [, bRemove])

where if bRemove is TRUE/FALSE (or 1/0) to remove the "." or keep as is.

If not I might have a crack at it but you guys know c way better than I do.

Thanks,
Doyle