|
MFC String-table in C# ?
|
| |
Hi, maybe a bit OT for this newsgroup, but I know that people here use C#, too. So, does anyone know how the MFC string-table technique map to C#/WinForm? I initially thought about using an integer->string map in C#, but is there some built-in mechanism to manage that? Thanks, Giovanni
|
|
CMFCOutlookBar with CDialog
|
| |
Hi All! I developp a new MFC application and i try to use the new MFC feature pack... Now i've got problems with the CMFCOutlookBar. I want to add tabs into the CMFCOutlookBar control but this tabs come from CDialog I make in the ressource editor. Here is the piece of code: m_studyDlg.Create(IDD_DLG_STUD Y, &m_wndOutlookBar);... more »
|
|
Diff between View, FormView and Dialog???
|
| |
I posted a structure question the other day where CPropertyPage was used as I want tabbed pages. I am looking at using a tabbed control class suggest by J.Newcomer. The documentation for this (CXTabCtrl on codeproject.com) discussed putting the tab pages on a form or a dialog. I went to a doc-view based application so I could easily get a tool bar and... more »
|
|
Destroying ActiveX control
|
| |
Hi All, I have MDI application, each MDI view contains property pages, each page hosts WebBrowser control. My problem is that when I close MDI document, occasionally the "Unhandled exception" occurs. This causes crash (not always...). All pointers up to COleControlSite destructor look ok for me... The error occurs at m_pObject->Close(OLECLOSE_NOSA VE);... more »
|
|
problem with CDataSource Open
|
| |
Hello! I have a MFC Dll where I have a call to Open for a CDataSource object. I get error when calling Open for object of CDataSource the error code from this call is -2147024770 which is 0x8007007e To make it easy for me do debug I created a MFC application by using MFC Appwizard(exe). The code in CTestApp::InitInstance() is generated except for the code that... more »
|
|
Logging starategy
|
| |
Hi, I am working on an MFC application and want to record all the events carried out by user. Selecting a object, a menu item, invoking dialog etc, so that I can replay it later. What's the strategy to start with ? Which desing pattern suitable for this ? By logging the WM_message, is it a good idea and then for replay I use... more »
|
|
Excel in a browser control
|
| |
Hi all, I want to be able to use excel for editing spreadsheets in my application made with c++ 6.0. The only catch is that the xls-file is stored in a database, so first the file is saved to the temp folder, and after that the user can start editing the excel sheet. After editing the file some values has to be... more »
|
|
qoutation solution
|
| |
string str_qoutation = GetCharFromASCII(34); public static int GetASCII(string strChar) { if (strChar.Length > 0) { System.Text.ASCIIEncoding objAscii = new System.Text.ASCIIEncoding(); return (int)objAscii.GetBytes(strChar )[0]; } else {... more »
|
|
|