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. Problem in creating a property sheet and property pages

Problem in creating a property sheet and property pages

Scheduled Pinned Locked Moved C / C++ / MFC
helpwpf
1 Posts 1 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
    Manjunath S
    wrote on last edited by
    #1

    Dear all, Currently i am working in creating a property sheet inside a dialog and i am also working in creating a property sheet inside a property page. There is no problem in creating such a sheet and property pages inside a dialog. But the problem comes in positioning the property sheet tab controls in right side of the dailog and in vertical positions and to add some images in tab control. I have used this code to set icons in the tab controls.But it is not working. CImageList m_imageTab; m_imageTab.Create(16,16,0,3,3); m_imageTab.Add(AfxGetApp()->LoadIcon(IDI_ICON1)); m_imageTab.Add(AfxGetApp()->LoadIcon(IDI_ICON2)); m_imageTab.Add(AfxGetApp()->LoadIcon(IDI_ICON3)); CTabCtrl *pTab = internal_sheet.GetTabControl(); pTab->SetImageList(&m_imageTab); TC_ITEM tcItem; tcItem.mask = TCIF_IMAGE; for(int i = 0; i < 3; i++ ) { tcItem.iImage = i; pTab->SetItem( i, &tcItem ); } // I used this member function to set the tab control vertical and i aslo tried the differnt combination of styles.but in vain internal_sheet.GetTabControl()->ModifyStyle(0,TCS_VERTICAL); Please some body help me to short out this problem. :->

    Manjunath S GESL Bangalore

    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