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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Indication of FileNames [modified]

Indication of FileNames [modified]

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

    I have slightly changed the query. Changed part is put in italics i have a button in my dialog based application which calling a thread, This thread in-turn calls another function, this function is in a different class which actually does file manipulation (basically i am converting some text files to binary files). Now how do i display which file is getting converted in the main dialog where i am calling the thread?

    modified on Wednesday, October 7, 2009 3:05 AM

    C D 2 Replies Last reply
    0
    • C Chandrasekharan P

      I have slightly changed the query. Changed part is put in italics i have a button in my dialog based application which calling a thread, This thread in-turn calls another function, this function is in a different class which actually does file manipulation (basically i am converting some text files to binary files). Now how do i display which file is getting converted in the main dialog where i am calling the thread?

      modified on Wednesday, October 7, 2009 3:05 AM

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      One way to do it is to send user defined messages to your main dialog. Here[^] is a great article that you should read if you want to better understand threads and the interaction with the UI.

      Cédric Moonen Software developer
      Charting control [v2.0] OpenGL game tutorial in C++

      1 Reply Last reply
      0
      • C Chandrasekharan P

        I have slightly changed the query. Changed part is put in italics i have a button in my dialog based application which calling a thread, This thread in-turn calls another function, this function is in a different class which actually does file manipulation (basically i am converting some text files to binary files). Now how do i display which file is getting converted in the main dialog where i am calling the thread?

        modified on Wednesday, October 7, 2009 3:05 AM

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Chandru080 wrote:

        Now how do i display which file is getting converted in the main dialog where i am calling the thread?

        PostMessage().

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        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