CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Posts
    129

    Unhappy Win32 Radio Buttons

    Hey Guys,

    I wrote a c++ GUI entirely using win32 (NO .NET or MFC)
    I would like to add radio button and progress bar functionality to my window, but I can't find any examples or references on how to do this.
    I know that both MFC and the resource editor have this functionality, but they are based on win32.
    How do you do this with just win32 API calls?

  2. #2
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: Win32 Radio Buttons

    Quote Originally Posted by sjaycohn
    How do you do this with just win32 API calls?
    You mean, you don't want to use a resource template, but create those controls ?
    If yes, use the good old CreateWindow/Ex calls. You need to use the appropriate class name for the window classes ( consult MSDN documentation ) and/or you might need to call InitCommonControlsEx for registering the classes.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured