CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2000
    Location
    India
    Posts
    1

    Extending the Button Class in AWT

    Hi,

    I extended the button class in AWT to support user defined size variation, it works as intended in Internet Explorer 5 but in Netscape 4.7 the button is invisible !!! However i can see the layout manager alloting the space required for the control !. I have overrided the getMinimumSize() and getPrefferredSize() methods. But it is of no use.

    Can any one please help ? I want a solution in AWT alone.

    bye
    Vignesh

    Vignesh Swaminathan
    Software Engineer
    Luminux
    Vanenburg Ventures
    (Previously of the BaaN Group)

  2. #2
    Join Date
    May 1999
    Location
    Malaysia
    Posts
    73

    Re: Extending the Button Class in AWT

    Most probably you used a package that is a microsoft specific...

    Maybe you imported some com.ms.* packages or something like that.
    Or maybe you used the microsoft WFC.

    Some code will help to debug.

    PS: I dont normally use company specific object like WFC or MFC etc..etc..

    chewlim


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured