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

Search:

Type: Posts; User: mesajflaviu

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    Kindly thank you ... I'll pay attention on this, right now I have only one monitor, but who knows in future ?
  2. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    No ... are you referring GetSystemMetrics(SM_CXFULLSCREEN) ?
  3. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    I finally made it ... I put code here, in case that someone need it:


    void CTestMouseView::ReleaseClipCursor()
    {
    CRect rect;
    int nScreenWidth = GetSystemMetrics(SM_CXFULLSCREEN);...
  4. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    To render medical images (DICOM files), in fact MultiPlanarReconstruction. Theoretic, VTK has graphic objects that behave like what I am trying to do, but is not working correct when vtk window has...
  5. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    Note that I need to keep the mouse track inside of client area, AND it should be moved ONLY on horizontal direction ... but you gave me an idea: to create a ClipCursor rectangle wide as client area,...
  6. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    I already tried that, doesn't working ...
  7. Replies
    13
    Views
    542

    Re: SetCursorPos slowness

    Though in real application I will not use this code inside of OnMouseMove (over CView I am spread up a VTK window), there is a very good point ! Thank you. Now, I have to think about some_condition...
  8. Replies
    13
    Views
    542

    SetCursorPos slowness

    In a SDI app, I constraint the mouse to move only an horizontal direction, if "Shift" key is pressed ... here is the code:


    void CTestMouseView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) ...
  9. Replies
    43
    Views
    2,423

    Re: Emptying CString

    This problem occurred on VC6 ... I am still using VC6 ... I know, this is not good thing, but the project is pretty big and I am thinking that is lot of work to migrate the project on newer versions...
  10. Replies
    43
    Views
    2,423

    Re: Emptying CString

    Sorry for later response ... here is the entire code that gave me problems:


    CLSID clsid;
    HKEY hKey(NULL), hKeyC(NULL);
    ULONG cSize = 255;
    LPOLESTR pwszClsid;
    CString sPath, sVersion,...
  11. Replies
    43
    Views
    2,423

    Re: Emptying CString

    Here is the complete situation: I have an MDI app. Also, I have a class, CMyDB, derived from CObject. Inside of this class, I have a CString member variable:


    CMyDB : public CObject
    {
    ......
  12. Replies
    43
    Views
    2,423

    Re: Emptying CString

    "What version of VC are you using?
    What actions with this CString instance do you perform? "

    I am using VC6 as Visual Studio ... and with that CString I just want to use it to keep error...
  13. Replies
    43
    Views
    2,423

    Re: Emptying CString

    After all, I really found the problem: instead of


    // Get the Version information
    lRet = RegQueryValueEx(hKeyC, NULL, NULL, NULL, (BYTE*)(LPCTSTR)sVersion, &cSize);

    I wrote:


    // Get...
  14. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    I don't feel good knowing that by my attitude (I guess), or by my posts, I upset (maybe) some peoples, more over, peoples who helped me a lot ... I feel oblige to answer, by respect from those who...
  15. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    I know what you said ... The main reason that I didn't dig in to reveal why the scrollbars has disappeared in the real application is because in the test project, the scrollbars looks ugly ... but,...
  16. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    Ahh, I didn't noticed that flat scrollbars are available only until 5.8.2 ... my mistake.
  17. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    "So you are expecting that we will be now searching for the differences between the original code and your own implementation"

    I would not have this expectation, of course ... the only thing is, I...
  18. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    "And how does "your" case differ from the case described in the article?"

    That solution applied on my case, is not function at all, I mean, the scrollbars has vanish completely ... I know, sounds...
  19. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    I think I make myself unclear: I succeeded into color scrollbars (of an control, let say CListBox), but not with this:...
  20. Replies
    43
    Views
    2,423

    Re: Emptying CString

    I found the origin of the problem: before I work to excel wrapper, I opened registry and I didn't close them ... in case that everyone will face with the same problem ... thank you all !
  21. Replies
    19
    Views
    1,082

    Re: Customize control scrollbar

    I think I found a solution to colorize the scrollbars: using FlatSB_SetScrollProp ... and is almost done, except one thing: OS redraw the control scrollbars when I click on scrollbars ... could you...
  22. Replies
    43
    Views
    2,423

    Re: Emptying CString

    I think you are perfectly right ... the problem is in somewhere else ...
  23. Replies
    43
    Views
    2,423

    Re: Emptying CString

    I am thinking that the problem is inside of excel wrapper, that's why I get these garbage's in m_sError ... I am right ?
  24. Replies
    43
    Views
    2,423

    Re: Emptying CString

    Thank you ... I will looking for what you said.
  25. Replies
    43
    Views
    2,423

    Re: Emptying CString

    Here is the debugging result:


    void CString::Empty()
    {
    if (GetData()->nDataLength == 0) // m_pchData => "Some random error"
    return;
    if (GetData()->nRefs >= 0) //...
Results 1 to 25 of 109
Page 1 of 5 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center