Closed Thread
Results 1 to 3 of 3

Thread: Win32 Custom GUI components

  1. #1
    PixelPulse is offline Newbie
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    0

    Win32 Custom GUI components

    Hi,

    I'm more of a Mac person, but I've been doing some C programming on Windows using the Win32 API to create my GUI. On a Mac, I use a class called NSView if I want a custom component (like a graph or timeline or something) in my GUI but what would the windows equivalent be?

    Would I need to use OpenGL or something like that?

    Any articles or advice that could point me in the right direction would be appreciated

    Thanks!

    Edit: I've never used C#, but would that be the same story as far as custom GUI components go?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Oct 2007
    Location
    /dev/null
    Posts
    4,496
    Blog Entries
    8
    Rep Power
    58

    Re: Win32 Custom GUI components

    C# uses the .NET framework, so Win32 API won't really work there. It's all class-based. As far as custom components...you create your own component, then register the class with the system as a window class. Then any program can link to that and use your new component. I've never done step 1 (I'll get back to you on that) but step 2 should be familiar to you from your regular Win32 programming.
    sudo rm -rf /

  4. #3
    PixelPulse is offline Newbie
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    0

    Re: Win32 Custom GUI components

    Thanks.

    I also found some good info on a site called zetcode (it won't let me post the link) under the Custom Controls section.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Damaged components
    By Jrb in forum Computer Hardware
    Replies: 4
    Last Post: 10-18-2011, 09:21 PM
  2. Replies: 11
    Last Post: 01-20-2011, 12:52 PM
  3. .NET and serviced components
    By hurricanesoftwares in forum Software Development Tools
    Replies: 2
    Last Post: 10-03-2008, 01:03 PM
  4. WinFX Components
    By brackett in forum C# Programming
    Replies: 2
    Last Post: 06-01-2006, 06:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts