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

Search:

Type: Posts; User: exodus2041

Page 1 of 2 1 2

Search: Search took 0.17 seconds.

  1. Thread: ReadLine()

    by exodus2041
    Replies
    1
    Views
    664

    ReadLine()

    I am in trouble.. May i know the syntax to read a line from the txt file... Thanks in advance

    fstream readFile;
    CString input;...
  2. Thread: end of file

    by exodus2041
    Replies
    3
    Views
    612

    Re: end of file

    Thank you very much!!
  3. Thread: end of file

    by exodus2041
    Replies
    3
    Views
    612

    end of file

    I am opening my file using this method... Is there anyway i can go the end of file to insert a string... Thanks for your help =)

    FILE* myfile;
    CStringA filenameAnsi(filename);
    CStringA mode...
  4. Replies
    1
    Views
    527

    ScrollBar can't scroll

    I have created a scrollbar using CScrollbar class. However, the scroll refuse to move no matter how i tried to move it. Please help me solve this problem. Thank you every much.

    The following is...
  5. Replies
    0
    Views
    821

    CScrollBar Create

    Hello,
    I have problem creating a scrollbar. The codes seems to have no problem, however, the program always suffer from runtime error..

    The following segment is my code:

    void...
  6. Replies
    10
    Views
    2,231

    Re: Picture Control

    The drawing of the images have no problem. The problem is the display of the picture. I can't redraw or update the window unless i minimise or maximise the window.
  7. Replies
    10
    Views
    2,231

    Re: Picture Control

    This code is for zooming an image by 4 times. The bmp400 is a bitmap zoomed 4 times of the original image.
  8. Replies
    10
    Views
    2,231

    Re: Picture Control

    But i have did that as well. However, it is not working. Below is a copy of my code, please help me see where is the problem.

    CClientDC dc (this);
    CDC memDC;
    memDC.CreateCompatibleDC(&dc);
    ...
  9. Replies
    10
    Views
    2,231

    Re: Picture Control

    No. I just want to display one bitmap at a time. I just need to set the new bitmap into the picture control right?
  10. Replies
    10
    Views
    2,231

    Picture Control

    My problem is that i have tried to use a picture control to display a bitmap previously.
    However, when i tried to display another bitmap using the same picture control dialog item. The picture...
  11. Replies
    3
    Views
    570

    Re: Heap Problem

    I have found that the scrollbar is the problem. However, i do not know where the problem lies
  12. Replies
    3
    Views
    570

    Re: Heap Problem

    The code step through both times till the end of the function. It is just that the program will trigger a breakpoint under wincore.app at the line ASSERT(pWnd != NULL) ...
  13. Replies
    3
    Views
    570

    Heap Problem

    May i know what is the problem with my code? This is a code that will add the scrollbar when the image added to picture control exceed the client size. The problem occur when i entered the function...
  14. Thread: Black Image

    by exodus2041
    Replies
    8
    Views
    966

    Re: Black Image

    Thanks alot. Issue solved. Thanks very much for the help. I want to ask if i want to shrink the picture. Do i still used StretchBlt Code, or there are other code available?
  15. Thread: Black Image

    by exodus2041
    Replies
    8
    Views
    966

    Re: Black Image

    Yeah.. Still the same. It wasn't the solution either.
  16. Thread: Black Image

    by exodus2041
    Replies
    8
    Views
    966

    Re: Black Image

    I fixed the issue u mentioned. yet the same result is displayed. Nothing changed
  17. Thread: Black Image

    by exodus2041
    Replies
    8
    Views
    966

    Black Image

    When i use stretchBlt on the image i loaded in, the return is a black image. Can anyone please tell me what is the problem?

    Below is the copy of my code:

    CClientDC dc (this);
    CDC memDC;...
  18. Replies
    1
    Views
    467

    Picture Control

    I have set a bitmap inside my picture control dialog item. However, whenever i minimise and minimise the window, the image that was previously loaded will disappear. Can anyone tell me how to solve...
  19. Thread: CToolBar

    by exodus2041
    Replies
    1
    Views
    377

    CToolBar

    I have a question. Is there any application to create or edit the imagestrip of Ctoolbar? I suck at drawing icon... Thanks for helping
  20. Replies
    2
    Views
    625

    Re: Attaching dialog onto frame window

    Thanks alot ....
  21. Replies
    2
    Views
    625

    Attaching dialog onto frame window

    I am new to MFC. I am currently using SDI. May i know how to attach a dialog box onto the frame window?
  22. Thread: ToolBar

    by exodus2041
    Replies
    5
    Views
    945

    Re: ToolBar

    So how exactly am i going to implement a toolbar in MFC. i went through lots of tutorials, doesn't explain much.
  23. Thread: ToolBar

    by exodus2041
    Replies
    5
    Views
    945

    Re: ToolBar

    I watched from the tutorials. There always seems to be a mainframe.cpp whereby u overwrite the create function.
  24. Thread: ToolBar

    by exodus2041
    Replies
    5
    Views
    945

    ToolBar

    I am new to implementing toolbar. When i am implementing the toolbar, does i need to download the mainframe program and attached it to my project?
  25. Replies
    1
    Views
    438

    Dialog Box data exchange

    I have created a popout dialog box. This popout dialog box have a edit control on it. However, when i add the ID of the edit control to my data exchange, assert error will occur. Can anyone please...
Results 1 to 25 of 41
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)