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. The Lounge
  3. Regarding outlook bar control in codeproject

Regarding outlook bar control in codeproject

Scheduled Pinned Locked Moved The Lounge
helpcomgraphicsquestion
3 Posts 3 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.
  • V Offline
    V Offline
    vgandhi
    wrote on last edited by
    #1

    Hello everyone this is a question regarding the outlook bar control on http://www.codeguru.com/controls/outbar.shtml I am having problems drawing the folders. I am using this control with my own view class and I create the splitter windows and call this control on top of it. However I am not able to draw 3 folders. I have added three folders and the one on top seems to be fine but folder 2 and 3 at the bottom dont turn out to be fine. Folder 3 doesnt appear at all(and instead of folder 3 there is whitespace) and only half of folder 2 is seen. So I was wondering if any one can help me out. I tried debugging but cant figure out what the problem is. Thanking you in advance for your help vg

    J G 2 Replies Last reply
    0
    • V vgandhi

      Hello everyone this is a question regarding the outlook bar control on http://www.codeguru.com/controls/outbar.shtml I am having problems drawing the folders. I am using this control with my own view class and I create the splitter windows and call this control on top of it. However I am not able to draw 3 folders. I have added three folders and the one on top seems to be fine but folder 2 and 3 at the bottom dont turn out to be fine. Folder 3 doesnt appear at all(and instead of folder 3 there is whitespace) and only half of folder 2 is seen. So I was wondering if any one can help me out. I tried debugging but cant figure out what the problem is. Thanking you in advance for your help vg

      J Offline
      J Offline
      Jon Sagara
      wrote on last edited by
      #2

      Hi vg,

      1. Try asking in the Visual C++ forum. You'll get a better response if you ask programming questions there.
      2. Try asking at CodeGuru. Perhaps the author of the article can answer your questions.

      Jon Sagara "After all is said and done, usually more is said than done." -- Unknown

      1 Reply Last reply
      0
      • V vgandhi

        Hello everyone this is a question regarding the outlook bar control on http://www.codeguru.com/controls/outbar.shtml I am having problems drawing the folders. I am using this control with my own view class and I create the splitter windows and call this control on top of it. However I am not able to draw 3 folders. I have added three folders and the one on top seems to be fine but folder 2 and 3 at the bottom dont turn out to be fine. Folder 3 doesnt appear at all(and instead of folder 3 there is whitespace) and only half of folder 2 is seen. So I was wondering if any one can help me out. I tried debugging but cant figure out what the problem is. Thanking you in advance for your help vg

        G Offline
        G Offline
        Gaul
        wrote on last edited by
        #3

        I don't know what you are doing, but perhaps this section of code which I have used several times to add folders and folder items would help you. class ... : public CSplitterWnd { ... ... private: CGfxOutBarCtrl* m_pShortcutBar; //defined in a ... }; BOOL CDesktopSplitterWnd::BuildFolderBar() { long nImageIndex = 0; int nFolder = 0, nItem = 0; m_pShortcutBar = (CGfxOutBarCtrl*) GetPane(0,0); // Employee Info m_pShortcutBar->AddFolder("Employee Info.", nFolder); nItem = 0; m_pShortcutBar->InsertItem(nFolder, nItem++, STR_SEARCH, nImageIndex++, (DWORD)(&STR_SEARCH)); m_pShortcutBar->InsertItem(nFolder, nItem++, STR_EMPLOYEE, nImageIndex++, (DWORD)(&STR_EMPLOYEE)); m_pShortcutBar->InsertItem(nFolder, nItem++, STR_EMPACTIVITY, nImageIndex++, (DWORD)(&STR_EMPACTIVITY)); nItem = 0; ++nFolder; long nImageIndex = 0; m_pShortcutBar->AddFolder("Compensation Info", nFolder); m_pShortcutBar->InsertItem(nFolder, nItem++, STR_EMPCOMPENSATION, nImageIndex++, (DWORD)(&STR_EMPCOMPENSATION)); m_pShortcutBar->InsertItem(nFolder, nItem++, STR_COMPENSATION, nImageIndex++, (DWORD)(&STR_COMPENSATION)); m_pShortcutBar->InsertItem(nFolder, nItem++, STR_ENTERPRISE, nImageIndex++, (DWORD)(&STR_ENTERPRISE)); nItem = 0; ++nFolder; m_pShortcutBar->AddFolder("Applicant Info", nFolder); m_pShortcutBar->InsertItem(nFolder, nItem++, STR_APPLICANT, EmployeeImage, (DWORD)(&STR_APPLICANT)); } Gaul Gaulles Technologies, Inc. http//www.gaulles.com email: info@gaulles.com or gaulles@worldnet.att.net

        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