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

Search:

Type: Posts; User: EvIl_DeViL

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    6,534

    Re: double buffering

    I read on msdn to pass FALSE as last parameter when I do:


    InvalidateRect(hWnd, NULL, FALSE);

    shouldn't this avoid the WM_ERASEBKGND message queuing?
  2. Replies
    4
    Views
    6,534

    Re: double buffering

    wooo! solved!
    good double buffering script bad asking-to-refresh!
    i was


    InvalidateRect(hWnd, NULL, TRUE);

    instead
  3. Replies
    4
    Views
    6,534

    double buffering

    hi! i'm trying to make a double buffering to avoid the slow refresh
    my code looks like this:


    void draw(HDC hdc)
    {
    HDC dc = CreateCompatibleDC(hdc);
    HBITMAP hBitmap = CreateCompatibleBitmap...
  4. Replies
    1
    Views
    4,637

    creating a frame

    hi all!
    i'm trying to create something like a frame so i made




    HDC hdc2 = CreateCompatibleDC(hdc);
    //draw on hdc2
    BitBlt(hdc, 44, 59, 193, 87, hdc2, 0, 0, SRCCOPY);
  5. Replies
    1
    Views
    9,228

    DTN_DATETIMECHANGE loop!

    hi! I have a date-time picker control.
    when I select a date it gives 2 notify and when I change month I get an endless loop of notify!!!
    here's my code...




    #define STRICT

    #include ...
  6. Replies
    1
    Views
    7,027

    Re: mysql embedded - error 1146

    solved. used alredy existing non-table file and deleted ib_logfile0 and ib_logfile1
  7. Replies
    1
    Views
    7,027

    mysql embedded - error 1146

    hi! i hope this is the right section...
    i'm developing a software based on mysql embedded system...
    the version i'm using is 5.1 (it's the only one i found that have libmysqld...)
    i'm referring to...
  8. Replies
    23
    Views
    19,574

    Re: allocating bidimensional matrix

    cool XD well I learned a lot of things from this discussion and I think I don't want to see more than ONE star before a variable for a while XD
    personally I hate working with dyn mem because I ever...
  9. Replies
    23
    Views
    19,574

    Re: allocating bidimensional matrix

    sorry but what about reallocating matrix?
    for example...
    a matrix of an HWND array can be declared like that?


    typedef std::vector<HWND> HWNDArray;
    typedef std::vector<HWNDArray> ...
  10. Replies
    23
    Views
    19,574

    Re: allocating bidimensional matrix

    sorry... misunderstood... well is because i didn't know the power of the std::vector... now i'm studing it :p

    what a wonderful forum!!! light speed replies and very useful tips!! thank you again!!
  11. Replies
    23
    Views
    19,574

    Re: allocating bidimensional matrix

    can you post some example code please? I can't figure...
  12. Replies
    23
    Views
    19,574

    Re: allocating bidimensional matrix

    interesting solution... I stopped studing C++ after class... so i miss all the strange template stuff, the std library, and so on... good excuse for getting an upgraded!!! many thanks!!!
    (it's still...
  13. Replies
    23
    Views
    19,574

    Re: allocating bidimensional matrix

    thank you for your many replies!
    sorry for the CODE tag... I didn't find it :P
    quoting lindley for the behaving of the realloc.
    I used realloc instead new/delete beacause with the C++ operator you...
  14. Replies
    23
    Views
    19,574

    allocating bidimensional matrix

    hi all!! I need to create a function that by reference reallocate an asymmetrical bidimensional
    character matrix...
    I've done something like that but it crash...
    ...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured