CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: javed001

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    8,003

    Re: Scroll CDHtmlDialog

    No, It doesn't have to be before CDHtmlDialog::OnInitDialog();
    It works even if you call after this line. :wave:
  2. Replies
    4
    Views
    13,720

    Re: What is _com_issue_error

    Usually Unspecsified exception are caused by null pointer on invalid memory. _com_error will not catch this exception.
  3. Replies
    3
    Views
    1,352

    Re: removing sunken style in a formview

    New Image attached
  4. Replies
    3
    Views
    1,352

    Re: removing sunken style in a formview

    Adding this code helped but still we can see a white separator which is giving it a 3d look

    BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
    {
    if( !CFrameWndreCreateWindow(cs) )
    ...
  5. Replies
    1
    Views
    10,917

    Re: SetForegroundWindow not working

    Got the solution here is the link.

    http://www.codeproject.com/KB/dialog/dlgboxtricks.aspx

    Look into the "How to steal focus on 2K/XP" section
  6. Replies
    1
    Views
    10,917

    SetForegroundWindow not working

    Hi,
    I have an SDI application. If I minimize the application it can be restored by a system tray menu. The menu appears when we left click on to an Icon(that is also added by me)in the system...
  7. Replies
    1
    Views
    869

    Re: WTL MDI Toolbar Question

    This is an MFC forum. You should post your Query to a WTL forum. code projetc has one WTL forum. See the link.

    http://www.codeproject.com/script/Forums/View.aspx?fid=4486
  8. Replies
    3
    Views
    1,352

    Re: removing sunken style in a formview

    I added an image of my application in case if you want to see that.
  9. Replies
    3
    Views
    1,352

    removing sunken style in a formview

    I have a SDI application whose view is derived from CFormView. But the form looks sunken (Depressed) in the main window. I want to remove this state. I tried to remove the WS_EX_CLIENTEDGE,...
  10. Replies
    6
    Views
    955

    Re: Overloading == and != Operators

    Try this

    bool matrix:perator ==(const matrix& Square) const
    {
    if((*this).row == Square.row && (*this).column == Square.column)
    {
    for(int i=0; i< Square.row; i++)
    ...
  11. Replies
    6
    Views
    955

    Re: Overloading == and != Operators

    Dont you know how to overload == and != operator or you have problem in overloading your matrics?
  12. Thread: shellexecute

    by javed001
    Replies
    8
    Views
    3,829

    Re: shellexecute

    Yes,

    printto is not a listed verb in MSDN. Also shellexecute fails and return

    ERROR_GEN_FAILURE when used printto.

    One Q: why do you think image files are not document files. If this is the...
  13. Thread: shellexecute

    by javed001
    Replies
    8
    Views
    3,829

    Re: shellexecute

    Printto is not a SDK or MFC CWnd function.
  14. Thread: shellexecute

    by javed001
    Replies
    8
    Views
    3,829

    Re: shellexecute

    Thanks Victor,
    I had read the MSDN, But I was thinking .PNG files are too document files.
    I still dont know how a document file is defined.

    Any way anyother solution for printing an image file?...
  15. Replies
    3
    Views
    936

    Re: scrollbar in my MFC ActiveX Control

    Based on Skizmo info, CDialog has attributes (Flags) to create horizontal and vertical scrollbars.
    Just check the property window.
  16. Thread: shellexecute

    by javed001
    Replies
    8
    Views
    3,829

    Re: shellexecute

    I am also facing similar problem. I want to print some files using ShellExecute().
    The good news is it is working for text files but just doing nothing in case of image files like PNG, BMP etc....
  17. Re: error C2039:'SetSelectedColumn' : is not a member of 'ClistCtrl'

    I was also having the same error. And this was because in VS 8.0 the GetSelectedColumn() is defined in the afxcmn.h under #if (_WIN32_WINNT >= 0x0501)

    And in my stdafx.h file it was defined as...
  18. Re: Problem opening a msg file using ShellExecute

    Oh, Thanks victor. I tried this and it worked.

    hInst = ShellExecute(NULL, _T("open"), _T("C:\\Program Files\\Microsoft
    Office\\OFFICE11\\OUTLOOK.EXE"), _T("/f C:\\Test.msg") , NULL,...
  19. Re: Problem opening a msg file using ShellExecute

    Thanks Victor, I saw that but it does not help me.
    i need something for opening msg file.
  20. Problem opening a msg file using ShellExecute

    Hi,

    I am trying to open a outlook msg file programmaticatlly as below in
    my C++ code.

    ShellExecute(NULL, _T("open"), _T("C:\\Program Files\\Microsoft
    Office\\OFFICE11\\OUTLOOK.EXE"),...
  21. Replies
    5
    Views
    3,692

    Re: How to use the pdf IFilter ?

    No,

    The problem is, it is not returning anything in the STAT_CHUNK structure passed to GetChunk() function.
    The return value is aways FILTER_E_END_OF_CHUNKS which suggests there is no chunk which...
  22. Replies
    5
    Views
    3,692

    Re: How to use the pdf IFilter ?

    As per the original post, I tried to extract main content of the function for a PDF file and though it loads the PDF Filter installed at "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRdIF.dll" but it...
  23. Replies
    5
    Views
    3,692

    Re: How to use the pdf IFilter ?

    Hi Dear,
    I am trying to index metadata for doc file for indexing purpose using IFilter implementation.
    I have the OffFilter.dll which implements IFilter for office documents like .doc etc.

    I am...
  24. Replies
    3
    Views
    949

    Re: repainting issue with windows menu bar

    I am neither handling WM_LBUTTONDOWN nor using SetCapture().
    One interesting thing is the MFC sample provided by the ActiveX control vendor does not have this painting problem.
  25. Replies
    3
    Views
    949

    repainting issue with windows menu bar

    I am having an SDI application (Strictly speaking no document object as the original project was created with older version of vc). I am creating a child window wich is pasted over the main frame...
Results 1 to 25 of 56
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured