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.


Messages - Raymond Couzens

Pages: [1]
1
Advanced EZGUI / Re: Components
« on: March 23, 2023, 08:27:03 am »
It's okay, I've discovered the %EZ_NoAutoSize event so just had to set Cancel to 1.  Slowly getting the idea of this.

2
Advanced EZGUI / Re: Components
« on: March 23, 2023, 05:22:52 am »
I've created a test control that has two labels and a ListView. I've also successfully created the dll for using it within the ezgui designer but at the moment just testing within my code.  I can create the control and display it fine.  What I was hoping was to be able to add my custom control to the main form's auto resizing by using the EZ_UseAutoSize and EZ_AddAutoSize commands but this is not working so have no doubt missed something.  I can of course write my own code for resizing the custom control but was just wondering if I've missed something obvious and can use ezgui's resize engine?  Thanks.

3
EZGUI 5 support forum / Re: ListView Scrollbar messages
« on: March 16, 2023, 11:23:35 am »
Thanks Chris, but I'd already worked out what was needed.

4
EZGUI 5 support forum / Re: ListView Scrollbar messages
« on: March 16, 2023, 08:09:13 am »
After a little more reading I found the answer! Needed to sub-class the ListView control which then gave me access to all the Windows Messages for it.

5
EZGUI 5 support forum / ListView Scrollbar messages
« on: March 16, 2023, 07:39:48 am »
Hi, is there a way of getting the vertical and horizontal scroll bar position change events from a ListView control with EZGUI5?  I think the appropriate Win32 API messages are WM_VSCROLL and WM_HSCROLL but how to get these messages from EZGUI?  Thanks.

Pages: [1]