Thank you so very much for the FAQ hammy! Unfortunately, I am a wee bit lost in that I've never worked with DLLs before so I need a bit of extra clarification. First, where is the project and class creation being done? Is the SCMonitor project a VSS project or a VB project? (I'm also more...
I've already read the posting by rgh 03/13/02 Check in\Check out but I didn't walk away from it with a solid answer. So is it not possible to only allow admin to check file back in with "our-of-the-box" Visual Source Safe. I'm in a similar situation where we would like to allow our...
Thanks for the suggestion. Nope, no compile errors. And deleting the .ncb file didn't seem to work for my particular problem but maybe it'll help out someone with a similar problem...any idea as to what the technical name of that popup list is to help me with an internet search?
Just out of the blue (in other words, what did I do), I no longer have the popup list of member variables/functions as I'm typing a class object. Let's say I have:
CMyCustomClass stuff;
as I'm typing: stuff.
as soon as I type the . that popup list of all available functions for my...
Just to add to that...it would appear that my ON_COMMAND_RANGE is being activated but my ON_UPDATE_COMMAND_UI_RANGE is only activated upon startup for the toolbar or when I open the menu containing the menu items...which is even more puzzling because as I mentioned before, the menu items are...
I cannot figure out why my menu items are getting updated but my toolbar buttons are not. There are 4 items in each area and I triple checked that matching items have the same ID string and therefore same resource number. This is the code in my message map for my CScrollView-based class...
I completely understand what you are saying but if the only code I have is in the function for the dialog button:
*********************************************
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CInvoiceDoc)...
Sorry...I was wondering if I really needed to use CRichTextView as my base class for my View class...besides...I was having trouble drawing to it. Plus, I realized I only want to draw to it programmatically, I don't want the user to be able to write text to it and add OLE objects, etc. So I...
Thanks for the tip...shortly before your posting I changed my button function to the following:
**************************************************
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CInvoicesDoc),
RUNTIME_CLASS(CMainFrame)...
It "looked" like I got it but after closer scrutiny I discovered that when I push the button in my dialog to start up the SDI frame, only the frame object is getting created...the frame itself "looks" good, its complete with toolbar and menubar BUT the view and document...
I never seem to explain myself very well...sorry 'bout that. The close button, top right of the window. Reason: Not sure how to explain but from a button in dialog-based application my program opens an SDI window (ie. MainFrame, View and Document). I've made modifications so that the close...
Just as Pete described...you have to "create" a CFrameWnd object...thanks oodles...just needed to think a little bit.
_______________________________________________
CMainFrame *pMainFrame = new CMainFrame();
pMainFrame->Create(NULL,"The Frame");
m_thisApp->m_pMainWnd =...
I've discovered that my problem lies in that m_pMainWnd is pointing to the Dialog object (CMyMainDlg) whereas a standalone working SDI application has m_pMainWnd pointing to a CMainFrame object. How can I get m_pMainWnd to point to a CMainFrame object...I can't declare it by: CMainFrame...
Thanks for the tip but I'm still really stumped...that actually was the approach I was taking before posting here but I didn't know if I was on the right track...still don't know if I'm doing it right though. My Main dialog box (which of course is called by "the" app class...
I was hoping to not access the SDI app from the outside type of thing. I haven't actually designed the document interface yet so it can be rewritten...there is no way to incorporate the document interface into my current (dialog-based) application?
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.