News:

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

Main Menu

Recent posts

#31
Work in progress / Re: New resizer discussion
Last post by John Z - November 22, 2025, 02:55:32 PM
What is a 'closed' project? - this is still developing not closed.

If you are referring to just releasing the source code it is still developing and will be released soon, as I have done with almost everything I've posted.... buggy or incomplete code shouldn't be released IMO.

The library was posted to hopefully get some feedback on it other than just my own testing, opinions and thoughts.

Once released (soon) I hope some of the more professional developers can improve my amateur programming.


John Z

Update: Attached the project zip for building the library.  Still to be done - make it
compatible with both ANSI and UNICODE - as posted it is not UNICODE aware.
#32
Work in progress / Re: New resizer discussion
Last post by TimoVJL - November 22, 2025, 02:37:08 PM
Closed projects are never of interest to me.
#33
Work in progress / Re: New resizer discussion
Last post by John Z - November 22, 2025, 01:09:38 PM
Update: 
Child of Child tested ok - no problem
Static controls class handling is updated ( I did not know a bitmap was a static control ) but fixed now.

Added simple method to inhibit resizing of individual controls providing a capability similar to the IDE settings in Resizable Dialogs, except not orientation specific.

New library for testing will be posted after some more clean up.

John Z

Update: Posted complete project with source below
#34
Beginner questions / Re: Lib HID / HID API
Last post by Vortex - November 22, 2025, 09:32:21 AM
Converting the import library to the module definition file :

LIBRARY hidapi
EXPORTS
"hid_close"
"hid_enumerate"
"hid_error"
"hid_exit"
"hid_free_enumeration"
"hid_get_device_info"
"hid_get_feature_report"
"hid_get_indexed_string"
"hid_get_input_report"
"hid_get_manufacturer_string"
"hid_get_product_string"
"hid_get_report_descriptor"
"hid_get_serial_number_string"
"hid_init"
"hid_open"
"hid_open_path"
"hid_read"
"hid_read_error"
"hid_read_timeout"
"hid_send_feature_report"
"hid_send_output_report"
"hid_set_nonblocking"
"hid_version"
"hid_version_str"
"hid_winapi_descriptor_reconstruct_pp_data"
"hid_winapi_get_container_id"
"hid_winapi_set_write_timeout"
"hid_write"

All the functions are following the __cdecl calling convention.
#35
Beginner questions / Re: Lib HID / HID API
Last post by RKSJBeck - November 21, 2025, 11:48:27 PM
Thanks for the help TimoVJL!

I'll give it a go.
It does compile without errors or warnings, and it links.
#36
Chit-Chat / Re: WinDirStat
Last post by John Z - November 21, 2025, 01:35:07 PM
Definitely can but it will be a little while yet.

John Z
#37
Chit-Chat / Re: WinDirStat
Last post by Vortex - November 21, 2025, 08:03:44 AM
QuoteI wounder though if the Everything software 'phones home' or sends other telemetry without notification.  I'll install at some point and check.

Kindly, could you share your inspection results with us?
#38
Work in progress / Re: New resizer discussion
Last post by John Z - November 20, 2025, 05:00:07 PM
Hi All,

Well here is the first pass library to try !

I've tested it making three different non-resizable programs, one was Hint_SA, into resizable dialogs, and they all were very successful. Just add three lines of code.

A library and a header file are in the attachment.  Both are needed.
The header file includes instructions and tips on using the library.

One thing I do in vcardz_i is also optionally resize the Font with the dialogs.
Wondering if that would be useful in this Library?

Of course any success or especially failure feedback is very important to the completion of this resizing capability.

John Z

#39
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
#40
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