Page 1 of 9 123456789 LastLast
Results 1 to 10 of 89

Thread: minicam container for embedding

  1. #1
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515

    minicam container for embedding

    since there was no real and current solution I ended up writing a autoit container for 4 copies of minicam to allow them to be embedded on the same Riderunner skin screen I hope of others find it useful.

    to use simply add the cam.exe to your minicam folder and either embed it into a skin or simply run.



    http://neondawg.com/~Reg/cam.zip

    I hope everyone enjoys,
    yonu

  2. #2
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,868
    This is a very good idea.

    Is it possible to see your source code to see how you have done that ?

    Thanks ...

  3. #3
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515
    sure when i get in this afternoon I will post it as it is on my home pc

  4. #4
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,868

    Smile

    Quote Originally Posted by yonu View Post
    sure when i get in this afternoon I will post it as it is on my home pc
    Thank you, it's very cool !

  5. #5
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515
    here is the code it is fairly straight forward it will work to embed any program

    Code:
    #include <GUIconstantsEx.au3>
    #include <WindowsConstants.au3>
    #include <WinAPI.au3>
    
    $hGui = GUICreate('cams', 800, 508, 100, 100, BitOR($WS_POPUP, $WS_SIZEBOX, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN))
    GUISetState()
    
    ; Open minicam
    Run("minicam.exe")
    WinWaitActive("CuriousTech - MiniCam 1")
    
    ; Resize MINICAM to fit
    $hminicam = WinGetHandle("CuriousTech - MiniCam 1")
    WinMove($hminicam, "", 0, 0, 400, 254)
    Sleep(0)
    
    ; Open minicam
    Run("minicam.exe")
    WinWaitActive("CuriousTech - MiniCam 2")
    
    ; Resize MINICAM to fit
    $hminicam1 = WinGetHandle("CuriousTech - MiniCam 2")
    WinMove($hminicam1, "", 0, 255, 400, 254)
    Sleep(0)
    
    ; Open minicam
    Run("minicam.exe")
    WinWaitActive("CuriousTech - MiniCam 3")
    
    ; Resize MINICAM to fit
    $hminicam2 = WinGetHandle("CuriousTech - MiniCam 3")
    WinMove($hminicam2, "", 400, 0, 400, 254)
    Sleep(0)
    
    ; Open minicam
    Run("minicam.exe")
    WinWaitActive("CuriousTech - MiniCam 4")
    
    ; Resize MINICAM to fit
    $hminicam3 = WinGetHandle("CuriousTech - MiniCam 4")
    WinMove($hminicam3, "", 400, 255, 400, 254)
    Sleep(0)
    
    ; Set minicam as child of our GUI
    $hOriginalParent = _WinAPI_SetParent($hminicam, $hGUI)
    $hOriginalParent1 = _WinAPI_SetParent($hminicam1, $hGUI)
    $hOriginalParent3 = _WinAPI_SetParent($hminicam2, $hGUI)
    $hOriginalParent4 = _WinAPI_SetParent($hminicam3, $hGUI)
    
    
    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                ;Reset minicam to original parent
                _WinAPI_SetParent($hminicam, $hOriginalParent)
                Sleep(500)
                WinClose($hminicam)
                Exit
        EndSwitch
    WEnd
    Enjoy,
    yonu

  6. #6
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    Looks good.

    I made one small change to MiniCam so you can hit the borderless button and it doesn't reposition. Don't use fullscreen mode though.



    http://www.curioustech.net/minicam.html

  7. #7
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515
    cool thanks and thank you for the not fullscreening warning as I haven't tried fullscreen yeat. just figured it would work

    figures as I had planed on being able to fullscreen lol but hey i can live without it
    yonu

  8. #8
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    Well, download it again. I made it do fullscreen, but there's no overlay buttons and you have to double-tap.

  9. #9
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,868

    Smile

    thanks yonu

  10. #10
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515
    cool thanks Curiosity

Page 1 of 9 123456789 LastLast

Similar Threads

  1. embed minicam
    By yonu in forum Road Runner
    Replies: 5
    Last Post: 01-24-2010, 10:58 AM
  2. open container question
    By Peoples in forum Off Topic
    Replies: 2
    Last Post: 05-26-2005, 04:30 PM
  3. sealed container?
    By dannn in forum Power Supplies
    Replies: 5
    Last Post: 08-22-2004, 08:57 PM

Bookmarks

Posting Permissions

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