15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Toolbar / Combobox behavior

John Rogers -- jrogers@softkey.com
Wednesday, February 14, 1996

     I have a combobox on a toolbar that I have just added to my 
     application. When the combobox drops down the apps main window 
     maximizes...
     
     What am I missing?
     
     Thanks for any help!!!
     
     John
     jrogers@softkey.com




DORIE@ris.risinc.com
Friday, February 16, 1996

John,
I'm not sure what you are missing but I have added a combo box to my 
toolbar and I am not getting this behavior.  When I started doing my 
toolbar I referred to the WordPad example.  I think if you look at 
this you might find the problem.  The relevant files in the WordPad 
project are formatba.cpp, formatba.h and mainfrm.cpp.
Sincerely,
Dorie Hannan.



Howard Rubin -- hrubin@nyx.net
Sunday, February 18, 1996

John  said:
>I have a combobox on a toolbar that I have just added to my
>application. When the combobox drops down the apps main window
>maximizes...

Check your resource.h file for conflicting rescource IDs. I had a
similar thing happen where I clicked on a radio button and another copy
of the same dialog box popped up. Directly editing resource.h to remove
the conflict and recompiling everythning fixed it.

I'm not sure what causes these resource ID conflicts. In my case I had
copied the whole dialog from another project. Perhaps the .CLW file has
a counter inside.

Howard Rubin




| Вернуться в корень Архива |