Results 1 to 2 of 2

Thread: help help help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    23

    help help help

    i build a simple comutication between a dos program and a vb program. the first to load is the dos program and it calls the vb program. my dos window is on a TOTALY FULL SCREEN SIZE.
    what happenes it that when i move from the dos program to the vb program, it makes the dos window minimized (this is not important) , BUT, when i return from the vb program to the dos program it wont return to the dos's TOTALY FULL SCREEN mode (the one you can make by pressing Alt & Enter on a dos window)

    i tried already:
    ------------------
    ShowWindow hwnd, 3 (API function), but it will return a big dos screen (not totaly full screen)

    then i tried:
    ---------------
    SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, wFlags)
    but it only sets the focus to the minimized tab of the dos window on the toolbar, but not resizing it.

    then i tried:
    ---------------
    AppActivate "DosWindowTitle", but it work exaclty as setWindowPos. - it is only focusing the minimized tab on the toolbar not resizing it.

    oh.... ANYONE????????
    Last edited by Peyote; Jan 22nd, 2002 at 06:41 PM.

  2. #2
    New Member
    Join Date
    Jan 2002
    Location
    Ohio
    Posts
    15
    sorry to reply when i don't know the answer.. but, is there a way u can send keys to a program through api?
    like send it the alt enter? i dunno..

Posting Permissions

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



Click Here to Expand Forum to Full Width