- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to get a better understanding of Win32 API. I'm working on a dialog box that has several controls on it. One of these is a group of radio buttons. I've noticed that there are a couple of ways to select a radio button and deselect the others. The Win32 API CheckRadioButton is able to do this, but I'm not understanding the function syntax enough to be able to include it in my code:
Code:
BOOL CheckRadioButton(HWND hDlg, int nIDFirstButton, int nIDLastButton, int nIDCheckButton );
Does anyone have an example of how this is used in code or could provide some insight on how this is read? I understand the first parameter of the function requires the handle of the dialog box, but I'm not sure how to retrieve the ID of the radio buttons.
Chad
Link Copied
- « Previous
-
- 1
- 2
- Next »
21 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To elaborate on Jugoslav's response.
QuickWin is a special project type that has you structure your application as a normal console application (with a Fortran main program.) Rather than just a regular console, it runs your program in a window with a standard Windows look, complete with toolbar, cut/paste/print, etc. Your "console" input and output appears in a scrolling window. You can open multiple windows within the main window using other I/O units. You can add menu items and do graphics through library routine calls that are Fortran-friendly.
QuickWin is an easy way to take an existing Fortran application and give it a Windows look-and-feel. It does not have all Win32 features built in, and cannot be used in a DLL or static library project.
DFLOGM/IFLOGM is a Fortran-friendly interface for adding dialog boxes to any project type. It can be used with or without QuickWin.
QuickWin is a special project type that has you structure your application as a normal console application (with a Fortran main program.) Rather than just a regular console, it runs your program in a window with a standard Windows look, complete with toolbar, cut/paste/print, etc. Your "console" input and output appears in a scrolling window. You can open multiple windows within the main window using other I/O units. You can add menu items and do graphics through library routine calls that are Fortran-friendly.
QuickWin is an easy way to take an existing Fortran application and give it a Windows look-and-feel. It does not have all Win32 features built in, and cannot be used in a DLL or static library project.
DFLOGM/IFLOGM is a Fortran-friendly interface for adding dialog boxes to any project type. It can be used with or without QuickWin.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »