Announcement

Collapse
No announcement yet.

Garmin MobilePC and skinbedder

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Garmin MobilePC and skinbedder

    hi folks, don't kow if someone still uses skinbedder but I'm trying to embed garmin mobilepc in order to get it working better in centrafuse
    I tried to understand how sb works but I've been unable to launch and enbed even notepad.exe
    could someone give me some basic hints? I really tried a lot and searched the forums
    I even tried with old releases (2.5), years ago I was able to get them working but.. I don't know, it won't work now.. maybe I'm getting old? don't know :P
    I don't need buttons or actions, only one panel with one wintow to embed and keep embedded even when I resize the main (skinbedder) window. Stop. nothing more
    please someone help
    thanks
    Peugeot 206 1.4 HDi

    Intel Mini-ITX Mainboard
    Celeron 1.2ghz
    256mb DDR-2 533
    80gig 3.5" SATA HDD
    Sb Live 5.1 w/ KXProject Drivers
    M2-ATX
    8" Lilliput TS LCD

    100% installed and working :D

  • #2
    Using SB v3p2:
    1.
    edit skinbedder.ini to have this line
    DefaultProgram=Notepad

    2.
    make a folder called "Notepad" in the same folder as sb

    3.
    create file "Notepad.ini" and put these lines in it:

    [MainForm]
    ;This is the Window Title (if a front-end embeds SKINbedder, this is the title it will need)
    Caption=NotepadEmbedded

    ;This is the initail position of the form.
    Top=0
    Left=0

    ;This is the initial "usable" Width & Height of the form.
    ;below sizes are for 800x600 screen resolution
    ClientWidth=800
    ClientHeight=600

    ;This is the background color you will see while loading (RGB Color Format: $GGBBRR).
    BackgroundColor=$000000

    ;You can set this to an image to show durring loading (until the Starup Script has run).
    LoadingImage=



    [Scripts]
    ;This is the startup script that tells SKINbedder what to run, embed, and skin with.
    StartUp=Run(C:\WINDOWS\system32\notepad.exe),Embed (NotepadWindow:5000)

    ;This is the shutdown script that will run before SKINbedder exits.
    ShutDown=

    ;This will happen BEFORE hibernation
    Hibernate=

    ;This will happen after resuming from hibernation
    Resume=

    4.
    make folder called "NotepadWindow" in the folder "Notepad"
    ie: skinbedder -> Notepad -> NotepadWindow

    5.
    make file "NotepadWindow.ini" in NotepadWindow folder and put in following lines:
    [NotepadWindow]
    WindowClass=Notepad
    WindowTitle=

    ;Width and Height are optional (you can just use all 4 borders instead).
    Width=
    Height=

    ;Borders are Optional (if you just set Width/Height it will auto-center).
    ;Any border you set will be ancored.
    ;If no width/Height nor boarders are set it will auto-stretch (as if borders are 0), but not anchor.
    TopBorder=0
    LeftBorder=0
    RightBorder=0
    BottomBorder=0

    ;Nudge values stretch the embedded image
    ;use these values to move the contents of the window to hide menus etc
    NudgeUp=0
    NudgeLeft=0
    NudgeRight=0
    NudgeDown=0

    ;Leave TransparentColorValue blank if not used (will save resources)
    TransparentColorValue=

    ;Leave AlphatBlendValue blank if not used (255=Fully visable, 0=Invisable)
    AlphaBlendValue=

    ;Set Visable to False if you want to hide the entire window
    Visable= True

    5.
    run skinbedder... should work.

    Hope this helps.
    '89 GQ Patrol
    TD42 (go the Diesel!) NEW: Now with DTS Turbo - woot!!!
    "It's times like these you go BUGGER!!!"

    Comment


    • #3
      thanks very muck, can you clarify the use of the nudge values please? also, what's the difference between WindowClass=Notepad and WindowTitle= ?
      Peugeot 206 1.4 HDi

      Intel Mini-ITX Mainboard
      Celeron 1.2ghz
      256mb DDR-2 533
      80gig 3.5" SATA HDD
      Sb Live 5.1 w/ KXProject Drivers
      M2-ATX
      8" Lilliput TS LCD

      100% installed and working :D

      Comment


      • #4
        can you clarify the use of the nudge values please
        A better name for these values would be "Crop"... Basically if you set NudgeUP=50, the top 50 pixels would be cut off the window contents. Have a play with it and you'll see.

        what's the difference between WindowClass=Notepad and WindowTitle= ?
        If you use a window information tool like the one for AutoIT you will see the WindowClass for notepad is actually "Notepad". The window title when you first open notepad is normally "Untitled - Notepad". By using window class to embed the original window you can open different file names and notepad would still embed properly.

        Have a look at the thread Skinbedder V3P2 FAQ. It's got some pretty good info.
        '89 GQ Patrol
        TD42 (go the Diesel!) NEW: Now with DTS Turbo - woot!!!
        "It's times like these you go BUGGER!!!"

        Comment

        Working...
        X