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 to create a window that looks like MSN Live Messenger ?

How to create a window that looks like MSN Live Messenger ?

Scheduled Pinned Locked Moved C / C++ / MFC
htmlgraphicshelptutorialquestion
2 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.
  • E Offline
    E Offline
    erajsri
    wrote on last edited by
    #1

    Hi, Could u give some pointers on how to create a window that would look like MSN live messenger ? I am referring to those funky adornments and decorations that are found on MSN Live Messenger ? Things like gradients, tiny bitmap buttons, flyout controls - its like they have used HTML rendering for this. Your help is highly appreciated as I am suppose to give my thoughts on how to create a similar gui for an application. Eraj

    P 1 Reply Last reply
    0
    • E erajsri

      Hi, Could u give some pointers on how to create a window that would look like MSN live messenger ? I am referring to those funky adornments and decorations that are found on MSN Live Messenger ? Things like gradients, tiny bitmap buttons, flyout controls - its like they have used HTML rendering for this. Your help is highly appreciated as I am suppose to give my thoughts on how to create a similar gui for an application. Eraj

      P Offline
      P Offline
      Perspx
      wrote on last edited by
      #2

      Something like that would be very complex and would require a lot of drawing functions, and a LOT of owner-drawn controls - you would have to owner draw pretty much everything, which although having a nice end product, is very laborious and time-consuming. Note also that although it looks funky, it does slow the application down significantly, especially if transparency and other complex graphical renderings are used, one of the reasons why I believe that Windows Live Messenger is quite slow :@. You could think about creating simple owner-drawn items, such as buttons and menus, which are relatively simple to do, and then you could have some decorative bitmap images kept in a resource file which could be painted onto the background or something using the WM_PAINT command. You could also use transparency to make the application look more futuristic - take a look at this sourcecode here (Note the copyright notice). Also, if you are using Visual Studio, take a look at the GDI+ documentation on MSDN for some more information. GDI+ is a good API as it is redistributable, under the copyright notices (look at the legal information on MSDN), and it allows for some basic image manipulation and reading of common file formats such as .jpg, .gif and .png, aswell as some nice text functions. It also depends whether you want to use classes and MFC or not. I'm sure that there are a lot of classes out there for this sort of stuff, but as a straight-C programmer I am not familiar with any of these. If you specify what you are trying to aim for further, I may be able to help you out a bit more. Hope this helps! --PerspX

      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