Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JillyT

    Permitting users to check out only

    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...
  2. JillyT

    Permitting users to check out only

    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...
  3. JillyT

    Popup list of member vars/functions gone

    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?
  4. JillyT

    Popup list of member vars/functions gone

    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...
  5. JillyT

    Toolbar button & Menu Item Link

    I think it has something to do with the fact that I am calling on the SDI from a dialog box button...cause the code works fine for an SDI only app.
  6. JillyT

    Toolbar button & Menu Item Link

    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...
  7. JillyT

    Toolbar button & Menu Item Link

    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...
  8. JillyT

    Windows Menu Close Button

    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)...
  9. JillyT

    Mixing Dialog-based and SDI apps

    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...
  10. JillyT

    Mixing Dialog-based and SDI apps

    Any idea why that idea doesn't work if I'm just using a CView object rather than a CRichTextView?
  11. JillyT

    Mixing Dialog-based and SDI apps

    You rock...thanks SOOOOOOOOOOOOOOOOOOOOOOOOOO much!
  12. JillyT

    Mixing Dialog-based and SDI apps

    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)...
  13. JillyT

    Mixing Dialog-based and SDI apps

    Here's some code: BOOL CMyApp::InitInstance() { if (!AfxOleInit()) { AfxMessageBox(IDP_OLE_INIT_FAILED); return FALSE; } AfxEnableControlContainer(); #ifdef _AFXDLL Enable3dControls(); #else Enable3dControlsStatic(); #endif CSingleDocTemplate* pDocTemplate; pDocTemplate = new...
  14. JillyT

    Mixing Dialog-based and SDI apps

    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...
  15. JillyT

    Windows Menu Close Button

    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...
  16. JillyT

    Windows Menu Close Button

    How does the close button of an SDI-based application work? ie. what event/s does it activate?
  17. JillyT

    Mixing Dialog-based and SDI apps

    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 =...
  18. JillyT

    Mixing Dialog-based and SDI apps

    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...
  19. JillyT

    Mixing Dialog-based and SDI apps

    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...
  20. JillyT

    Mixing Dialog-based and SDI apps

    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?

Part and Inventory Search

Back
Top