11-24-2022, 02:34 AM
Quote:Hi @NasaCow
OK 'vs GUI' was not meant to work with another system like Terry's Menu stuff. It needs exclusive control on Mouse and Keypresses to direct to proper controls event
Yeeesss! The two libraries went up with a project as single standalone pack.
.... moreover the "vs GUI" library lacks of BtnClickEvent that stands as variable at lines 105 and 165 but surely it has been designed as SUB.
Other possibility is that in the manual of "vs GUI" it sais clearly that BtnClickEvent must be created and managed by user of library.
So after we do leftclick on a button there is no managment of that event in the library.
.... seeing in main file I see that you created BtnClickEvents for beeping!
The same is for LstSelectEvent that stands as variable at lines 152 and 174.
Ok, I find some troubles but they don't fix the issue...
1. ScreenPointer must be as type LONG, as scope GLOBAL (so Shared) and must be an ARRAY
2. OpenWindow creates another _NEWIMAGE within itself so I prefer to avoid to use it and setting by hand the FONT used in "vs GUI"
3. we needed to specify _RGB/ _RGB32 colors for FC and BC of NewControl
looking at "vs GUI" and "Menu GUI", they are ok but they want work alone
Good Luck