Thread: MDI and dialog messages

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    329

    MDI and dialog messages

    Hi.
    I have created an app in Winapi, using resources.
    I now want to change this into an MDI app.
    It seems i have to recreate the windows using CreateWindow()...Is there no way i can keep the resources? It would save me alot of work..

    Also, is there a way to catch dialog messages in windows created from CreateWindow()?

  2. #2
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256
    Well, what kind of resources are you using? Menus and Dialogs? And you're saying you want each new opened document to have these resources, correct?

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    329

    Talking

    Yes. I now accomplish this by subclassing all objects on my forms..It would save work if it was handled automatically ..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dialog size
    By axr0284 in forum Windows Programming
    Replies: 3
    Last Post: 02-25-2005, 01:02 PM
  2. Accessing a database from a dialog.
    By Robert602 in forum Windows Programming
    Replies: 7
    Last Post: 02-03-2002, 11:29 PM
  3. *VERY* basic MDI question
    By DeanaM in forum Windows Programming
    Replies: 2
    Last Post: 12-13-2001, 10:12 PM
  4. Dialog setup
    By Marky_Mark in forum Windows Programming
    Replies: 2
    Last Post: 11-28-2001, 09:12 AM