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

Search:

Type: Posts; User: JasonD

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,334

    Re: Photoshop Adjust Brightness algorithm

    It's even more simple than that. It just adds x = -100..100 to R, G, and B, and bounds them to 0..255, with no regard to the fact the hue changes.
  2. Replies
    3
    Views
    1,334

    Re: Photoshop Adjust Brightness algorithm

    All it does is shift the luminosity histogram over.

    The amount -100..0..+100 is the amount of the shift (where the historgam exists from 0..255). So, it has nothing to do with a %. It's just...
  3. Replies
    3
    Views
    1,334

    Re: Photoshop Adjust Brightness algorithm

    Preliminary testing shows that it is based on the luminosity histogram.
  4. Replies
    3
    Views
    1,334

    Photoshop Adjust Brightness algorithm

    What general algorithm do they use? When you brighten a dark image, it increases the luminosity of dark pixels more than the bright ones. The bright pixels are not allowed to reach or surpass full...
  5. Replies
    4
    Views
    5,033

    Re: SetWindowLongPtr() problem with /Wp64 switch

    I completely disagree. If the definitions for SetWindowLongPtr() were proper, there would not be an issue. I have not had any other issues with /Wp64. All it has done for me, other than this...
  6. Thread: static keyword

    by JasonD
    Replies
    9
    Views
    995

    Re: static keyword

    Now that I am no longer confused between "file" and "translation unit", as MSDN uses them interchangeably, "static" all of a sudden makes complete sense to me for file scope variables...

    Looking...
  7. Thread: static keyword

    by JasonD
    Replies
    9
    Views
    995

    Re: static keyword

    Heh. That's the same link in my post, that your post replied to!
  8. Thread: static keyword

    by JasonD
    Replies
    9
    Views
    995

    Re: static keyword

    Thanks for all of your replies. I was aware of the phases of translation, but thanks for the explanation none-the-less. Allow me to clear up the confusion:

    You guys, and the MSDN docs, say:...
  9. Thread: static keyword

    by JasonD
    Replies
    9
    Views
    995

    Re: static keyword

    http://msdn2.microsoft.com/en-us/library/bxss3ska.aspx
    "A source file, together with its include files (files that are included using the #include preprocessor directive) but not including sections...
  10. Thread: static keyword

    by JasonD
    Replies
    9
    Views
    995

    static keyword

    1.

    Is there any reason / benefit to modifying a file scope variable (declared outside of any function, block, or class -- i.e. a global variable) with the static keyword? For example:

    static...
  11. Floating Point Exception Handling -- FPU stack

    After unmasking all floating point exceptions with _controlfp() (which sets the the floating-point control word), like so:

    _controlfp(0,_MCW_EM);so that all floating point exceptions are thrown,...
  12. Replies
    31
    Views
    3,791

    Re: Divide by 0 avoidance / handling

    /fp (Specify Floating-Point Behavior) can set FP exceptions to be on by default, rather than off, with /fp:except. Introduced in VC++ 2005. Not available for VC++ 2003.
  13. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    Ok, the new culprit is Shockwave Flash Object. When disabled, the focus is maintained properly after Alt+Tab switching.

    Hmm, but once I re-enabled it, the issue did not return. It still works as...
  14. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    Now, surprisingly, while the Sun Java Console is still disabled, this loss of focus issue has returned (for IE 6.0). I'll have to toy some more and find out why. Again, I see no problems in any...
  15. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    Ok, so I've answered all the concerns. Has this been reported to those who can resolve it? Or is it still not concluded?
  16. Thread: Search Focus

    by JasonD
    Replies
    2
    Views
    701

    Search Focus

    It would be intuitive if focus was given to the input field after clicking 'Search'.
  17. Replies
    10
    Views
    1,393

    Re: SendMessage/PostMessage

    I think he means... if the program he wants to close is minimized, running his program once will not close it. But, running his program a second time will close it.
  18. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    I have analyzed this:

    When I leave, and come back, the focus is still maintained. But, the cursor has become invisible, and does not accept inserting of characters. If you move the cursor with...
  19. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    Yes, I agree. And it does. For webpages with simple input forms (the FORM tag), the focus is remembered. For all other forums, the focus is remembered. For CodeGuru with Sun Java Console...
  20. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    Ok, I have solved it. The Sun Java Console is causing the issue. Here is the current state of my IE 6.0:

    (I see that uninstalling Alexa doesn't remove the AlxTb BHO Class add-on. Why can't...
  21. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    I have just disabled all IE 6.0 add-ons, and now the focus is kept as it should! I will have to play with this a bit and determine which one is causing it.
  22. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    I have already determined that the McAfee SiteAdvisor plugin does not cause the issue. I have no other toolbars I can uninstall. The only remaining extensions are Shockwave Flash, the Java console,...
  23. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    peejavery, I uninstalled Google Toolbar, and this also did not solve the problem.
  24. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    peejavery, I uninstalled the Alexa Toolbar, and this did not solve the problem.
  25. Replies
    26
    Views
    2,702

    Re: Focus Lost due to Alt+Tab switching

    dglienna, I deleted all temporary files, and all cookies, and the problem is not solved. I should also note that the log-in screen also has this problem.
Results 1 to 25 of 169
Page 1 of 7 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center