|
From: Site R. <sit...@fl...> - 2004-03-22 21:03:34
|
hi, I know I don't post here very much, but I'm having some problems now = with my code, and so I thought I'd post. I made this menu class to make it a little easier to make menus = manually, without a resource. When I use a different compiler to compile = my program, the menus seem to come up fine. But when I use Dev C++ (well = I guess MinGW actually is the compiler), the submenus are there, but = when you click them they do not show the items under them. I am not = quite sure why. I am using MENUITEMINFO structures, and the = InsertMenuItem function. The only possible thing I could think of, and = I'm not sure if this is the case or not, is that possibly I have to = specify the items under the submenu before attaching the submenu to the = main menu? Could this be the reason? One more question, not related to menus. Why does it seem that my = program is so large when compiled under MinGW? I mean, it is 20 times = larger than when compiled under borland's compiler. This isn't to be = taken offense to, just wanted to know. And, is there any way at all to = optimize this a little to make it smaller? Thanks a lot for any help! |