Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Support Software > SkinBedder


Reply
 
Share Thread Tools Display Modes
Old 10-20-2008, 09:14 AM   #1
Maximum Bitrate
 
Frankino's Avatar
 
Join Date: Nov 2004
Location: Italy
Posts: 659
Frankino is on a distinguished road
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
Frankino is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 10-21-2008, 03:26 AM   #2
Low Bitrate
 
Join Date: Jun 2005
Location: Crazyburn, Melbourne, Vic, Australia
Posts: 95
Bugger is on a distinguished road
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!!!"

Last edited by Bugger; 10-21-2008 at 03:33 AM.
Bugger is offline   Reply With Quote
Old 10-21-2008, 11:57 AM   #3
Maximum Bitrate
 
Frankino's Avatar
 
Join Date: Nov 2004
Location: Italy
Posts: 659
Frankino is on a distinguished road
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
Frankino is offline   Reply With Quote
Old 10-22-2008, 05:35 AM   #4
Low Bitrate
 
Join Date: Jun 2005
Location: Crazyburn, Melbourne, Vic, Australia
Posts: 95
Bugger is on a distinguished road
Quote:
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.

Quote:
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!!!"

Last edited by Bugger; 10-22-2008 at 05:37 AM.
Bugger is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT -5. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics