Page 1 of 1

Listbox control - setting specific tab columns in a 64 bit application

Posted: 4 Oct 2023 15:34
by Harrison Pratt
I have a 64 bit VIP 9x application in which I cannot set custom tab stops in a dialog listbox control.
The listbox uses the default tab stops, no matter how I set the custom tab stops.

So, I created a tiny test application and found that custom tab stops work when compiled to a 32 bit application, but NOT when compiled to a 64 bit application with VIP 9x -- I haven't tested 10x yet.

64 BIT Dialog
Screenshot 2023-10-04 102150 64 BIT.png
Screenshot 2023-10-04 102150 64 BIT.png (4.78 KiB) Viewed 206163 times
32 BIT Dialog
Screenshot 2023-10-04 102053 32 BIT.png
Screenshot 2023-10-04 102053 32 BIT.png (5.02 KiB) Viewed 206163 times

Re: Listbox control - setting specific tab columns in a 64 bit application

Posted: 6 Oct 2023 11:30
by Thomas Linder Puls
Perhaps you could zip and attach the project (without exe(64) and obj(64) directories).

Re: Listbox control - setting specific tab columns in a 64 bit application

Posted: 6 Oct 2023 14:54
by Harrison Pratt
Test project is attached.
Press F8 to open the dialog, as usual.

Unravelling that glitch was breaking my brain for a while. :?

Re: Listbox control - setting specific tab columns in a 64 bit application

Posted: 10 Oct 2023 8:39
by Thomas Linder Puls
I think it may be caused by a violation of some restrictions on the run stack. If that is indeed the case then it is caused by some kind of code generation bug. We will of course investigate it further.