News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Recent posts

#61
Work in progress / Re: New resizer discussion
Last post by John Z - November 20, 2025, 01:15:32 PM
Hi Vortex,

Thanks - I think even though there are still some improvements to make I need to try to make a library now and test that usage.

I still need to test an owner-draw control too.

So far there are just three options that can be set/reset
1) do not shrink smaller than original size
2) do not resize std pushbuttons
3) do not resize the calendar

These can be set or reset anytime in the 'host' program.


John Z
#62
Chit-Chat / Re: WinDirStat
Last post by John Z - November 20, 2025, 01:03:25 PM
Hi Vortex,

Yes, I use the firewall monitoring and the Resource monitor (resmon.exe) to see what the programs are doing.  I have about 15 outbound blocks added for programs that really don't need to send out information when I use the program. 


John Z
#63
Work in progress / Re: New resizer discussion
Last post by Vortex - November 19, 2025, 07:48:11 PM
Hi John,

Keep up the nice work.
#64
Chit-Chat / Re: WinDirStat
Last post by Vortex - November 19, 2025, 06:50:56 PM
Hi John,

You can use Windows based firewall tools to inspect your network traffic.
#65
Chit-Chat / Re: WinDirStat
Last post by John Z - November 19, 2025, 05:00:29 PM
the "where" command is ok but really very slow.

SwiftSearch found 5107 *.pdf files in just .22seconds

where didn't give the first page in .22 seconds. It was taking so long to finish that I Ctrl-C'd it.

The 'Everything' program looks interesting with some added features like a HTTP server. I wounder though if the Everything software 'phones home' or sends other telemetry without notification.  I'll install at some point and check.

John Z
#66
Work in progress / Re: New resizer discussion
Last post by John Z - November 19, 2025, 11:21:17 AM
Here is a next iteration.  The zsizer can now also resize Child dialogs.
Still using just the three functions  -
Init_Resizer. Form_Resize, and Free_zsizer.

Click the 'Next Dialog' button to invoke the child dialog.

Child form also tests more control types being resized too.


John Z
#67
Chit-Chat / Re: WinDirStat
Last post by Vortex - November 18, 2025, 07:46:15 PM
Hi Timo,

In Windows, we have the built-in command-line tool WHERE to search files.
#68
Work in progress / Re: New resizer discussion
Last post by TimoVJL - November 17, 2025, 09:37:45 PM
A simple example of resize difficulties and why it isn't so easy.
#69
Work in progress / Re: New resizer discussion
Last post by John Z - November 17, 2025, 12:39:53 PM
Hi Timo,

That is basically what it does. Given the 'main' window handle it enumerates the controls, stores base values and the 'main' window size. Then upon WM_Size it uses that data and the percent change of the 'main' form applied to each control position/size parameters for a 'move' command.  Nothing is stored upon a resize event so little overhead, only stored when init_resizer is used under WM_INITDIALOG.

John Z
#70
Work in progress / Re: New resizer discussion
Last post by TimoVJL - November 17, 2025, 12:26:41 PM
One idea is to put resizable control id list under first id
and collect startsize to an array of rects.
When window size change, count new coefficient and size controls with it.
This method might work with DWM too.
That idea have been used with control / button grids, like games.