Click here to Skip to main content
15,898,993 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determining whether input is string or integer Pin
Klazen5-Feb-08 13:52
Klazen5-Feb-08 13:52 
QuestionRe: Determining whether input is string or integer Pin
David Crow5-Feb-08 17:06
David Crow5-Feb-08 17:06 
GeneralRe: Determining whether input is string or integer Pin
cp98765-Feb-08 16:10
cp98765-Feb-08 16:10 
GeneralRe: Determining whether input is string or integer Pin
User 5838525-Feb-08 17:08
User 5838525-Feb-08 17:08 
GeneralRe: Determining whether input is string or integer Pin
Gregory Bryant5-Feb-08 18:20
Gregory Bryant5-Feb-08 18:20 
GeneralRe: Determining whether input is string or integer Pin
Cedric Moonen5-Feb-08 20:59
Cedric Moonen5-Feb-08 20:59 
GeneralRe: Determining whether input is string or integer Pin
Christian Graus7-Mar-08 23:26
protectorChristian Graus7-Mar-08 23:26 
GeneralA Problem with Doc-View SDI App Pin
Member 4431375-Feb-08 6:34
Member 4431375-Feb-08 6:34 
Hi,

I am just once again posting the question which I have posted a couple of days back. Of course, it hasn't attracted any member attention, but I am just posting again now with a hope that some members may respond. I assure you all that I don't bother and abuse this forum again by repeating the same question. Kindly understand.

Shanmukha

Hi,

I have a problem with one of my Doc-View Application. In fact, I am novice in doc-view apps. I have a CFormView based SDI app coded in Visual C++ 6.0 environment. The user interface has three modeless dialogs embedded in a CTabCtrl, One ChartCtrl and CListCtrl. I observed a funny behaviour while opening a stored document (not Word document) by double clicking on it. The view is not getting updated correctly. But if I open the the file by File-> Open command, every thing working fine.
Let me explain a bit about how I coded the app for better comprehension.
1. The document has a user defined class which handles the serialization on its own (based on Ravi Bhavnani code).

2. The List control paints its contents using NMCustomDraw feature.

3. By digging into the code I could find that OnNewDocument() function is not getting called while opening tha App from Shell (i.e. by double clicking on the file), instead the OnOpenDocument() is called. And all other Doc->DeleteContents() and Serailization, View->IntialUpdate() and View->OnUpdate() working OK but the List Control not getting updated.

4. But if you open the file by File ->Open command, since the SDI app gets started with a new document every thing looks OK.

5. Same is the case by opening with command line Start-> Run-> MyApp xyz.tnf .

6. I found even the OnCustomDraw() function getting called.

7. I then tried to get into the undocumented DocManager classes etc. but I couldn't get much help. Even opening file from the Shell, I find App gets one empty document. This I got confirmed with DocManager class other functions.

Finally what I could find is that, the View and Document connection in the low level framework is at fault.

I would be grateful for any help in this regard.

I remain,
Shanmukha
GeneralCTreeCtrl lables help please Pin
sarat5-Feb-08 3:31
sarat5-Feb-08 3:31 
NewsRe: CTreeCtrl lables help please Pin
Iain Clarke, Warrior Programmer5-Feb-08 6:19
Iain Clarke, Warrior Programmer5-Feb-08 6:19 
GeneralRe: CTreeCtrl lables help please Pin
Cedric Moonen5-Feb-08 7:13
Cedric Moonen5-Feb-08 7:13 
GeneralRegarding CToolBar & CToolBarCtrl Pin
msr_codeproject5-Feb-08 2:25
msr_codeproject5-Feb-08 2:25 
GeneralRe: Regarding CToolBar & CToolBarCtrl Pin
Iain Clarke, Warrior Programmer5-Feb-08 2:34
Iain Clarke, Warrior Programmer5-Feb-08 2:34 
Questionhow to include library file Pin
sharanu5-Feb-08 2:00
sharanu5-Feb-08 2:00 
AnswerRe: how to include library file Pin
Rajkumar R5-Feb-08 2:17
Rajkumar R5-Feb-08 2:17 
AnswerRe: how to include library file Pin
Chris Losinger5-Feb-08 2:17
professionalChris Losinger5-Feb-08 2:17 
AnswerRe: how to include library file Pin
David Crow5-Feb-08 2:37
David Crow5-Feb-08 2:37 
GeneralRe: how to include library file Pin
Rajesh R Subramanian5-Feb-08 5:22
professionalRajesh R Subramanian5-Feb-08 5:22 
GeneralRe: how to include library file Pin
CPallini5-Feb-08 6:31
mveCPallini5-Feb-08 6:31 
GeneralExtract string from CString Pin
Anu_Bala5-Feb-08 1:35
Anu_Bala5-Feb-08 1:35 
GeneralRe: Extract string from CString Pin
nbugalia5-Feb-08 1:47
nbugalia5-Feb-08 1:47 
GeneralRe: Extract string from CString Pin
Rajkumar R5-Feb-08 1:56
Rajkumar R5-Feb-08 1:56 
GeneralRe: Extract string from CString [modified] Pin
CPallini5-Feb-08 2:08
mveCPallini5-Feb-08 2:08 
GeneralRe: Extract string from CString Pin
Rajkumar R5-Feb-08 2:13
Rajkumar R5-Feb-08 2:13 
GeneralRe: Extract string from CString Pin
Mark Salsbery5-Feb-08 5:56
Mark Salsbery5-Feb-08 5:56 

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.