I am trying to use sscanf as follows:
CString word1, word2, word3;
CString word_string = "three word string";
sscanf(word_string, "%s%s%s", word1, word2, word3);
AfxMessageBox(word1);
I would expect this to display a dialog box containing "three", is that a...
I am using a CListbox control within a CPropertyPage. I have defined the listbox with 'multi-column' and 'use tab-stops' selected in the properties dialog. I do AddString calls using a string formatted with "%s\t%s\t%s\t%s" and that works fine. However, when I run the app. and click...
My Doc/View, MFC application creates several modeless dialogs (Text file browsers, PropertySheets, etc.). While they are on screen, I can click the title bar of the main view window and input focus will be transferred to the main view window of the application. However, the main view does not...
I have created a Doc/View MFC application that Creates and displays a Modeless PropertySheet in response to a toolbar button from within the Document object. The sheet and pages are working correctly. However, when I click on the main view's title bar, the main view gets input focus but the...
I have created a Doc/View MFC application that Creates and displays a Modeless PropertySheet in response to a toolbar button from within the Document object. The sheet and pages are working correctly. However, when I click on the main view's title bar, the main view gets input focus but the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.