|
Just a stupid question: Are you trying to debug the release version?
I have tried the same thing, but then I saw I was working with the release version. ooops...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
Thanks for the suggestion, Anders. Just checked to be sure - definitely debug version. I have tried other project workspaces and they stop on breakpoints O.K. so the debugger code is O.K. One the project files must be controlling this behaviour.
Doug
|
|
|
|
|
My idea to rebuild the project worked !!! (no one more surprised than me !!!) I moved the directory away from where it was originally. Went into MS Developer Studio and created a new workspace with the SAME name as the original and same basic type (i.e. MDI). Then I copied back all .cpp.h files and the .mak .clw .res and .rc files. I then rebuilt all and, low and behold, it builds O.K and breakpoints work again. Hurrah !!!
Doug
|
|
|
|
|
Great
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
I think that only deleting the opt and the ncb files would have been enough. I'm not sure though
Best regards,
Alexandru Savescu
|
|
|
|
|
remove /debug directory
ThenRebuild all
Normski. - Professional Windows Programmer
|
|
|
|
|
|
This assumes you're using a dialog and editing it in the dialog editor.
1. For visual separation from other components on the dialog, select a group box from the control palette and place it on the dialog. Note: This is not needed for correct operation, only to visuall group the radios
2. Select and place two or more radio buttons inside the group box
3. Enable group style for the first radio button on the properties sheet if you will have more than one group of radio buttons
4. Designate one as the default button in code by setting it as BST_CHECKED
5. Process radio button click messages with a message handler
|
|
|
|
|
A group box control has nothing to do with it. A "group" of radio buttons is created by having them be consecutive in the tab order. The first button in the group needs the WS_GROUP style set, while all others must have that style off.
--Mike--
Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Sonork-100.10414 AcidHelm
|
|
|
|
|
And just from the few words in the original question you knew beyond a doubt they did not want to visually group their radiobuttons? I must have missed that part, since in many applications radiobuttons are separated from other components by a group box.
|
|
|
|
|
Sheesh, read for content. Group boxes have nothing to do with the functionality of radio buttons. Many people think they do, so I was clearing that up.
--Mike--
Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Sonork-100.10414 AcidHelm
|
|
|
|
|
Group boxes have nothing to do with the functionality of radio buttons.
They do in Windows Forms under .NET, where they serve as containers, but we don't know anything about this poster's environment except that the question was posted to the VC++ forum, so they are probably looking for an MFC oriented answer.
|
|
|
|
|
You only need to set WS_GROUP style on the first button if there is more than one functional group of radio buttons. Otherwise, it is not necessary.
|
|
|
|
|
Hi.
Is it possible to add/manipulate a grid feature in a CListBox object in a dialog box? The CListBox object displays without grid by default.
Thanks,
Kuphryn
|
|
|
|
|
You should try a CListView object.
Best regards,
Alexandru Savescu
|
|
|
|
|
|
I have used CListView and CListCtrl. The reason I used a CListBox in the dialog box is because I only see a tool to create a listbox in dialog editor.
Kuphryn
|
|
|
|
|
Sorry if I misled you. I meant you should use a CListCtrl object for your dialog application. And you can drop it from the Components toolbar onto your dialog editor.
Best regards,
Alexandru Savescu
|
|
|
|
|
Thanks. I am working on a CListCtrl object.
Kuphryn
|
|
|
|
|
Is it possible to move a dialog from one program to another easily? it seems strange that i cant find a way to export/import dialogs from one project to another..
thanks!
I miss the beach!
|
|
|
|
|
1. copy the .cpp and .h by hand.
2. open the "source" project's .RC file, copy the dialog (Ctrl-C in the resource editor)
3. paste it into th "target" project's resource tree
-c
Cheap oil. It's worth it!
|
|
|
|
|
Hi,
In the Project workspace->ClassView,
Select the Dialog Class you want to resue
and right click and select 'Add to Gallery'
The whole Dialog's class and implementation classes
will be packaged into one single class and
you can insert them into what ever you want by
using
Projects->Add To Project->Components & Controls
And then in Components and Controls Gallery you can
you will find your Dialog as a single package.
Regards,
Prem
|
|
|
|
|
Thanks Prem,
All these years and I did everything by hand. I owe you one.
Darroll
|
|
|
|
|
I created an applicaion using a Listview control for Chinese Tradional Windows XP. The problem is the chinese characters are not displayed properly in the listview. Any ideas on how to fix this.
Thanks
|
|
|
|
|
If the control is in a dialog, edit the .RC file by hand and change the font from "MS Sans Serif" to "MS Shell Dlg". MS Sans Serif is a single-byte font only, and can't show characters.
--Mike--
Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Sonork-100.10414 AcidHelm
|
|
|
|