Search found 50 matches

by mrv2k
Thu Feb 24, 2022 12:19 am
Forum: Coding Questions
Topic: Menu check mark DPI scaling
Replies: 0
Views: 273

Menu check mark DPI scaling

Image

Is there any way to make the menu check marks and sub menu arrows DPI aware without drawing my own? This is what it looks like when desktop scaling is set to 150%. It gets worse as the scaling goes up.
by mrv2k
Sat Dec 25, 2021 3:40 pm
Forum: Applications - Feedback and Discussion
Topic: PB.Ex FTP (Windows)
Replies: 41
Views: 22257

Re: PB.Ex FTP (Windows)

Hi Thanks for the great DLL files but I have a bit of an issue. I'm writing a downloader for Amiga WHDLoad files and if I try to download the following file , ReceiveFTPFileEx give me nothing. 100MostRememberedGamesOnThe64_v1.01_PerhåkanSundell&RonBirk.lha I'm pretty sure it's the 'å' that is do...
by mrv2k
Sun Sep 12, 2021 2:51 pm
Forum: Coding Questions
Topic: Speed up filling ListiconGadget from thread?
Replies: 5
Views: 1029

Re: Speed up filling ListiconGadget from thread?

Try a virtual listicon. I can load 38000 items in 27ms. It does add some complications programatically that need to be worked around but it's worth it if you need speed. Here's an example #ItemCount = 5000 #LVSICF_NOINVALIDATEALL = 1 #LVN_ODCACHEHINT = #LVN_FIRST - 13 Global Dim myItems.s(#ItemCount...
by mrv2k
Wed Apr 28, 2021 11:05 am
Forum: Coding Questions
Topic: Command line program NEEDS its name at start of parameters
Replies: 8
Views: 1404

Re: Command line program NEEDS its name at start of parameters

Assuming that the command line works from a DOS prompt, you'd need to format it like this param$="-m "+#DOUBLEQUOTE$+"|sox sound1.wav -p -v 1.00"+#DOUBLEQUOTE$+" "+#DOUBLEQUOTE$+"|sox sound2.wav -p -v 0.50"+#DOUBLEQUOTE$+" "+#DOUBLEQUOTE$+"P:\so...
by mrv2k
Tue Mar 09, 2021 8:18 am
Forum: Feature Requests and Wishlists
Topic: Mismatched brackets error message
Replies: 3
Views: 2225

Re: Mismatched brackets error message

If you go to Preferences - Coloring and scroll down a bit, there is an option for "Mark mismatched Braces and Keywords". Make sure that is ticked and a colour is set. If you tick the option above "Mark matching Braces and Keywords" it's easier to see when you are writing the comm...
by mrv2k
Tue Feb 16, 2021 8:21 pm
Forum: Coding Questions
Topic: gadget limitations - eg text gadget
Replies: 13
Views: 1629

Re: gadget limitations - eg text gadget

I use a virtual listicon gadget in a Mame frontend I wrote, which can display 43000 text lines pretty much instantly. Might be worth a search on the forums.
by mrv2k
Mon Jul 27, 2020 7:14 pm
Forum: Coding Questions
Topic: Changing the Font in the Console & My First new game.
Replies: 60
Views: 10965

Re: Changing the Font in the Console & My First new game.

You could simplifly your code and speed it up by using select..case rather than if..elseif..endif. e.g. Result = Random(12,1) ; change 12 to 13 later - have no explosive users yet! Select Result Case #creaturebite If Enemy_CanUse_bite ; Assumed that this is a bool constant WPN_Category = "Creat...
by mrv2k
Wed Jun 24, 2020 10:41 am
Forum: Applications - Feedback and Discussion
Topic: SimpleFE MAME Frontend
Replies: 3
Views: 2559

Re: SimpleFE MAME Frontend

It looks similar, but it isn't. MAMEUI is slow, clunky and bloated compared to vanilla MAME. This program is portable, small in size and allows multiple configs per machine. This is great for me as I mostly use the command line for running MAME. As I said, it's not a replacement for a frontend, it's...
by mrv2k
Tue Jun 23, 2020 11:40 pm
Forum: Applications - Feedback and Discussion
Topic: SimpleFE MAME Frontend
Replies: 3
Views: 2559

SimpleFE MAME Frontend

I've uploaded an alpha version of a frontend that I have been working on to my EasyEmu site. It's called Simple FE and is designed to be a fast, lightweight launcher for MAME. Be aware that SFE is not designed to be a replacement for the lovely graphical frontends, it is very plain in comparison and...
by mrv2k
Sat May 23, 2020 9:58 am
Forum: Coding Questions
Topic: Use Statusbar with `OpenWindowedScreen ( )`?
Replies: 8
Views: 1740

Re: Use Statusbar with `OpenWindowedScreen ( )`?

If you just have a statusbar and a menu use...

Code: Select all

WindowHeight(#WINDOW) - StatusBarHeight(#STATUSBAR) - MenuHeight()
by mrv2k
Thu May 21, 2020 6:20 pm
Forum: Applications - Feedback and Discussion
Topic: [Modules] ListEx (all OS / DPI)
Replies: 471
Views: 128250

Re: [Modules] ListEx (all OS / DPI)

Sorry Me Again!

Looks like something broke on the scroll bars with the new update. The scrollbar button scrolls at a different speed to the mouse. It does it on the example if you add a few more lines. I checked on different DPI's and it's not related.

Regards

Paul
by mrv2k
Thu May 21, 2020 5:04 pm
Forum: Applications - Feedback and Discussion
Topic: [Modules] ListEx (all OS / DPI)
Replies: 471
Views: 128250

Re: [Modules] ListEx (all OS / DPI)

Thanks Thorsten!

Works absolutely perfectly now!

Only had to comment out a debug.

Great Work!

Regards

Paul
by mrv2k
Tue May 19, 2020 3:45 pm
Forum: Applications - Feedback and Discussion
Topic: [Modules] ListEx (all OS / DPI)
Replies: 471
Views: 128250

Re: [Modules] ListEx (all OS / DPI)

I think its a DPI issue. My display is normally set to 125% scaling. If I turn scaling to 100%, the header and column problems go away. If I run this code at 100% scaling, the gadgets are perfect. IncludeFile "ListEx\ListExModule.pbi" IncludeFile "TreeEx\TreeExModule.pbi" OpenWin...
by mrv2k
Mon May 18, 2020 12:16 pm
Forum: Applications - Feedback and Discussion
Topic: [Modules] ListEx (all OS / DPI)
Replies: 471
Views: 128250

Re: [Modules] ListEx (all OS / DPI)

I'm trying to use the ListEx gadget in a splitter gadget. If I run this code, there seems to be a problem with the auto resize. Am I doing something wrong? IncludeFile "ListEx\ListExModule.pbi" IncludeFile "TreeEx\TreeExModule.pbi" OpenWindow(0,0,0,1280,720,"Test",#PB_W...
by mrv2k
Sun May 17, 2020 2:28 pm
Forum: Applications - Feedback and Discussion
Topic: [Modules] ListEx (all OS / DPI)
Replies: 471
Views: 128250

Re: [Modules] ListEx (all OS / DPI)

Fixed it! Changed... If ListEx()\ScrollBar\Item()\Thumb\Size < dpiY(6) : ListEx()\ScrollBar\Item()\Thumb\Size = dpiY(6) : EndIf to If ListEx()\ScrollBar\Item()\Thumb\Size < dpiY(20) : ListEx()\ScrollBar\Item()\Thumb\Size = dpiY(20) : EndIf in the procedure CalcScrollBarThumb_ Regards Paul