Results 1 to 5 of 5
  1. #1
    winberg's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    70
    Reputation
    14
    Thanks
    14
    My Mood
    Stressed

    Help: Stick window to another window

    Hello, i need some help. I have made an dll with some hacks and stuff, and i have made this dos window that opens when the dll is injected. The dos window opens fine but when i click on the game it minimizes. So my question is can i stick the dos window on top of the game bit still be able to move it.

    Im sorry for my bad english, and thank you

    Here is how it looks at the moment.

    [IMG]https://i1122.photobucke*****m/albums/l533/Hejsan39/Mpghnethelp.png[/IMG]
    Last edited by winberg; 04-18-2011 at 09:20 AM.

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Stick it....? lol wut. That'd just be too much trouble. You'd probably be best off injecting into the the game or drawing a DX layer on top of the screen.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. #3
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Set it to top most? (if that works)

  4. #4
    winberg's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    70
    Reputation
    14
    Thanks
    14
    My Mood
    Stressed
    Quote Originally Posted by freedompeace View Post
    Set it to top most? (if that works)
    It worked, this was all needed


    int hConHandle;
    long lStdHandle;
    FILE *fp;
    AllocConsole();//Bring up a console window



    //output
    lStdHandle = (long)GetStdHandle(STD_OUTPUT_HANDLE);
    hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
    fp = _fdopen(hConHandle, "w");
    *stdout = *fp;
    setvbuf( stdout, NULL, _IONBF, 0);
    //input
    lStdHandle = (long)GetStdHandle(STD_INPUT_HANDLE);
    hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
    fp = _fdopen(hConHandle, "w");
    *stdin = *fp;
    setvbuf( stdin, NULL, _IONBF, 0);
    ios::sync_with_stdio();

    HWND hwnd = GetConsoleWindow();

    for(;;Sleep(10))
    {

    SetWindowPos(hwnd,0,0,0,0,SWP_NOMOVE, TRUE);
    }

    Why dosent code button work?
    Last edited by winberg; 04-19-2011 at 01:33 AM.

  5. #5
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Remember to add sleep (at least 1 ms) otherwise you might kill the CPU's usage.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  6. The Following User Says Thank You to master131 For This Useful Post:

    winberg (04-19-2011)