home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Installation, configuration support
Start MediaPortal with hidden Mouse Cursor
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NickKnat" data-source="post: 311223" data-attributes="member: 83014"><p>Because I always had Problems with a visible MouseCursor I made a little program that starts Mediaportal with a mousecursor moved out of visible screen. </p><p></p><p>To make mousecursor visible -> Simple make a mouse movement to screen center.</p><p></p><p>Souce Code of that little Delphi-Program:</p><p></p><p></p><p>procedure TForm7.Button1Click(Sender: TObject);</p><p>var</p><p> StartUpInfo : TStartupInfo;</p><p> ProcessInfo : TProcessInformation;</p><p> Pfadarchiv : string;</p><p> begin</p><p></p><p> PfadArchiv:=IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName));</p><p> PfadArchiv:=PfadArchiv+'MediaPortal.exe';</p><p> Win32Check(Windows.setcursorPos(100,100));</p><p> FillChar(StartUpInfo,sizeof(StartUpInfo),0);</p><p> StartUpInfo.cb:=sizeof(StartUpInfo);</p><p> Screen.cursor:=crHourGlass;</p><p> if CreateProcess(</p><p> nil,</p><p> pchar(PfadArchiv),</p><p> nil,nil,false,NORMAL_PRIORITY_CLASS,nil,</p><p> pchar(ExtractFileDir(PfadArchiv)),</p><p> StartUpInfo,ProcessInfo) then</p><p> begin</p><p>// WaitForSingleObject(ProcessInfo.hProcess,INFINITE);</p><p>// CloseHandle(ProcessInfo.hProcess);</p><p> Screen.Cursor:=crDefault;</p><p> end</p><p> else</p><p> ShowMessage('Fehler beim Starten MediaPortal!');</p><p></p><p> Win32Check(Windows.setcursorPos(4000,4000));</p><p> self.close;</p><p>end;</p><p></p><p>Download exe from: <a href="http://www.medienarchivieren.de/daten/StarteMP_ohneMaus.exe" target="_blank">Start MP without visible Mouse</a></p><p></p><p>EXE was checked with Vista Home Premium / VISTA ULTIMATE</p><p></p><p>Put exe_File in Programs\Team MediaPortal\MediaPortal and start MP with that file</p><p></p><p></p><p>(Use at own risk) -> Have fun</p><p></p><p></p><p>NickKnat</p></blockquote><p></p>
[QUOTE="NickKnat, post: 311223, member: 83014"] Because I always had Problems with a visible MouseCursor I made a little program that starts Mediaportal with a mousecursor moved out of visible screen. To make mousecursor visible -> Simple make a mouse movement to screen center. Souce Code of that little Delphi-Program: procedure TForm7.Button1Click(Sender: TObject); var StartUpInfo : TStartupInfo; ProcessInfo : TProcessInformation; Pfadarchiv : string; begin PfadArchiv:=IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName)); PfadArchiv:=PfadArchiv+'MediaPortal.exe'; Win32Check(Windows.setcursorPos(100,100)); FillChar(StartUpInfo,sizeof(StartUpInfo),0); StartUpInfo.cb:=sizeof(StartUpInfo); Screen.cursor:=crHourGlass; if CreateProcess( nil, pchar(PfadArchiv), nil,nil,false,NORMAL_PRIORITY_CLASS,nil, pchar(ExtractFileDir(PfadArchiv)), StartUpInfo,ProcessInfo) then begin // WaitForSingleObject(ProcessInfo.hProcess,INFINITE); // CloseHandle(ProcessInfo.hProcess); Screen.Cursor:=crDefault; end else ShowMessage('Fehler beim Starten MediaPortal!'); Win32Check(Windows.setcursorPos(4000,4000)); self.close; end; Download exe from: [URL="http://www.medienarchivieren.de/daten/StarteMP_ohneMaus.exe"]Start MP without visible Mouse[/URL] EXE was checked with Vista Home Premium / VISTA ULTIMATE Put exe_File in Programs\Team MediaPortal\MediaPortal and start MP with that file (Use at own risk) -> Have fun NickKnat [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
Start MediaPortal with hidden Mouse Cursor
Contact us
RSS
Top
Bottom