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

Search:

Type: Posts; User: Cambalinho

Page 1 of 36 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: win7: why the online videos have more delay on frames and the CPU is 100%?

    i'm seen more things. speaking on firefox: why the flash player add on isn't used? but it's activated on addons.. unless i need do something on config page. how i know? when i click on right mouse...
  2. Re: win7: why the online videos have more delay on frames and the CPU is 100%?

    the download speed is more big than the video playing time. if the download is completed the problem continues.
    the Internet Explorer is a slow browser, but can play the videos without so many...
  3. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    can anyone help me on these convertion?

    CRect rect;
    rect.DeflateRect( CSize(GetSystemMetrics(SM_CXEDGE),

    GetSystemMetrics(SM_CYEDGE)));


    it's from MFC to Win32
  4. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    maybe i can do my code using these: http://www.codeguru.com/cpp/controls/buttonctrl/windowsxp/article.php/c5193/Creating-Windows-XP-Style-ActiveX-Button.htm
    it's a MFC code, maybe i can convert it
  5. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    yah i did a several mistakes. now works fine:

    Graphics myGraphics(imgButton);

    LinearGradientBrush linGrBrush(
    Point(0, 0),
    ...
  6. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    image imgButton(ps.rcPaint.right-ps.rcPaint.left,ps.rcPaint.bottom-ps.rcPaint.top);
    Graphics myGraphics(ps.hdc);

    LinearGradientBrush linGrBrush(
    ...
  7. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    i'm trying use it, but i'm failling with structure:

    TRIVERTEX vert[2];
    GRADIENT_RECT gRect;
    vert [0] .x = 0;
    vert [0] .y = 0;...
  8. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    anotherthing: i want draw, manually and using GDI, the XP button background. can anyone advice me?
    what i understand is:
    1 - buildind a gradientfill brush(i don't know do these and the right...
  9. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    please correct me these: with WM_PAINT, i can draw my own button. but imagine that i need put an if for draw my own visual style or the system style how i do it?(let the windows do it itself)
    i must...
  10. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    if we can change the visual styles on System.. why not by code to any window?
    and if the DrawThemeBackground() can draw a control background, depending on OS visual style, why not choose the Visual...
  11. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    "Draws the border and fill defined by the visual style for the specified control part." if so, how can i use a diferent visual style background?
  12. Re: win32 - THEME: how can i draw a diferente visual styles with controls?

    i make my own button class control. i need add an option for i choose the visual style, like win98 or vista or other. of course, i can choose the OS way too.
    so the DrawThemeBackground() draws the...
  13. win7: why the online videos have more delay on frames and the CPU is 100%?

    i can't see correctly the online videos :(
    the youtube qualitty don't make so many diference :(
    what i see is:
    1 - the frame delay is more big;
    2 - the CPU is 100%.


    - CPU is dual core AMD...
  14. win32 - THEME: how can i draw a diferente visual styles with controls?

    using the OpenThemeData()(creates a THEME with a especificed control string name), DrawThemeBackground()(draws the control background) and CloseThemeData()(the THEME object must be destroyed when...
  15. Re: win32 -how returning TRUE on WM_ERASEBKGND can affect the Z-order?

    i was using WS_CLIPSIBLINGS on parent instead on child control
  16. win32 -how returning TRUE on WM_ERASEBKGND can affect the Z-order?

    how returning TRUE on WM_ERASEBKGND can affect the Z-order?(tested)
  17. Re: win32: how show ToolTip manually?

    the WM_WINDOWPOSCHANGED message is activated when the size, move and z-order are changed:

    case WM_WINDOWPOSCHANGED:
    {
    if(IsWindowVisible(inst->hwnd)==true)
    ...
  18. Re: win32: how show ToolTip manually?

    heres a working code:

    //tooltip class:
    const char tooltippropname[] = "propertytooltip";
    const char tooltipclassprop[] = "classtooltip";

    class tooltip
    {
    private:
    HWND hwnd=NULL;
  19. Re: win32: how show ToolTip manually?

    you have right... i'm working on my own ToolTip class... the Regions functions(that function you have seen before on other thread) is affecting if the tooltip is showed or not :(
    now i'm building my...
  20. [RESOLVED] win32: how show ToolTip manually?

    i have these function for activate the ToolTip:

    HWND CreateToolTip(HWND hwndTool, string text)
    {

    /*INITCOMMONCONTROLSEX icc;

    icc.dwSize = sizeof(INITCOMMONCONTROLSEX);
    ...
  21. Replies
    19
    Views
    1,144

    Re: win32 - how can i build a Region?

    when i do the Mouse Hover above the Region control... yes
  22. Replies
    19
    Views
    1,144

    Re: win32 - how can i build a Region?

    1 - if i use that, Region, code(i even have a nice class), the ToolTip isn't showed;

    class region
    {

    private:

    BYTE* Get24BitPixels(HBITMAP pBitmap, WORD *pwWidth, WORD *pwHeight)
    {...
  23. Replies
    19
    Views
    1,144

    Re: win32 - how can i build a Region?

    thanks for all.
    now i have another question: looking the functions on #3, how these 2 functions can affect the ToolTip been showed or not?
    (if i don't use them, the ToolTip is showed, else isn't)
  24. Replies
    19
    Views
    1,144

    Re: win32 - how can i build a Region?

    i don't know another way for avoid flickering :(
    what i know is:

    case WM_ERASEBKGND:
    return TRUE;



    and that 2 styles.
    i read that and more from:...
  25. Replies
    19
    Views
    1,144

    Re: win32 - how can i build a Region?

    what is kill me is the parent styles for avoid the flicker: 'WS_CLIPCHILDREN | WS_CLIPSIBLINGS', because i can't show the child control transparent :(
Results 1 to 25 of 885
Page 1 of 36 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




HTML5 Development Center