Click to See Complete Forum and Search --> : Win32 Radio Buttons


sjaycohn
August 4th, 2008, 08:38 AM
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?

kirants
August 4th, 2008, 11:47 AM
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.