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

Search:

Type: Posts; User: Emster

Page 1 of 3 1 2 3

Search: Search took 0.09 seconds.

  1. Replies
    16
    Views
    11,071

    thank you!!

    Hi JohnCz,

    Thank you so much for taking the time to send me that sample code. It was very helpful - and showed me what I was doing wrong. I was trying to set and remove the hook every time I...
  2. Replies
    16
    Views
    11,071

    still not working...

    Hi,

    I am still not receiving any WM_MOUSEMOVE messages the first time I set the mouse hook (WH_MOUSE).

    I tried using a WH_MOUSE_LL hook instead (as JohnCz suggested), but I cannot compile -...
  3. Replies
    16
    Views
    11,071

    ok - thanks JohnCz.... that clears up that issue....

    ok - thanks JohnCz.... that clears up that issue.

    Now I just have to go back and see why it is not working.

    thanks for all your help,
    Emelia :)
  4. Replies
    16
    Views
    11,071

    Hi, What I mean by 'another region' is: the...

    Hi,

    What I mean by 'another region' is: the window the mouse is moving over is divided up into application-specific regions (really just rectangles at different co-ordinates). When the mouse...
  5. Replies
    16
    Views
    11,071

    I found this in MSDN (note the bold section): ...

    I found this in MSDN (note the bold section):

    I have not used a DLL for my WH_MOUSE filter function - perhaps this is my problem. I was under the impression that I only had to use a DLL for...
  6. Replies
    16
    Views
    11,071

    Hi again, After solving my initial problem...

    Hi again,

    After solving my initial problem with this popup menu, I have run into another one. I thought I would continue in this thread as all my background info is here.

    Anyway - the...
  7. Replies
    3
    Views
    664

    Have a look in MSDN at function _itoa: ...

    Have a look in MSDN at function _itoa:



    Alternatively, if you are using CString you can use the Format member function:

    eg:
  8. Replies
    5
    Views
    751

    I think this is what you are after: ...

    I think this is what you are after:

    GetSystemMetrics(SM_CXSCREEN)
    GetSystemMetrics(SM_CYSCREEN)

    This will return: Width and height, in pixels, of the screen of the primary display monitor....
  9. Replies
    16
    Views
    11,071

    Thankyou Roger Allen and Kirants for your...

    Thankyou Roger Allen and Kirants for your suggestions on closing the menu and a special thanks to JohnCz for your detailed help and explanation of my problem (+ corrections of my programming...
  10. Replies
    16
    Views
    11,071

    Popup menu on mousemove message

    Hi,

    I am trying to implement a popup menu that opens on a mousemove message rather than a right mouse click. When the cursor is in a particular region of the client window, the popup menu should...
  11. Thread: Erasing lines

    by Emster
    Replies
    25
    Views
    2,818

    Hi, I have done a similar thing using...

    Hi,


    I have done a similar thing using either:

    SetROP2(R2_NOTXORPEN)
    or
    SetROP2(R2_XORPEN)

    You should call this before you draw the line both times. You will also need to set the pen...
  12. Replies
    3
    Views
    1,387

    Thanks Doctor Luz. That was a simple solution...

    Thanks Doctor Luz. That was a simple solution that worked really well.

    Problem solved,
    Emelia :)
  13. Replies
    3
    Views
    1,387

    :) Trying attachment again

    :) Trying attachment again
  14. Replies
    3
    Views
    1,387

    Draw ARC between 2 lines

    Hi,

    I wonder if anyone has some ideas on how I can draw an ARC between two lines to show the angle between them. (example is attached).

    So far, I have used LineTo etc to draw the lines. I...
  15. rxbagain - thank you so much the code works...

    rxbagain - thank you so much
    the code works wonderfully,

    I really appreciate your help!
    Emelia :)
  16. Hi - Just wondering if anyone has experienced...

    Hi - Just wondering if anyone has experienced this problem before? I have not been able to resolve it yet and have tried many different options.

    I tried inserting strings into the database...
  17. Problem: Saving COleVariant fields in CDaoRecordset

    HI,

    I am having a problem saving, retrieving and searching on fields in my dao recordset (Access database). I am saving a number of text fields into a table in the following manner:


    ...
  18. Replies
    6
    Views
    999

    Thank you for your input Sam - it is most...

    Thank you for your input Sam - it is most appreciated!
    I have started on a prototype, only to learn it is required for a demo in 2 days, so am starting to panic a little.

    Anyway - just one...
  19. Replies
    6
    Views
    999

    Ok - I have been informed (by co-worker) that I...

    Ok - I have been informed (by co-worker) that I should use dialog based because of the following requirement...

    We want to have buttons down the side of the app that fire up other dialogs to set...
  20. Replies
    6
    Views
    999

    thanks for your reply Kuphryn It is an image...

    thanks for your reply Kuphryn

    It is an image viewer, but you can do such things as invert, rotate, change brightness/contrast. Because we deal with medical imaging we cannot edit the images in...
  21. Replies
    6
    Views
    999

    Dialog based or MDI/SDI

    Hi all,

    I would like to ask a quick question regarding application design.... I am currently working on a dialog based application that receives, sends, stores and manipulates images and related...
  22. LVN_ODSTATECHANGED

    OK I have looked further into LVN_ODSTATECHANGED and it seems that it will only work when you use the LVS_OWNERDATA style for the list control. I am not using this, so was wondering if anyone knows...
  23. Thanks for the reply. The idea sounds good, but...

    Thanks for the reply. The idea sounds good, but when I tried to use it previously nothing happened at all. Is there anything extra about LVN_ODSTATECHANGED that I need to know?

    thanks again,
    Em
  24. CListCtrl multiple selection - a strange problem

    Hi,

    I have a CListCtrl inside a dialog. Each item in the list represents data about a particular person. Related to each person are a number of data files. What I am wanting to do is display...
  25. Thread: Help!

    by Emster
    Replies
    4
    Views
    711

    I have found the best way to find initial help is...

    I have found the best way to find initial help is to use the Search function in this forum. If you are not sure what std::list is - try searching there under Visual C++ or C++ programming. You...
Results 1 to 25 of 54
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured