News:

SMF - Just Installed!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Zachariah

#46
Hello everyone, I would like to ask you a little problem to submit because I can not find the answer elsewhere, will upgrade to windows 9 be free? Please answer me fairly quickly.
#47
Hello everyone, I would like to ask you a little help, which browsers support vbscript? Thank you for answering me :)
#48
General Discussion / Can zigbee be hacked?
March 04, 2015, 01:37:05 PM
Hello everyone, I would like to ask you a big problem that runs through my head ... I would like to know can zigbee be hacked? Please kindly give me your opinion as soon as possible, thank you in advance.
#49
General Discussion / Did windows 7 updates stop?
March 05, 2015, 09:16:54 AM
Hello everyone, I would like to ask you a big ethical question. I would like to know did windows 7 updates stop? Please help me, Thank you Please give me your answer as soon as possible.
#50
General Discussion / What chromebooks run android?
March 05, 2015, 07:20:05 AM
Hi everyone, I'd like to ask you for some wise advice, what chromebooks run android? Thank you kindly answer me please it is urgent.
#51
Hi, I'd like to ask you a little problem about medicine, firefox do not search from address bar? It's urgent, Thank you please answer the question quickly.
#52
General Discussion / Fedora how to disable selinux?
March 05, 2015, 02:34:50 AM
Hi everyone, I'd like to ask your opinion, fedora how to disable selinux? Kindly give me your opinion by return message.
#53
Hello, I'd like to ask you a big and important question about this topic, does prestashop work with paypal? I thank you for answering me as soon as possible.
#54
Hello, I'd like to ask you a little bit of a special question, do hackers use facebook quizzes? Thank you kindly answer me please.
#55
Hi everyone, I'd like some advice, mysql error 2002 cannot connect? Thank you very much for giving me your opinion please.
#56
General Discussion / Does mozilla support java?
March 04, 2015, 05:50:30 PM
Hi all, I'd like to ask you a problem that has been in my head for a while, and I can not find an answer, does mozilla support java? Please give me an answer as soon as possible.
#57
General Discussion / What unix stands for?
March 04, 2015, 03:55:20 PM
Hi all, I would like to ask you a problem that has been in my head for a while, and I can not find an answer, what unix stands for? Please answer the question quickly.
#58
General Discussion / Should html tables be used?
March 04, 2015, 01:56:35 PM
Hello everyone, I'd like to ask you a big problem to submit because I can not find the answer elsewhere, should html tables be used? Please answer me fairly quickly.
#59
C++ / Re: The color from under my cursor
April 30, 2017, 09:57:39 AM
Off the top of my head, the straightforward way:

#include <stdio.h>
#include <Windows.h>

int main(void) {
    POINT p;
    COLORREF color;
    HDC hDC;
    BOOL b;

    // Get the device context for the screen
    hDC = GetDC(NULL);
    if (hDC == NULL)
        return 3;

    // Get the current cursor position
    b = GetCursorPos(&p);
    if (!b)
        return 2;

    // Retrieve the color at that position
    color = GetPixel(hDC, p.x, p.y);
    if (color == CLR_INVALID)
        return 1;

    // Release the device context again
    ReleaseDC(GetDesktopWindow(), hDC);

    printf("%i %i %i", GetRValue(color), GetGValue(color), GetBValue(color));
    return 0;
}
ETA: Appears to work, at least for me.

ETA2: Added some error checking

ETA3: Commented code, compiled executable and a Visual Studio Solution can be found in my SVN repository.

#60
Java / Javascript whose?
October 24, 2014, 11:12:51 AM
Hello, I would like to ask you a big question about medicine, javascript whose Thank you please kindly give me your opinion.