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

Search:

Type: Posts; User: Zulfi Khan2

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    3,091

    Re: Excel applications in MFC

    Hi,
    I did this once and I was helped by people on this forum. Plz check the following link.
    http://forums.codeguru.com/showthread.php?73781-Reading-Excel-Files&highlight=Excel

    But i used VC6.0....
  2. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Thanks for your information.

    This is what i am thinking because slowly and gradually VC will end up because of its complexity.

    Zulfi.
  3. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Thanks for your information. I have lots of VC books definitely more than 10. So I am not going to spend any more on VC books. I am with VC since 1997. However if there is a specialized book...
  4. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Thanks for your replies. I just want to improve the things related to VC guides. I have many books of VC but none of them tell me about the data types of VC. Only yesterday i came to know about...
  5. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Thanks for your attention. VC has a very tough code. I have heard people saying that its a cut and paste language. You dont write any code. You just search the code and paste it in your program....
  6. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Thanks. Its working now. These are very difficult concepts. No teacher can tell me. Only professional people like you can provide me insight. I would download the Scribble stuff but I am more...
  7. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Actually,
    for Question:

    I dont have any obligation to use OnDraw(). I just want to display image but OnInitialUpdate doesnt have CDC*.
    I would say:


    Even though its not CView derived...
  8. Re: Debug Assertion Failed with MessageBox

    Hi,
    It says:


    But its working now. Thanks for your guidance. If you have some time plz tell me:
    i) Is it VC restriction for not putting 2 statements in a single line?
    ii) Is MessageBox ( ...)...
  9. Replies
    30
    Views
    927

    Re: [RESOLVED] Displaying a jpeg image

    Hi,
    Still I am getting "Debug Assertion Failed" message. If I minimize the output window and then display it again. Kindly guide me. This problem is not yet solved.

    Zulfi.
  10. Replies
    30
    Views
    927

    Re: Displaying a jpeg image

    Hi,
    I checked the file name again and i found that i was making mistake in the extension.







    void CRotateImageScrollView::OnDraw(CDC* pDC)
  11. Replies
    30
    Views
    927

    Re: Displaying a jpeg image

    Hi,
    Thanks for your time, efforts and suggestions. Still I am getting Debug Assertion Failed message at Line 905 same as i wrote earlier (Post#8). I am now using CScrollView as the base class. There...
  12. Replies
    30
    Views
    927

    Re: Displaying a jpeg image

    Hi,
    Its derived from CView.


    class CRotateImageView : public CView
    {
    protected: // create from serialization only
    CRotateImageView();
    DECLARE_DYNCREATE(CRotateImageView)
  13. [RESOLVED] Debug Assertion Failed with MessageBox

    Hi,
    I am trying to use MessageBox in OnInitialUpdate function but its giving me "Debug Assertion Failed Message"

    I am using the following code:


    void CRotateImageView::OnInitialUpdate()
    {...
  14. Replies
    30
    Views
    927

    Re: Displaying a jpeg image

    Hi,
    Thanks for your response. I am calling it in OnInitialUpdate( ) but its still giving me same Debug Assertion Failed message (without CScrollSizes).


    void CRotateImageView::OnInitialUpdate()...
  15. Replies
    30
    Views
    927

    Re: Displaying a jpeg image

    Hi,
    Thanks for your information. I tried the following code:


    void CRotateImageView::OnDraw(CDC* pDC)
    {
    CRotateImageDoc* pDoc = GetDocument();
    ASSERT_VALID(pDoc);
    if (!pDoc)
    return;
  16. Replies
    30
    Views
    927

    Re: Displaying a jpeg image

    Hi,
    Thanks for your response. I understand some portion of the code which I used to load bitmap image. Most of the stuff is related to windows programming. Any way thanks for your help on this. I...
  17. Replies
    30
    Views
    927

    [RESOLVED] Displaying a jpeg image

    Hi,
    Can somebody guide me which command should i use for displaying a jpeg image in Visual Studio 2008 (VC++)?In the past i used LoadImage function for displaying Bitmaps. Some body plz guide me.
    ...
  18. Re: [RESOLVED] Animation problem using double buffering

    Hi,
    Thanks again for everybody's cooperation.

    Zulfi.
  19. Re: Animation problem using double buffering

    Hi,
    Thanks. I have got solution for my problem:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/4f2590a4-1dc0-412c-94de-c5ca0e19e2c7/animation-problem-using-double-buffering?forum=vcgeneral...
  20. Re: Animation problem using double buffering

    Hi,
    Thanks for your guidance. I have made changes based upon my understanding of Andytim's hints:


    CRect rectClient;
    GetClientRect(&rectClient);
    CDC WorkDC;
    WorkDC.CreateCompatibleDC(pDC);...
  21. Re: Animation problem using double buffering

    Hi,
    Thanks for your response. He has used SetTextColor:


    COLORREF oldTextColor = dc.SetTextColor(m_crInActiveTabText);


    I dont have an text in my code. I cant figure out what should i be...
  22. Re: Animation problem using double buffering

    Hi,
    Some body plz help me with this problem. I have now ported it to VS 2008.

    Zulfi.
  23. Re: Animation problem using double buffering

    Hi,
    Thanks for your response. I am getting syntax error at the following line:


    COLORREF oldTextColor = dc.SetTextColor(m_crInActiveTabText);



    The error is:
  24. Re: Animation problem using double buffering

    Hi,
    I have modified my OnDraw but still i cant solve the problem. Somebody plz guide me.


    void CAnimationCarView::OnDraw(CDC* pDC)
    {
    CAnimationCarDoc* pDoc = GetDocument();...
  25. Re: Turbo C equivalent command in Visual C

    Hi,
    Thanks razzle for your update. Actually I am using VC6.0. I can install VS2010. Is random ( ) available in Visual Studio 2010??

    Zulfi.
Results 1 to 25 of 479
Page 1 of 20 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center