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. How do i transfer data to a property page?

How do i transfer data to a property page?

Scheduled Pinned Locked Moved C / C++ / MFC
question
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.
  • F Offline
    F Offline
    fynox
    wrote on last edited by
    #1

    Hi, My prob is like this... 1) I have a CMain wh is the parent of several propertysheets, eg CPptySheet1. 2) After pressing a button on CMain, a modal dialog box pops up, CModal. 3) I change some values using CModal and i want the changes to be reflected in PptySheet1. 4) I cannot use OnInitDialog coz the ppty sheets are initialized b4 CModal. 5) I have also tried using OnSetActive...and even OnShowWindow.....but it doesnt work. How can i dynamically show changes, if there are any, every time the property sheet is shown? Please advise...thanks!

    T 1 Reply Last reply
    0
    • F fynox

      Hi, My prob is like this... 1) I have a CMain wh is the parent of several propertysheets, eg CPptySheet1. 2) After pressing a button on CMain, a modal dialog box pops up, CModal. 3) I change some values using CModal and i want the changes to be reflected in PptySheet1. 4) I cannot use OnInitDialog coz the ppty sheets are initialized b4 CModal. 5) I have also tried using OnSetActive...and even OnShowWindow.....but it doesnt work. How can i dynamically show changes, if there are any, every time the property sheet is shown? Please advise...thanks!

      T Offline
      T Offline
      twing
      wrote on last edited by
      #2

      Use Messages defined by oneself. And SendMessage(...); Hello World!

      F 1 Reply Last reply
      0
      • T twing

        Use Messages defined by oneself. And SendMessage(...); Hello World!

        F Offline
        F Offline
        fynox
        wrote on last edited by
        #3

        Erm...i'm nt too familiar with that...Could u elaborate? So do i need to specify where the message is sent to or where it is sent from etc? Thanks!

        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