Recent Posts

Pages: [1] 2 3 ... 10
2
General Discussion / Re: Windows support for WIN32 apps in the future
« Last post by Chris Boss on May 20, 2025, 10:23:03 am »
I will post more info about this as it appears on the web.

Build 2025 is onging at this moment, so likely more will come out after Build is over.

https://www.xda-developers.com/microsoft-store-build-2025/

3
General Discussion / Re: Windows support for WIN32 apps in the future
« Last post by Chris Boss on May 20, 2025, 10:19:34 am »
My take on this:

While this is a great new feature for WIN32 developers (ie. Powerbasic apps), it also tells us something about Microsofts attitude towards WIN32 support.

They would not add a feature like this to the Microsoft (Windows) Store if they desired to terminate WIN32 support any time soon. Maybe this is a good indicator of what to expect in Windows 12. As would be very surprised to see Microsoft do this and then remove all WIN32 support from Windows 12.

This seems (to me) to indicate that Microsoft wants to continue to support WIN32 apps in the future, but simply wants to make the use of WIN32 apps safer for end users, by controlling now only the  install process, but also the update process.

This is good news in my opinion.
4
General Discussion / Windows support for WIN32 apps in the future
« Last post by Chris Boss on May 20, 2025, 10:12:22 am »
New exciting news from the latest Build 2025:

https://blogs.windows.com/windows-insider/2024/12/04/announcing-windows-11-insider-preview-build-27758-canary-channel/

https://blogs.windows.com/windowsdeveloper/2024/12/03/raising-the-bar-updates-to-the-microsoft-store-on-windows/

Microsoft has just announced that the Microsoft Store is soon going to support WIN32 app updates via the store.

The MS Store supports downloading of WIN32 apps. But updating had to be handled by the developers own website externally.

Now the MS Store will support not only downloading WIN32 apps, but also the store can handle updates of the same WIN32 app.
5
EZGUI 5 support forum / Re: MIDI Controls Under Windows 11
« Last post by Chris Boss on May 06, 2025, 08:02:49 am »
MIDI works under Windows 11.

That said, Windows 11 may not come with the audio/video codec you may use in the audio/video file. There are many codecs available today and an installation of Windows may not come with a specific codec you require.

I would do some research into what audio/video codecs Windows 11 normally ships with and make sure your audio file uses a more up to date codec.

So the issue is most likely not with MIDI (MCI control) but with codecs.
6
EZGUI 5 support forum / MIDI Controls Under Windows 11
« Last post by Frank Kelley on May 05, 2025, 01:24:06 pm »
Is there any reason why an EZGUI program using multiple MIDI controls would fail to play audio under Windows 11? A friend has one of my programs that plays audio fine under Windows 10, but the same program on his new Acer Windows 11 laptop responds with silence. Other Windows programs do play audio fine in the laptop. I initially thought it might be a driver issue, but that now seems unlikely.

Any clue as to why this would be happening? Thanks in advance.
7
EZGUI 5 support forum / Re: Light/Dark Mode
« Last post by Chris Boss on April 05, 2025, 08:14:23 am »
An example:

Code: [Select]
     EZ_StartCList "Form1", ""
     Count&=EZ_GetCListCount
     IF Count&>0 THEN
          FOR N&=1 TO Count&
              ID& = EZ_GetCListID(N&)
              Class$ = EZ_GetCListClass(N&,1)
              hWnd& = EZ_GetCListHandle(N&)
          NEXT N&
     END IF
     EZ_EndCList
8
EZGUI 5 support forum / Re: Light/Dark Mode
« Last post by Chris Boss on April 05, 2025, 08:12:29 am »
There is a section in Help file:

"Your EZ Guide to EZGUI"
... "Forms"
... ... "Enumerating a Forms Controls"

The available commands are:

EZ_StartCList
EZ_EndCList
EZ_GetCListCount
EZ_GetCListID
EZ_GetCListClass
EZ_GetCListHandle

You start an enumeration task with EZ_StartCList.

Then you can get info about the controls on the form using the other functions and then finish the enumration task with EZ_CList.
9
EZGUI 5 support forum / Re: Light/Dark Mode
« Last post by Frank Kelley on April 03, 2025, 11:45:24 pm »
Thank you for the response, Chris.

Most of my apps don't use OwnerRedraw. What is the method of enumerating all the controls? Is there an example of this in the EZGUI examples folder?
10
EZGUI 5 support forum / Re: Light/Dark Mode
« Last post by Chris Boss on April 03, 2025, 04:47:33 pm »
EZGUI provides enumeration commands so you can walk through all the controls on a form.

In controls you desire to allow changing their color you can change their color enmass for a form in the forms %EZ_Loaded event before the form is visible.

Once a form is visible and the user changes color mode, you can disable the forms redraw state, enumerate all the controls and change their colors as desired, enable the forms redraw state and then force the form to redraw itself.

Use a Global variable to track the color mode state and store that in the registry so it can be automatically set when the app is run again.

It will require a little effort, but it is quite doable.

There are functions which can tell you want the class (type) of control it is when you enumerate through them.

For ownerdraw stuff it will be a little more complicated, since you have to custom the ownerdraw routine so it can change colors.
Pages: [1] 2 3 ... 10