exporting a status bar

This is a discussion on exporting a status bar within the Windows Programming forums, part of the Platform Specific Boards category; Hi Does anyone know if it is possible to add a status bar to another program? I can add them ...

  1. #1
    reece
    Guest

    exporting a status bar

    Hi
    Does anyone know if it is possible to add a status bar to another program?
    I can add them to my own apps okay but I cant seem to get one on an mIRC window.
    The approach i use for my own windows is to use CreateStatusWindow() and it works fine. I know I have the correct handle to the mIRC window but cant get it to work. Anyway I was just curious to see if anyone here had done something similar.

  2. #2
    MiFi
    Guest
    well im not sure that windows allows creation on foreign forms, kinda like the getwindowtext api call and setwindowtext, they work fine on windows that were created in the same application but dont work when using them on a foreign hwnd, if u was allowed then im sure u cld just retrieve the windows hwnd property using getwindow() and then use the call for the control or whatever it is u want. the only things u can do is send window messages to the window or the windows controls, and modify them to something else, the other which is obvious is blitting to a foreign windows device context but i think that is the extent @ which u are allowed to modify/interact with a foreign window

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. status bar flickering
    By rakan in forum Windows Programming
    Replies: 5
    Last Post: 01-07-2008, 09:11 PM
  2. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 12:32 PM
  3. Status bar
    By maxorator in forum Windows Programming
    Replies: 3
    Last Post: 11-06-2005, 10:45 AM
  4. Troubles with Sockets
    By cornholio in forum Windows Programming
    Replies: 6
    Last Post: 10-26-2005, 05:31 AM
  5. Disabling "Ready" & Other Auto Status Bar Updates :: MFC
    By kuphryn in forum C++ Programming
    Replies: 1
    Last Post: 04-03-2002, 07:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21