Results 1 to 7 of 7
  1. #1
    Oilfan
    Oilfan is offline
    New member
    Join Date
    2012 Jul
    Posts
    4
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Lightbulb [HELP]Running hooked DirectX game in a window

    I used a tutorial on this forum called "DirectX9.0 Hooking via Detours" to make a DirectX hook
    Now i want to know how i can run the game in a windowed mode instead of fullscreen.

  2. #2
    emoisback
    emoisback is offline
    Full member
    Join Date
    2011 Dec
    Location
    Indonesia there i'm
    Posts
    508
    Thanks Thanks Given 
    83
    Thanks Thanks Received 
    244
    Thanked in
    68 Posts
    Rep Power
    13
    for PB games??...
    many software windows mode out there..
    but if you want make it by your self try to use SetWindowPos

    Maybe couse i never make it before..
    Learn from PGC for Share on PGC..


    For another Stuff i have make try to find it [Please, register to view links]
    If i have help you, please thanks and respect ..

  3. #3
    Oilfan
    Oilfan is offline
    New member
    Join Date
    2012 Jul
    Posts
    4
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    But doesnt that just change the window position and not set it windowed?

  4. #4
    emoisback
    emoisback is offline
    Full member
    Join Date
    2011 Dec
    Location
    Indonesia there i'm
    Posts
    508
    Thanks Thanks Given 
    83
    Thanks Thanks Received 
    244
    Thanked in
    68 Posts
    Rep Power
    13
    Quote Originally Posted by Oilfan View Post
    But doesnt that just change the window position and not set it windowed?
    i have search it, and found it...have u try to use this API function ShowWindow()..
    Try read at this
    Learn from PGC for Share on PGC..


    For another Stuff i have make try to find it [Please, register to view links]
    If i have help you, please thanks and respect ..

  5. #5
    Oilfan
    Oilfan is offline
    New member
    Join Date
    2012 Jul
    Posts
    4
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    I tried it but the game window is just invisible and cant play it.

  6. #6
    emoisback
    emoisback is offline
    Full member
    Join Date
    2011 Dec
    Location
    Indonesia there i'm
    Posts
    508
    Thanks Thanks Given 
    83
    Thanks Thanks Received 
    244
    Thanked in
    68 Posts
    Rep Power
    13
    can you put your code here...
    Learn from PGC for Share on PGC..


    For another Stuff i have make try to find it [Please, register to view links]
    If i have help you, please thanks and respect ..

  7. #7
    Oilfan
    Oilfan is offline
    New member
    Join Date
    2012 Jul
    Posts
    4
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    EDIT: Problem is now fixed!
    Last edited by Oilfan; 2012-07-25 at 04:20 PM. Reason: Problem solved

Similar Threads

  1. [C++] Problem with Send packet at hooked recv/send
    By Vitalka in forum C/C++
    Replies: 6
    Last Post: 2012-01-25, 05:56 AM
  2. [C++] Bot with mouseclick in D3D window
    By Desferk in forum C/C++
    Replies: 2
    Last Post: 2011-09-18, 08:39 PM
  3. [Bot] BoI Bot 3.0b - Background botting without focusing on game window!
    By IceWave in forum Battle of the Immortals
    Replies: 9
    Last Post: 2011-09-06, 03:32 PM
  4. [Hack] Crossfire Window Mode
    By Dwar in forum CrossFire Hack
    Replies: 6
    Last Post: 2011-05-08, 05:20 PM
  5. Replies: 13
    Last Post: 2010-12-26, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •