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 strongm 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. serpem

    close dialog box from program

    I am writing a program that print Windows files in TIFF format by selecting MS Office Document Writer as the printer, then calling ShellExecute() to start printing. The problem is that the Office Document Writer pop a "Save As" Dialog box before printing each time. Does anyone know...
  2. serpem

    MS Office Document Imaging Automation

    I am trying to automate the Microsoft Office Document Imaging software that ships with Office 2003, usinf MFC. I can not determine wich object library file I should refer to at the "Microsoft Office/OFFICE11/ " folder. any help is greatly appreciated.
  3. serpem

    CListview row color

    I got it working. there is a nice article about custom draw at http://www.codeproject.net/listctrl/lvcustomdraw.asp thanks for the direction.
  4. serpem

    CListview row color

    I have a CListView derived class that I use to display some data in report style. I want to alternate the background color of individual rows (white - gray) to make it easier to read. How can I do that?
  5. serpem

    efficient streaming of rich text to/from Cricheditctrl

    ...and a CString variable. I am using the following callback functions: DWORD __stdcall StreamInCallback(DWORD dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb) { CString *psBuffer = (CString *)dwCookie; if (cb > psBuffer->GetLength()) cb = psBuffer->GetLength(); memcpy(pbBuff...
  6. serpem

    rich edit view

    Thanks a lot apatterno.
  7. serpem

    rich edit view

    how do I find whether or not the content of a rich edit view has been modified. I heard about EM_GETMODIFY for rich edit controls, but I am not sure how to go about it. thanks
  8. serpem

    "full" justification in rich edit

    I could not find the correct window class for rich edit 3, and I am afraid it may require too many changes at this stage in my program. but thanks for letting me know what's happening.
  9. serpem

    "full" justification in rich edit

    I have a rich edit view with menu options for center, left, and right justification of paragraphs. I need to add full justification (both left and right) but I can't find any support for that in MFC. Does anyone know how? thanks.
  10. serpem

    context menu for rich edit

    I am trying to implement a context menu for a rich edit view that displays the Edit submenu of the main menu. I have heard about the IRichEditOleCallback::GetContextMenu() method of CRichEditView, but I am not familiar with how to use it. does anyone know how? thanks.
  11. serpem

    splitter window

    everything is working fine. Thanks a lot!
  12. serpem

    splitter window

    ...mean, here is the code I usually use to replace views in my programs when I don't have a splitter window: void CMainFrame::SelectView(CRuntimeClass* pNewViewClass,int val) { //get current view CView* pOldView = GetActiveView(); CView* pNewView = NULL; //if the new view had already been...
  13. serpem

    splitter window

    hello, does anyone know how to dynamically change the view in a splitter windows'pane at runtime? thanks
  14. serpem

    OLE on rich edit control

    AfxEnableControlContainer() was already included by AppWizard when I created the application but it still does not work.
  15. serpem

    OLE on rich edit control

    I added a rich edit control on a dialog and I called AfxInitRichEdit(); in InitInstance(). the rich edit control shows up and accept text, but do not accept any OLE object. How can I get it to accept OLE? thanks
  16. serpem

    font size limit

    I tried it with ES_MULTILINE | WS_VSCROLL |READ_ONLY and it works just fine. Thanks
  17. serpem

    font size limit

    that may be interresting. I am writing the texts on a FormView with different fields (within group boxes), so I am not sure how to go about that.
  18. serpem

    font size limit

    thanks for the help.
  19. serpem

    font size limit

    I can't really do 1) because the text does'nt make anymore sense if it is clipped. my best option now is 2). but is there any way I can disable or remove the fonts and font sizes I don't want from the Choose Font Dialog Box?
  20. serpem

    font size limit

    I used the following code to implement a font menu in my program: CFont m_font; void CTestFormView::OnViewFont() { CFontDialog dlgChooseFont; if(dlgChooseFont.DoModal() == IDOK) { m_font.DeleteObject(); m_font.CreateFontIndirect( dlgChooseFont.m_cf.lpLogFont)...

Part and Inventory Search

Back
Top