On Wed, 12 Dec 2001 15:44:37 GMT gerard patel <g.patel@wanadoo.fr.invalid> wrote: > Try to run with -debugmsg +combo and post the console output > when you click on the combobox arrow. Comboboxes not > dropping can be caused roughly by 2 reasons : > - the app can't find any data to add to the list : look at > the trace before if you can find CB_ADDSTRING messages. > - the list height is not set because of some weirdness > in the combo behaviour - comboboxes are difficult to > emulate. it looks like an infinite loop is occuring while the combobox is being built; i directed the output to a file, and it grew to 700k+ very quickly. as such, i'm posting only a fragment that i think shows the initialization of the menu leading to the loop, rather than the whole thing. i will save the file in case the whole thing is wanted. thanks for the assistance, richard
fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCREATE wp 00000000 lp 40606990 trace:combo:COMBO_Init combo bitmap [7,9] trace:combo:COMBO_NCCreate [0x40433640], style = 44010343 trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCALCSIZE wp 00000000 lp 4060679c trace:combo:ComboWndProc_locked [18f4]: msg WM_CREATE wp 00000000 lp 40606990 trace:combo:CBCalcPlacement text = (2,2-262,19) trace:combo:CBCalcPlacement button = (262,2-278,19) trace:combo:CBCalcPlacement lbox = (0,0-280,21) trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCREATE wp 00000000 lp 406063cc trace:combo:ComboLBWndProc_locked default on msg [0081] trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCALCSIZE wp 00000000 lp 406060d8 trace:combo:ComboLBWndProc_locked default on msg [0083] trace:combo:ComboLBWndProc_locked [198c]: msg WM_CREATE wp 00000000 lp 406063cc trace:combo:ComboLBWndProc_locked passed parent handle = 0x40433640 trace:combo:LISTBOX_Create [198c]: resetting owner 18f4 -> 18f4 trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40605e14 trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCALCSIZE wp 00000001 lp 40605cd0 trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40605e14 trace:combo:ComboLBWndProc_locked [198c]: msg WM_SIZE wp 00000000 lp 00000116 trace:combo:ComboLBWndProc_locked [198c]: msg WM_SIZE wp 00000000 lp 00000116 trace:combo:ComboLBWndProc_locked [198c]: msg WM_MOVE wp 00000000 lp 00ba0124 trace:combo:ComboWndProc_locked [18f4]: msg WM_PARENTNOTIFY wp 03e80001 lp 0000198c trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 4060639c trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 4060639c trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406063c8 trace:combo:COMBO_Create init done trace:combo:ComboWndProc_locked [18f4]: msg WM_SIZE wp 00000000 lp 00150118 trace:combo:CBCalcPlacement text = (2,2-262,19) trace:combo:CBCalcPlacement button = (262,2-278,19) trace:combo:CBCalcPlacement lbox = (291,185-571,185) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406063c4 trace:combo:ComboWndProc_locked [18f4]: msg WM_MOVE wp 00000000 lp 00000078 trace:combo:ComboWndProc_locked [18f4]: msg WM_USER+ba10 wp 18f40001 lp 000018f4 warn:combo:ComboWndProc_locked unknown msg WM_USER+ba10 wp=18f40001 lp=000018f4 trace:combo:ComboWndProc_locked [18f4]: msg WM_SETFONT wp 0000291a lp 00000001 trace:combo:ComboLBWndProc_locked [198c]: msg WM_SETFONT wp 0000291a lp 00000001 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606718 trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCALCSIZE wp 00000001 lp 406065d4 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40606718 trace:combo:CBCalcPlacement text = (2,2-262,17) trace:combo:CBCalcPlacement button = (262,2-278,17) trace:combo:CBCalcPlacement lbox = (291,185-571,185) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 4060620c trace:combo:ComboWndProc_locked [18f4]: msg CB_LIMITTEXT32 wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606aa8 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f1a2c trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433734 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33e4 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433c40 trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406063a0 trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCALCSIZE wp 00000001 lp 4060625c trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 406063a0 trace:combo:ComboLBWndProc_locked [198c]: msg WM_SIZE wp 00000000 lp 00000106 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f1a2c trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433c40 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33e4 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433c40 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33f8 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433c40 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f3410 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433c40 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f1a2c trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433c40 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33e4 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433d44 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f1a2c trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433d44 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33e4 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433d44 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33f8 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433db8 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f3414 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433db8 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f1a2c trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433db8 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33e4 trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433db8 trace:combo:ComboWndProc_locked [18f4]: msg CB_ADDSTRING32 wp 00000000 lp 419f33fc trace:combo:ComboLBWndProc_locked [198c]: msg LB_ADDSTRING32 wp 00000000 lp 40433db8 trace:combo:ComboWndProc_locked [18f4]: msg CB_GETCURSEL32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETCURSEL32 wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg CB_SETCURSEL32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_SETCURSEL32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_SETTOPINDEX32 wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606a50 trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCALCSIZE wp 00000001 lp 4060690c trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40606a50 trace:combo:CBCalcPlacement text = (2,2-182,17) trace:combo:CBCalcPlacement button = (182,2-198,17) trace:combo:CBCalcPlacement lbox = (291,185-491,185) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606544 trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCALCSIZE wp 00000001 lp 40606400 trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40606544 trace:combo:ComboLBWndProc_locked [198c]: msg WM_SIZE wp 00000000 lp 000000b6 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606a50 trace:combo:COMBO_WindowPosChanging posChanging->cy=21, newComboHeight=19, oldbot=185, oldtop=185 trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCALCSIZE wp 00000001 lp 4060690c trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40606a50 trace:combo:CBCalcPlacement text = (2,2-182,17) trace:combo:CBCalcPlacement button = (182,2-198,17) trace:combo:CBCalcPlacement lbox = (291,185-491,187) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606544 trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCALCSIZE wp 00000001 lp 40606400 trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40606544 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606a50 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40606a50 trace:combo:CBCalcPlacement text = (2,2-182,17) trace:combo:CBCalcPlacement button = (182,2-198,17) trace:combo:CBCalcPlacement lbox = (291,185-491,187) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40606544 fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406066e4 trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 406066e4 trace:combo:CBCalcPlacement text = (2,2-182,17) trace:combo:CBCalcPlacement button = (182,2-198,17) trace:combo:CBCalcPlacement lbox = (291,185-491,187) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406061d8 trace:combo:ComboWndProc_locked [18f4]: msg WM_SETFOCUS wp 0000050c lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_CARETON32 wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_USER+ac29 wp 00000000 lp 00000000 warn:combo:ComboWndProc_locked unknown msg WM_USER+ac29 wp=0000 lp=00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_KILLFOCUS wp 000018f4 lp 00000000 trace:combo:CBRollUp [18f4]: sel ok? [0] dropped? [0] trace:combo:ComboLBWndProc_locked [198c]: msg LB_CARETOFF32 wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_SETFOCUS wp 000018f4 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_CARETON32 wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_USER+ac29 wp 00000000 lp 00000000 warn:combo:ComboWndProc_locked unknown msg WM_USER+ac29 wp=0000 lp=00000000 fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub trace:combo:ComboWndProc_locked [18f4]: msg WM_ERASEBKGND wp 00000088 lp 00000000 fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40605eb0 trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCALCSIZE wp 00000001 lp 40605d6c trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40605eb0 trace:combo:CBCalcPlacement text = (2,2-123,17) trace:combo:CBCalcPlacement button = (123,2-139,17) trace:combo:CBCalcPlacement lbox = (291,185-432,187) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406059a4 trace:combo:ComboLBWndProc_locked [198c]: msg WM_NCCALCSIZE wp 00000001 lp 40605860 trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 406059a4 trace:combo:ComboLBWndProc_locked [198c]: msg WM_SIZE wp 00000000 lp 0000007b trace:combo:ComboWndProc_locked [18f4]: msg WM_PAINT wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_ERASEBKGND wp 00000d3c lp 00000000 trace:combo:COMBO_Paint hdc=0d3c trace:combo:CBPaintText trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETCURSEL32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETTEXTLEN32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETTEXT32 wp 00000000 lp 4043820c fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub fixme:commctrl:FlatSB_SetScrollProp stub trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 40605eb0 trace:combo:COMBO_WindowPosChanging posChanging->cy=21, newComboHeight=19, oldbot=187, oldtop=185 trace:combo:ComboWndProc_locked [18f4]: msg WM_NCCALCSIZE wp 00000001 lp 40605d6c trace:combo:ComboWndProc_locked [18f4]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 40605eb0 trace:combo:CBCalcPlacement text = (2,2-123,17) trace:combo:CBCalcPlacement button = (123,2-139,17) trace:combo:CBCalcPlacement lbox = (291,185-432,187) trace:combo:ComboLBWndProc_locked [198c]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 406059a4 trace:combo:ComboWndProc_locked [18f4]: msg WM_PAINT wp 00000000 lp 00000000 trace:combo:ComboWndProc_locked [18f4]: msg WM_ERASEBKGND wp 00000d3c lp 00000000 trace:combo:COMBO_Paint hdc=0d3c trace:combo:CBPaintText trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETCURSEL32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETTEXTLEN32 wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_locked [198c]: msg LB_GETTEXT32 wp 00000000 lp 40437afc fixme:commctrl:FlatSB_SetScrollProp stub
-- Richard Welty Averill Park Networking Unix, Linux, IP Network Engineering, Security rwelty@averillpark.net 518-573-7592