• Member Avatar for cambalinho
    cambalinho

    Gave Reputation to Aeonix in win7 - how can i disable a program been executed automatic?

    > 'access denied' Are you sure you ran `cmd` as administrator? Do you have physical access to the pendrive? If so, could you move to the computer it is attached …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win7 - how can i disable a program been executed automatic?

    thanks for all
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win7 - how can i disable a program been executed automatic?

    yes. i have 100% sure. the pen it's protected, because it's for network please see the image. 'software e jogos' -> 'software and games' like you see have the selection …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win7 - how can i disable a program been executed automatic?

    the letter is f. i did: echo > autorun.inf 'access denied' the pen is blocked. i belive that i did before, but i don't know where :( that i choosed …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win7 - how can i disable a program been executed automatic?

    i belive that i can't format the pen, because it's my networking pen(net everyhere). how can i edit the autorun.inf file? i tryied that, but without sucess :( seems the …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win7 - how can i disable a program been executed automatic?

    instead a letter can i use a program name or pen 'ID'?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win7 - how can i disable a program been executed automatic?

    i'm sorry, i don't have sure if we are in same page :( when i connect the USB pen(my network) the Kanguru software is automatic executed. i want avoid that, …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32 - about WM_PAINT message

    if i take off the Region code, the ToolTip is showed: BYTE* Get24BitPixels(HBITMAP pBitmap, WORD *pwWidth, WORD *pwHeight) { // a bitmap object just to get bitmap width and height …
  • Member Avatar for cambalinho
    cambalinho

    Created win7 - how can i disable a program been executed automatic?

    i have 1 pen drive, that is my network. how can i disable, these pen(but not all pens) or program been automatic executed? (the windows connect to network automatic, so …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win7 - how can i disable a program been executed automatic?

    i have 1 pen drive, that is my network. how can i disable, these pen(but not all pens) or program been automatic executed? (the windows connect to network automatic, so …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32 - about WM_PAINT message

    from MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/dd145213%28v=vs.85%29.aspx "An application returns zero if it processes this message." see these code on my label control: case WM_PAINT: { PAINTSTRUCT test; BeginPaint(inst->hwnd, &test); image imglabel(inst->imgtest.width(),inst->imgtest.height()); brush brshbackcolor(inst->clrBackColor); …
  • Member Avatar for cambalinho
    cambalinho

    Created win32 - about WM_PAINT message

    from MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/dd145213%28v=vs.85%29.aspx "An application returns zero if it processes this message." see these code on my label control: case WM_PAINT: { PAINTSTRUCT test; BeginPaint(inst->hwnd, &test); image imglabel(inst->imgtest.width(),inst->imgtest.height()); brush brshbackcolor(inst->clrBackColor); …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in windows 7: the help window is always opening :(

    thanks for all. thank you
  • Member Avatar for cambalinho
    cambalinho

    Gave Reputation to rubberman in windows 7: the help window is always opening :(

    It depends upon the system. Usually you need to access the computer manufacturer/vendor's website and support page for such information. In some systems, you can do that by removing the …
  • Member Avatar for cambalinho
    cambalinho

    Marked Solved Status for windows 7: the help window is always opening :(

    i belive that my brother found a virus\spyware. i even formated the laptop and continues there :( my problem is: the help window is allways opening. i have problems using …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in windows 7: the help window is always opening :(

    just the partitions. now, seems, that i fix the problem. maybe was a key locked or damage. i press some keys and now isn't showed. but you are speaking about …
  • Member Avatar for cambalinho
    cambalinho

    Created windows 7: the help window is always opening :(

    i belive that my brother found a virus\spyware. i even formated the laptop and continues there :( my problem is: the help window is allways opening. i have problems using …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching windows 7: the help window is always opening :(

    i belive that my brother found a virus\spyware. i even formated the laptop and continues there :( my problem is: the help window is allways opening. i have problems using …
  • Member Avatar for cambalinho
    cambalinho

    Created win32 - the CreatePolygonRgn() is more faster than CreateRectRgn()?

    my Region bitmap way uses the CreateRectRgn() and CombineRgn() functions. my question is: is more faster use the CreatePolygonRgn() with POINT array object?
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32 - the CreatePolygonRgn() is more faster than CreateRectRgn()?

    my Region bitmap way uses the CreateRectRgn() and CombineRgn() functions. my question is: is more faster use the CreatePolygonRgn() with POINT array object?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32: how copy the parent background?

    yes.. or i receive the child control or a black rectangle(depending if the child control is visible or not)
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32: how copy the parent background?

    sorry.. in both i mean HDC.
  • Member Avatar for cambalinho
    cambalinho

    Created win32: how copy the parent background?

    how can i copy the parent background(DC) control to child control DC?
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32: how copy the parent background?

    how can i copy the parent background(DC) control to child control DC?
  • Member Avatar for cambalinho
    cambalinho

    Created win32 - why WS_CLIPCHILDREN style don't let the child control been clear?

    why WS_CLIPCHILDREN style don't let the child control been clear? the WS_CLIPCHILDREN style avoid the flickers. but don't let clear the control :( why i can't clear the control(before WM_PAINT …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32 - why WS_CLIPCHILDREN style don't let the child control been clear?

    why WS_CLIPCHILDREN style don't let the child control been clear? the WS_CLIPCHILDREN style avoid the flickers. but don't let clear the control :( why i can't clear the control(before WM_PAINT …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32 - how can i detect if the Joystick is connected to pc?

    finally works ;) case 0x00FE: { if(wParam==1) { SetWindowText(inst->hwnd,"enter device"); } else if(wParam==2) { SetWindowText(inst->hwnd,"exit device"); } return 0; } break; case WM_CREATE: { if(WindowMain == NULL || WindowMain ==GetDesktopWindow()) …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32 - how can i detect if the Joystick is connected to pc?

    for use the WM_INPUT_DEVICE_CHANGE message, i must use the RegisterRawInputDevices() : https://msdn.microsoft.com/en-us/library/windows/desktop/ms645591%28v=vs.85%29.aspx see the 'Community Additions'. so i did: case WM_CREATE: { if(WindowMain == NULL || WindowMain ==GetDesktopWindow()) WindowMain = …
  • Member Avatar for cambalinho
    cambalinho

    Created win32 - how can i detect if the Joystick is connected to pc?

    i have notice that using the joyGetPosEx() function, when the joystick isn't connected, that the memory, that the application uses, is increasing. so is there another way just for see …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32 - how can i detect if the Joystick is connected to pc?

    i have notice that using the joyGetPosEx() function, when the joystick isn't connected, that the memory, that the application uses, is increasing. so is there another way just for see …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32 - GDI: how avoid memory leaks?

    heres the entire class: class image { private: ULONG_PTR m_gdiplusToken; Gdiplus::GdiplusStartupInput gdiplusStartupInput; HDC hdcimage=CreateCompatibleDC(NULL); HGDIOBJ obj=NULL; HBITMAP btBitmap=NULL; Image *img; bool isimgused=false; bool isGDIPLUSIniciated=false; int imageheight=0; int imageweight=0; int framecount=0; …
  • Member Avatar for cambalinho
    cambalinho

    Edited win32 - GDI: how avoid memory leaks?

    how avoid memory leaks? from here: http://www.winprog.org/tutorial/bitmaps.html i learned: GetDC() - ReleaseDC() BeginPaint() - EndPaint() CreateCompatibleDC() - DeleteDC() i must get the old selected object. select it when isn't needed …
  • Member Avatar for cambalinho
    cambalinho

    Created win32 - GDI: how avoid memory leaks?

    how avoid memory leaks? from here: http://www.winprog.org/tutorial/bitmaps.html i learned: GetDC() - ReleaseDC() BeginPaint() - EndPaint() CreateCompatibleDC() - DeleteDC() i must get the old selected object. select it when isn't needed …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32 - GDI: how avoid memory leaks?

    how avoid memory leaks? from here: http://www.winprog.org/tutorial/bitmaps.html i learned: GetDC() - ReleaseDC() BeginPaint() - EndPaint() CreateCompatibleDC() - DeleteDC() i must get the old selected object. select it when isn't needed …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in win32 - how send a message with WM_DRAWITEM message?

    i did another test. if i comment all message, the error never happens. so i'm doing some error on sending the WM_DRAWITEM message. is there another way for send it?
  • Member Avatar for cambalinho
    cambalinho

    Created win32 - how send a message with WM_DRAWITEM message?

    how send a message with WM_DRAWITEM message? heres my actual code on parent window: case WM_DRAWITEM: { DRAWITEMSTRUCT *test=(DRAWITEMSTRUCT*) lParam; /*if(test->CtlType==ODT_MENU) { MENUITEMINFO menuInfo; menuInfo.cbSize = sizeof(MENUITEMINFO); menuInfo.fMask=MIIM_DATA; if(GetMenuItemInfo((HMENU)test->hwndItem,(UINT) test->itemID, …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching win32 - how send a message with WM_DRAWITEM message?

    how send a message with WM_DRAWITEM message? heres my actual code on parent window: case WM_DRAWITEM: { DRAWITEMSTRUCT *test=(DRAWITEMSTRUCT*) lParam; /*if(test->CtlType==ODT_MENU) { MENUITEMINFO menuInfo; menuInfo.cbSize = sizeof(MENUITEMINFO); menuInfo.fMask=MIIM_DATA; if(GetMenuItemInfo((HMENU)test->hwndItem,(UINT) test->itemID, …
  • Member Avatar for cambalinho
    cambalinho

    Gave Reputation to triumphost in GDIPLUS: how change the backcolor if the color is from the image?

    **FloodFill** is the algorithm you are looking for. The idea is simple. As long as there is a border around the iris of the eye, you can floodfill the background …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GDIPLUS: how change the backcolor if the color is from the image?

    i belive that i understand what you mean. now i must understand how use DIB's. isn't easy :( can i do mask using the BitBlt()?(with same image)
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how use my class on function parameter?

    i have another error that i don't understand: 1 - the timers works perfetly and show the animations; 2 - after sometime, or the timers stop or o lose the …
  • Member Avatar for cambalinho
    cambalinho

    Edited GDIPLUS: how change the backcolor if the color is from the image?

    think in these way: the eyes have the blue color, the backcolor is blue. so how can i change the backcolor without change the image\eye? (these is just an exemple …
  • Member Avatar for cambalinho
    cambalinho

    Edited GDIPLUS: how change the backcolor if the color is from the image?

    think in these way: the eyes have the blue color, the backcolor is blue. so how can i change the backcolor without change the image\eye? (these is just an exemple …
  • Member Avatar for cambalinho
    cambalinho

    Created GDIPLUS: how change the backcolor if the color is from the image?

    think in these way: the eyes have the blue color, the backcolor is blue. so how can i change the backcolor without change the image\eye? (these is just an exemple …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching GDIPLUS: how change the backcolor if the color is from the image?

    think in these way: the eyes have the blue color, the backcolor is blue. so how can i change the backcolor without change the image\eye? (these is just an exemple …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in some advertisement are showed above the window code :(

    thanks for all... seems ok now ;)
  • Member Avatar for cambalinho
    cambalinho

    Gave Reputation to Dani in some advertisement are showed above the window code :(

    OK, should be fixed. Thanks for bringing it to my attention.
  • Member Avatar for cambalinho
    cambalinho

    Gave Reputation to Dani in some advertisement are showed above the window code :(

    Thanks! This should be taken care of.
  • Member Avatar for cambalinho
    cambalinho

    Gave Reputation to triumphost in how use my class on function parameter?

    Dang.. that is a lot of code with a lot of design flaws. Here's what's wrong after a very quick glance: //You have the following constructor: image() { if (isimgused==true) …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how use my class on function parameter?

    triumphost: why i did: image (const image &cSource) { if(isGDIPLUSIniciated==false) { Gdiplus::GdiplusStartup(&m_gdiplusToken, &gdiplusStartupInput, NULL); isGDIPLUSIniciated=true; } readimagefile(cSource.strfilename); BitBlt(hdcimage,0,0,imageweight,imageheight,cSource.hdcimage,0,0,SRCCOPY); } image& operator= (const image &cSource) { if(isGDIPLUSIniciated==false) { Gdiplus::GdiplusStartup(&m_gdiplusToken, &gdiplusStartupInput, NULL); …

The End.