Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Location
    Edmonton, AB
    Posts
    37

    Positioning and closing boxes & OSK's

    Hello!

    I am still struggling with a few aspects of this project; figured out the on screen keyboard though, opening it at least

    1) How can I position the Page.Search dialog box so it comes up at a specific spot everytime, not overlapping the OSK?

    2) When the user navigates away from the Search page, either by going to the search result, or back to the main page I would like the OSK.exe and the Page.Search dialog box to close so they are not on top of the new page.

    3) I guess I lack some basic experience with some coding, I know it is related to the window handles but I don't know how to retrieve the results (or where they are stored) when I enumerate the processes.

    Might be in over my head, would appreciate any help offerred. Project attached.

    Thank You!
    Lou
    Attached Files

  2. #2
    Join Date
    Jul 2002
    Location
    Just South of Reality
    Posts
    778
    Hopefully this can get you started in the right direction.
    The code below will show you how to find all open processes and display them in a dialog message.
    Refer to the help file under Window.EnumerateProcesses() and it will assist in finding and closing the open window you want to close.
    Put the code below on a button for testing...

    Code:
    windows = Window.EnumerateProcesses();
    
    for handle, program in windows do
    	Dialog.Message("handle & program", "Handle: "..handle.."\r\nProgram:"..program)
    end

Posting Permissions

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