CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    219

    Open/Close a FORMVIEW

    Hi,

    How could I control when to show and hide my new created FormView, especially to close it? I think it is different from showing and hiding a new dialog, am I right?

    Seek for your help. Thanks.
    Last edited by samallis; August 2nd, 2006 at 05:42 AM.

  2. #2
    Join Date
    Jul 2006
    Posts
    219

    Re: Show and Hide a new IDD_FORMVIEW

    Can anyone help me on this?

    I am using doc/view. I display bitmap graphics on my view. But then when I open another types of graphics, I want to display it on another new dialog (but I insert IDD_FORMVIEW instead). This formview was called once I start my application automatically and it can display other graphic. But when I open bitmap graphic, it doesn't appear. I suppose it is covered by the formview.

    So how can I close the formview and display it only when other graphics are opened?

    Please help. Thanks.

  3. #3
    Join Date
    Jul 2005
    Posts
    767

    Re: Show and Hide a new IDD_FORMVIEW

    Hmm your requirement seems unclear and confusing...what is being covered by what? why do you want to close the formview and display it only when other graphics are opened?

  4. #4
    Join Date
    Oct 2000
    Location
    India
    Posts
    4,620

    Thumbs up Re: Show and Hide a new IDD_FORMVIEW

    Hi,

    As far as i can understand, you have a main view which is covered fully
    by the Formview when you want to display an image. Right ?

    You are displaying bitmaps in your main view, but when other image types
    are to be opened, you open the form view to fill your view size and show
    the image there. Right ?

    If both the above scenarios are true, before you Show the formview, check
    the type of image being opened. If it is a bitmap, dont show the formview
    and if it is some other image type, show the formview.

    This is as far as i can understand your question. Please post your code
    here if possible so that we can take a look at it right away.
    All luck and have a great day.

    Regards,
    V.Girish

    Visit www.geocities.com/contactgirish for Source code, Tutorials, FAQs and Downloads.

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