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

Search:

Type: Posts; User: lch2

Search: Search took 0.03 seconds.

  1. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    yes, i am using SetScrollSizes. Also, I like to maximize the dialog with the frame box and with that stretch the display area to cover the maximized dialog. right now only the dialog expands but the...
  2. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    How can I enlarge the filed of view to show more lines without scrolling or with less scrolling?.
  3. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    for some reason, had to call the RedrawWindow to update the window properly. Invalidate() would not update it after each buffer updates.
  4. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    since i use SetDIBitsToDevice(dc->GetSafeHdc(),.. , then I do not need to call the ReleaseDC, right?. If the buffer passed to the SetDIBitsToDevice is refreshed, I have to call the Invalidate to...
  5. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    already added: SetDIBitsToDevice(dc->GetSafeHdc(),.. and Release(dc); Won't have any performance drawback?. OnDraw is called continuously.
  6. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    Used the setscrollsizes already. I just can not get the scroll bar sizes right. Probably the OnDraw and SetScrollSizes needs changes.
  7. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    any one, any suggestion, help?.
  8. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    There was a bug in filling the buffer. Now, my problem is, I can not scroll to view entire image. it re-draws the top half only. It needs improvements. attached.
  9. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    Re: raw display

    Got a dialog based MFC that is 100% done. Would be nicer to draw a few raw images continuously using a pop up dialog. Worked with SDI long time ago and do not see major point to port everything to...
  10. Thread: raw display

    by lch2
    Replies
    16
    Views
    4,227

    raw display

    Used some online code example to put a little project to display raw image. The display does not seem to work.
    For some purposes, I like this to work with a dialog based MFC project.XDVView is...
  11. Thread: draw buffer

    by lch2
    Replies
    3
    Views
    1,515

    Re: draw buffer

    What control to use to display it?.
  12. Thread: draw buffer

    by lch2
    Replies
    3
    Views
    1,515

    draw buffer

    Got buffer with raw data. How to display it in MFC dialog and refresh it?. any source is appreciated.:confused:
  13. Thread: interconnect

    by lch2
    Replies
    2
    Views
    505

    interconnect

    in my vs executable I like to be able to access a function of another executable which may be written in another IDE, and access its memory buffer. Like,to read its memory buffer after it is filled...
  14. Thread: PackedBits

    by lch2
    Replies
    4
    Views
    836

    PackedBits

    I have a incoming packet of 75 bytes. It is packed of five 10 Bitters and five 5 Bitters. like 10-5-10-5-... What is the best way to receive-parse-modify and send the packet back using struct/union...
  15. Thread: Qt

    by lch2
    Replies
    1
    Views
    591

    Qt

    Just started to create QT application on win7/visual studio 2008. Has anyone gone through the same thing?. what are the best steps?. Can I turn this into a cross platform easily?.:confused:
  16. Thread: redraw

    by lch2
    Replies
    4
    Views
    1,073

    Re: redraw

    how to add zoom to this dialog?. so that with mouse click one can zoom into the paint area. make res folder, copy .rc2 .ico files to it.
  17. Thread: redraw

    by lch2
    Replies
    4
    Views
    1,073

    Re: redraw

    yes, this is it:


    class MyDraw : public CStatic
    {
    // Construction
    public:
    MyDraw();

    //removed items....
  18. Thread: redraw

    by lch2
    Replies
    4
    Views
    1,073

    redraw

    To understand the mfc dialog, onpaint better, after reading some online notes, made a little project. This draws a Horz. axis with a red color curve above it. What I can not figure how to do, is to...
  19. Thread: mfc dialog

    by lch2
    Replies
    1
    Views
    598

    mfc dialog

    Got an old Mfc dialog project that needs a lot of controls to be added to it. What is the limitation on number of controls if I do the work under vc2008. How can I bypass such limitation if there is...
  20. Thread: listbox dblclk

    by lch2
    Replies
    2
    Views
    765

    listbox dblclk

    in mfc, I am not sure how to handle a double click event on a listbox item. any code that does it?.
  21. Thread: Ide

    by lch2
    Replies
    2
    Views
    1,275

    Ide

    I need a tool that I can develop win7/linux applications at the same time. Most demanded and stable in the market. QT?. Is it free?.
  22. Thread: debug mode

    by lch2
    Replies
    2
    Views
    626

    debug mode

    forgive me for lack of more info. In the "start debugging" mode, in case 1, the main never begins, i see circled cursor, but in case 2 it does. why?. vc2008.

    case 1:
    int main(...)
    {
    std::cout...
  23. Thread: <types>

    by lch2
    Replies
    1
    Views
    432

    View Post

    #include <iostream>
    using std::cout;
    using std::endl;
    int type;
    template<class T>
    class templatetask
    {
    public:
    inline T addnumbers (T x1, T y1)
    {
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured