Click here to Skip to main content
16,015,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to display full column length in SQL Pin
IrishSonic5-Mar-03 23:56
IrishSonic5-Mar-03 23:56 
AnswerRe: How to display full column length in SQL Pin
Alvaro Mendez6-Mar-03 5:31
Alvaro Mendez6-Mar-03 5:31 
GeneralRe: How to display full column length in SQL Pin
IrishSonic6-Mar-03 11:20
IrishSonic6-Mar-03 11:20 
GeneralDll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Farrukh4u5-Mar-03 23:49
Farrukh4u5-Mar-03 23:49 
GeneralRe: Dll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Hans Ruck6-Mar-03 0:23
Hans Ruck6-Mar-03 0:23 
GeneralRe: Dll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Farrukh4u10-Mar-03 23:17
Farrukh4u10-Mar-03 23:17 
GeneralRe: Dll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Hans Ruck13-Mar-03 0:39
Hans Ruck13-Mar-03 0:39 
GeneralSingle Document in MDI app or.... Pin
luedi5-Mar-03 22:55
luedi5-Mar-03 22:55 
multiple Documents in SDI applications.

Hi,

I have an application that is mainly a SDI form based app. There is no sence in opening more than one document in a time. I use a technique to switch between 4 different views based on the state of the app and again, there is no need to see two of the views at the same time.

I have a few ScrollView derived Ctrls on the FormView where I already had problems that mouseactivation on the ScrollView derived class will send a SetActiveView to the mainFrame. This results in unexpected program behavoir (mostly program crashes later on). For these problems I already have a workaround.

Yesterday I tried to include debugging capablities using the CEditLog class with a CEditView ctrl in a CControlBar. Again I had the problem that upon activation the CeditView Window sends SetActiveView calls to the MainFrame and additionally will call CDocument::SetModified (). I choosed the EditView since I wanted to use the search / serialize capabilities, but the CEditView needs a Document, so I gave an empty CDocument to the CEditView. But this only leads to additional problems. Terminating the application while the focus is on the ControlBar leads to crashes since the View has changed and so on.

I don't really want to switch to an MDI application, only to support edit capabilities or better a second CView derived window.

Does anybody have similar experiences with something like this? Must I switch to an MDI app?

Thanks in advance
Dirk
GeneralDetect event 2 Pin
jeremysay5-Mar-03 22:45
jeremysay5-Mar-03 22:45 
GeneralRe: Detect event 2 Pin
Rage5-Mar-03 23:21
professionalRage5-Mar-03 23:21 
GeneralRe: Detect event 2 Pin
Anonymous6-Mar-03 0:27
Anonymous6-Mar-03 0:27 
GeneralRe: Detect event 2 Pin
jeremysay6-Mar-03 1:31
jeremysay6-Mar-03 1:31 
QuestionHow to minimize the main window and the child windows to remain on the desktop? Pin
julych5-Mar-03 22:30
julych5-Mar-03 22:30 
AnswerRe: How to minimize the main window and the child windows to remain on the desktop? Pin
MAAK5-Mar-03 23:51
MAAK5-Mar-03 23:51 
GeneralExcel automation Pin
Rage5-Mar-03 20:41
professionalRage5-Mar-03 20:41 
GeneralRe: Excel automation Pin
HENDRIK R5-Mar-03 21:07
HENDRIK R5-Mar-03 21:07 
GeneralRe: Excel automation Pin
Rage5-Mar-03 22:14
professionalRage5-Mar-03 22:14 
GeneralRe: Excel automation Pin
HENDRIK R5-Mar-03 22:51
HENDRIK R5-Mar-03 22:51 
GeneralRe: Excel automation Pin
Rage5-Mar-03 23:16
professionalRage5-Mar-03 23:16 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 0:27
HENDRIK R6-Mar-03 0:27 
GeneralRe: Excel automation Pin
Rage6-Mar-03 0:50
professionalRage6-Mar-03 0:50 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 1:17
HENDRIK R6-Mar-03 1:17 
GeneralRe: Excel automation Pin
Rage6-Mar-03 1:29
professionalRage6-Mar-03 1:29 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 1:48
HENDRIK R6-Mar-03 1:48 
QuestionStacked tabs in a property sheet? Pin
Joan M5-Mar-03 20:35
professionalJoan M5-Mar-03 20:35 

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.