From: Edward W. <Edward.Wildgoose@FRMHedge.com> - 2003-12-23 10:54:52
|
I'm=20sorry=20if=20I'm=20being=20a=20dummy=20here,=20but=20I=20have=20wast= ed=20a=20lot=20of=20time=20trying=20to=20figure=20this=20out=20for=20mysel= f...=20=20I=20would=20be=20*really*=20grateful=20if=20someone=20could=20of= fer=20=20some=20ideas=20on=20these=20two=20questions=20please: First=20off,=20I=20want=20to=20create=20a=20simple=20dialog=20box=20with=20= menus=20and=20a=20few=20controls=20visible,=20such=20as=20a=20couple=20of=20= text=20boxes,=20buttons,=20etc.=20=20However,=20I=20think=20I=20need=20to=20= derive=20a=20main=20class=20from=20Wx::Frame=20rather=20than=20Wx::Dialog=20= in=20order=20to=20add=20menus?=20=20The=20problem=20is=20that=20now=20all=20= my=20controls=20are=20against=20a=20dark=20grey=20default=20background=20o= f=20the=20wx::Frame=20control=20and=20look=20extremely=20wierd. Now,=20what=20is=20the=20easiest=20solution=20to=20work=20around=20this?=20= =20Can=20the=20background=20be=20changed=20so=20that=20it=20looks=20light=20= grey?=20(Does=20this=20work=20when=20people=20have=20played=20with=20theme= s,=20and=20what=20is=20the=20correct=20colour=20anyway?=20=20I=20tried=20"= light=20grey"=20and=20this=20is=20not=20even=20close).=20=20 Should=20I=20put=20the=20whole=20lot=20in=20a=20Panel=20perhaps?=20=20This= =20might=20work,=20but=20I=20originally=20used=20wxDesigner=20to=20knock=20= up=20my=20dialog=20and=20the=20autogenerated=20code=20seems=20to=20want=20= something=20of=20type=20wxWindow=20to=20insert=20it's=20controls=20into,=20= and=20isn't=20happy=20with=20a=20Panel=20control.=20=20Has=20anyone=20play= ed=20with=20WxDesigner,=20it=20seems=20like=20a=20shame=20to=20have=20to=20= abandon=20it=20or=20continuously=20patch=20the=20output=20in=20order=20to=20= achieve=20the=20required=20effect? Any=20suggestions? My=20second=20problem=20is=20that=20I=20want=20to=20put=20a=20neat=20outli= ne=20box=20around=20a=20group=20of=20controls,=20like=20that=20offered=20b= y=20the=20static=20box=20sizer.=20=20However,=20I=20want=20it=20to=20expan= d=20in=20both=20horizontal=20and=20vertical=20directions...=20It=20seems=20= that=20the=20static=20box=20sizer=20comes=20in=20either=20horizontal=20OR=20= vertical,=20but=20not=20both?=20=20Is=20there=20a=20suggested=20way=20to=20= work=20around=20this? Thanks=20for=20any=20thoughts. Ed=20W ... |