CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    (Presently) Bahrah S.A.
    Posts
    24

    [RESOLVED] Out of Stack Space and Reserved Words

    I am subclassing (if what we do in VB can actually be considered true subclassing) I've created a control with nothing but an image on it. I've defined all of the properties I need in my control from the standard image control. Most of them work, however a couple generate an Out Of Stack Space error when I try to set them.

    Left, Top, Height, Width, BorderStyle, Tag, ToolTipText and Visible all work fine

    however, Stetch True or False generates Out of Stack Space

    I've tried using enum assigned to variable in the Get and Let and I've tried using Boolean data type
    both have the same result.

    Any ideas?

  2. #2
    Join Date
    Jul 2009
    Location
    (Presently) Bahrah S.A.
    Posts
    24

    Re: Out of Stack Space and Reserved Words

    Wow! I solved this problem when I discovered the User Control Wizard. LOL. After looking at the way it built the properties and events though, I still don't understand what I was doing wrong, I did it the same way. Oh well. The wizard makes it nice, and now I've got it working as needed.

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