Thread: Windows Dialog Boxes

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    66

    Windows Dialog Boxes

    Alright using mfc can you change the dialog boxes so they aren't the normal windows grey with a blue title. I want to use this weird pictures as my dialog box but can't find out how. Thanks

    Ryan

  2. #2
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    234

    The easiest way.................................

    If you are using MFC, I hope you are using MSVC++, then take your dialog and clear all of the markers ( the little blue lines around it, (right click on the white ruler at the top of the screen)). After this, create a picture control and set it properties to a 'bitmap'. Now this is the trciky part, open your image in an editor such as Adobe Photoshop 6.0 and make your areas where your controls are going to be transparent (this is the only way that has worked for me, but there may be others along the lines as such). Import your bitmap and make sure to call it by the right name in your picture control. Make sure to make your image the right size, or visa versa, your dialog, to support your image size.

    Hope this works for you!
    If your not a MFC'er the sorry, maybe this will help someone else!
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dialog Windows Hidden Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 11-27-2002, 11:11 PM
  2. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  3. Need help with dialog boxes
    By Zoalord in forum Windows Programming
    Replies: 6
    Last Post: 02-24-2002, 11:38 PM
  4. Adding Default values to controls in Dialog boxes
    By juhigarg in forum C++ Programming
    Replies: 3
    Last Post: 11-07-2001, 12:44 AM