PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-Pierre LEROY on March 26, 2006, 09:43:16 AM

Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: Jean-Pierre LEROY on March 26, 2006, 09:43:16 AM
Hi,

I've a FireFly project with a CBS_DROPDOWN Combo Box.

On Windows98 (second edition), I can select an option in the Combo-Box without any problems, but as soon as I try to enter a character in the Combo-Box I got a GPF error.

Does anyone else already experienced this problem ?

Thank you for your help.
Jean-Pierre

PS: This project works fine on Windows XP.
Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: Jean-Pierre LEROY on March 27, 2006, 05:01:56 AM
Hi Paul,

I've done more tests this morning :

1. With FireFly version 2.65 and with the latest FireFly Engine available on your WebSite.
2. On two differents PC using Windows 98 second edition

Conclusion : I'm not able to make a "CBS_DROPDOWN style Combo Box" working on Windows 98 PC; I always got a GPF error as soon as I try to enter a character in the Combo-Box.

Any ideas ?

Thank you for your help.
Jean-Pierre
Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: TechSupport on March 27, 2006, 10:36:32 AM
Hi Jean-Pierre,

No ideas yet, but I will know more later today once I get access to a Win98 laptop.
Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: Jean-Pierre LEROY on March 27, 2006, 12:36:54 PM
Thank you Paul for your answer and let me know, if I can be of more help.
Jean-Pierre
Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: TechSupport on March 27, 2006, 11:06:29 PM
Hi Jean-Pierre,

The subclass on the ComboBox was causing the GPF. I removed the subclass and re-uploaded a new FFengine.exe for you.

http://www.planetsquires.com/files/FFengine.zip

I also adjusted some Armadillo settings to make Windows 98 better behaved with FireFly.
Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: Jean-Pierre LEROY on March 28, 2006, 06:38:29 AM
Hi Paul,

I get this morning the new FireFly engine.

Now, the Combo Box with the "CBS_DROPDOWN" style works well on both Windows 98 and Windows XP PCs.

Thank you for support.
Jean-Pierre

PS: just a question : what the "the subclass on the ComboBox" was design for ?
Title: ComboBox with CBS_DROPDOWN style on Windows 98
Post by: TechSupport on March 28, 2006, 08:21:07 AM
Quote from: Jean-Pierre LEROYPS: just a question : what the "the subclass on the ComboBox" was design for ?
Basically, just to catch the WM_KEYPRESS message in order to process key strokes. For now I will leave it to the programmer to deal with this (if they ever need to. Most of the time you won't need to).