Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Splitting with the existance of COutlook2Ctrl

Splitting with the existance of COutlook2Ctrl

Scheduled Pinned Locked Moved C / C++ / MFC
comhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mohammad Tarik
    wrote on last edited by
    #1

    I want to include the Outlook2Ctrl in a program, but I also want to split the right side area ( which is the remaining part ) horizontally into two panes. I used a class derived from CSplitterWnd (by Daniel Zuppinger) and it's on this site. But I couldn't do it. I tried to split, first vertically [CView || NULL] then using the NULL pane I splitted the right vertically. But couldn't include the Outlook2Ctrl in the CView place. Please help me...even by a hint...even not using the upper-mentioned splitter class. :(( Thanks

    R 1 Reply Last reply
    0
    • M Mohammad Tarik

      I want to include the Outlook2Ctrl in a program, but I also want to split the right side area ( which is the remaining part ) horizontally into two panes. I used a class derived from CSplitterWnd (by Daniel Zuppinger) and it's on this site. But I couldn't do it. I tried to split, first vertically [CView || NULL] then using the NULL pane I splitted the right vertically. But couldn't include the Outlook2Ctrl in the CView place. Please help me...even by a hint...even not using the upper-mentioned splitter class. :(( Thanks

      R Offline
      R Offline
      rocky_pulley
      wrote on last edited by
      #2

      It sounds like you need to create your own class that inherits directly from CView, then add the Outlook2Ctrl control to that window. When the window is resized, call MoveWindow on the outlook control to make it the same size as the view. -- Rocky Dean Pulley

      M 1 Reply Last reply
      0
      • R rocky_pulley

        It sounds like you need to create your own class that inherits directly from CView, then add the Outlook2Ctrl control to that window. When the window is resized, call MoveWindow on the outlook control to make it the same size as the view. -- Rocky Dean Pulley

        M Offline
        M Offline
        Mohammad Tarik
        wrote on last edited by
        #3

        The author of the Outlook2Ctrl had written "the outbar docks normally on the left side of the main frame", and in his demo, he included the Control in the MainFrame directly. So I am not sure, probably this control was meant to use some properties of the CFrameWnd class. I didn't sail into the class itself (Outlook2Ctrl) yet, because of the lack of time. And I thought that probably someone has done what I am looking for now. Anyway, thanks "Rocky Dean Pulley" for taking the time to reply to me. Probably I should do what you've said but with modifying COutlook2Ctrl itself also( or only). If there is any further suggestions from anyone here, I would really appreciate it. ////////////After sometime////////////// when I read what I have written above I noticed that I had some of the answer(it docks on the left side). So I remembered that I first tried to include the control and split the remaining to two parts horizontally....it didn't work at that time for a reason not related to it directly, I fixed that thing and continued working and trying other approaches forgetting the fact that it wasn't the real reason. So I fooled myself at that point. Sorry for bothering.:sigh:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups