ComboBox with CBS_DROPDOWN style on Windows 98

Started by Jean-Pierre LEROY, March 26, 2006, 09:43:16 AM

Previous topic - Next topic

Jean-Pierre LEROY

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.

Jean-Pierre LEROY

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

TechSupport

Hi Jean-Pierre,

No ideas yet, but I will know more later today once I get access to a Win98 laptop.

Jean-Pierre LEROY

Thank you Paul for your answer and let me know, if I can be of more help.
Jean-Pierre

TechSupport

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.

Jean-Pierre LEROY

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 ?

TechSupport

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).