Thread: Cool user interfaces....

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    55

    Cool user interfaces....

    Hello all,

    Can anyone give me a tip on how to create one of that apps without the standard window frames. E.g some apps have a cool picture like interface insted of the standard window.

    G'n'R

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    It must use Win32?

  3. #3
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    Here's a Flipcode tutorial on window skinning.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    55

    Cool

    cool thanks, does this work with Borland?

    G'n'R

  5. #5
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    It should; I don't see any compiler-specific routines in the source.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

  6. #6
    Registered User
    Join Date
    Feb 2003
    Posts
    31
    Here's a Flipcode tutorial on window skinning.
    Some applications I use that use skins run very slow, or atleast slower than applications without skins. Does using skins use a lot of resources. Im designing an IRC service application and trying to decide how to make the interface, but seeing as how its a service program its performance means more than its looks.

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    55

    G'n'R

    Hi again,

    Jonnie2, cool tutorial. I have only anelysed the code so far. From what i see i shouldnt be to hard to implement. I just have a question if you could answer it. How does this work if you also want to have controls on it. e.g. Can you still work with the underlying form and its controls. I am wondering since if i want to create a interface like this i still need to add controls and have them respond to mouse events etc.

    G'n'R

  8. #8
    Registered User
    Join Date
    Dec 2002
    Posts
    16

    Cool

    Well, if your creating your windows from scratch using regions, then you will need to create a function to respond to mouse clicks. Just call the function from WM_LBUTTONDOWN. Pass the LPARAM to the function, which holds the position of the click in your window, and then process the position based on defined locations of controls in picture/skin.

    It's not very hard at all.

    -Kino

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. pass error before char
    By bazzano in forum C Programming
    Replies: 3
    Last Post: 03-26-2006, 12:00 PM
  2. Replies: 1
    Last Post: 05-31-2003, 09:07 AM
  3. Format User Input When using strings
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 03-08-2002, 03:59 AM
  4. Automatic <cr> in User Inteface
    By chubaka in forum C Programming
    Replies: 3
    Last Post: 01-14-2002, 01:06 PM
  5. Trying to be cool
    By Theologian in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 08-19-2001, 06:17 AM