Thanks again. I was able to come up with something by simply creating the group box with no text with the example I provided then positioning the radio button on top. This gives me what I need but it's probably not the best way to accomplish it.
Brian On 4/27/06, Plum, Jason <[EMAIL PROTECTED]> wrote: > > [off list] > I'm a bit busy atm but will try to whip you up an answer asap, if Jez or > Rob doesnt get to it first. > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Brian > Fredette > *Sent:* Thursday, April 27, 2006 9:04 AM > > *To:* perl-win32-gui-users@lists.sourceforge.net > *Subject:* Re: [perl-win32-gui-users] Adding controls to tab strip items. > > > What I'm looking to create is a page similar to the tcp/ip properties > dialog which has 2 radio buttons. The second button has a group box around > it wich when checked enables other controls. > > I was able to create the visual element by: > > my $btnStatic = $main_window->AddButton( > -name => "btnStatic", > -pos => [30,130], > -text => "Use the following IP Address:", > -pushstyle => WS_CHILD | WS_VISIBLE | 7, # GroupBox > ); > > This gives me the visual element but using -pushstyle with AddRadioButton > causes the radio button to disappear altogether. > > Brian > > > On 4/27/06, Brian Fredette <[EMAIL PROTECTED]> wrote: > > > > Hi Jason, > > > > Thanks for the advice. I was able to get things working with this > > method. Another unrelated question .... is there a package to create a 3D > > type border around a control to visually group off some controls. > > > > Brian > > > >