Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to program just like winamp to make multi dialog attach to each other? Pin
devvvy1-Sep-03 6:39
devvvy1-Sep-03 6:39 
Generalrecvfrom returns SOCKET_ERROR but WSAGetLastError returns 0 Pin
CND31-Aug-03 12:32
CND31-Aug-03 12:32 
QuestionAny way to view the contents of an ms word file? Pin
DanYELL31-Aug-03 12:26
DanYELL31-Aug-03 12:26 
AnswerRe: Any way to view the contents of an ms word file? Pin
Joey Bloggs31-Aug-03 14:18
Joey Bloggs31-Aug-03 14:18 
AnswerRe: Any way to view the contents of an ms word file? Pin
tareqsiraj1-Sep-03 4:53
tareqsiraj1-Sep-03 4:53 
QuestionHow to use tab in a treeview? Pin
Binayak31-Aug-03 12:21
Binayak31-Aug-03 12:21 
AnswerRe: How to use tab in a treeview? Pin
Joey Bloggs31-Aug-03 14:48
Joey Bloggs31-Aug-03 14:48 
GeneralCSettingsDialog Pin
monrobot1331-Aug-03 10:21
monrobot1331-Aug-03 10:21 
I have a couple questions about the CSettingDiaglog class at http://www.codeproject.com/dialog/csettingsdlg.asp[^].

I like to read through the source of projects to increase my knowledge and I had some questions about this source (especially since I'm an MFC genious by no means). What I want to know is if the author makes the assumption that whoever is going to use the class is going to have a dialog that has a button with an ID of IDAPPLY? It's used through out the code, but would only be used in a project that uses the dialog as modeless. I can't see how the code would compile if you didn't have the an IDAPPLY ID defined.

One other question. In the code header there is the following statement:
enum { IDD = IDD_SETTINGS_DLG };
I just want to know if that's how the program knows the dialog it should be showing when you open an instance of the CSettingsDialog class. For example if my dialog ID was IDD_CONFIG_DLG would I change the statement to say:
enum { IDD = IDD_CONFIG_DLG };
Thanks for any and all help/clarification.

I had one more question after posting. Could this code be used in a DLL or would you have to include the source in your project?

Thanks again.

- monrobot13
QuestionCreating a main window with only a dialog resource? Pin
Aidman31-Aug-03 7:30
Aidman31-Aug-03 7:30 
AnswerRe: Creating a main window with only a dialog resource? Pin
l a u r e n31-Aug-03 8:19
l a u r e n31-Aug-03 8:19 
GeneralFreeImage newbie Pin
tareqsiraj31-Aug-03 6:21
tareqsiraj31-Aug-03 6:21 
GeneralRe: FreeImage newbie Pin
l a u r e n31-Aug-03 8:20
l a u r e n31-Aug-03 8:20 
GeneralRe: FreeImage newbie Pin
tareqsiraj31-Aug-03 8:25
tareqsiraj31-Aug-03 8:25 
GeneralUsing CRecordView Pin
Antti Keskinen31-Aug-03 5:45
Antti Keskinen31-Aug-03 5:45 
GeneralHelp With online thing Pin
Snyp31-Aug-03 5:45
Snyp31-Aug-03 5:45 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 7:39
ZoogieZork31-Aug-03 7:39 
GeneralRe: Help With online thing Pin
Snyp31-Aug-03 7:40
Snyp31-Aug-03 7:40 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 8:23
ZoogieZork31-Aug-03 8:23 
GeneralRe: Help With online thing Pin
Snyp31-Aug-03 14:22
Snyp31-Aug-03 14:22 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 16:21
ZoogieZork31-Aug-03 16:21 
GeneralRe: Help With online thing Pin
l a u r e n31-Aug-03 8:21
l a u r e n31-Aug-03 8:21 
GeneralRe: Help With online thing Pin
ZoogieZork31-Aug-03 8:26
ZoogieZork31-Aug-03 8:26 
GeneralRe: Help With online thing Pin
User 665831-Aug-03 9:27
User 665831-Aug-03 9:27 
GeneralUnicode or MBCS Pin
Daed31-Aug-03 5:17
Daed31-Aug-03 5:17 
Generalnew to sockets Pin
rakeshv31-Aug-03 2:14
rakeshv31-Aug-03 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.