On the current release (3.1) is there a way to change the Connection ID text background?
Thanks in advance.
L!ac.
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Changing the Connection ID text color and background?
Re: Changing the Connection ID text color and background?
Lines 41-47 of the file SRC\InstantSupport.au3 customize the GUI.
I recommend using the AutoIt Script Editor editor (SciTE) from the AutoIT package: http://www.autoitscript.com/autoit3/downloads.shtml
I recommend using the AutoIt Script Editor editor (SciTE) from the AutoIT package: http://www.autoitscript.com/autoit3/downloads.shtml
Code: Select all
; Create the GUI.
$InstantSupport = GUICreate( "Instant Support", 450, 200, -1, -1, BitOR( $WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER,$WS_CLIPSIBLINGS,$WS_MINIMIZEBOX ) )
GUISetBkColor( 0xFFFFFF )
$Label2 = GUICtrlCreateLabel( $RandomNumber, 0, 100, 450, 100, $SS_CENTER )
GUICtrlSetFont( -1, 50, 800, 0, "Arial Black" )
$Pic1 = GUICtrlCreatePic( $TempPath & "\logo.jpg", 0, 0, 450, 90, BitOR( $SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS ) )
GUISetState( @SW_SHOW )
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Re: Changing the Connection ID text color and background?
Thanks Supercoe! I can see where to change the background color but not the Font color.
I'm guessing is somewhere around line 45:
GUICtrlSetFont( -1, 50, 800, 0, "Arial Black" )
I'm guessing is somewhere around line 45:
GUICtrlSetFont( -1, 50, 800, 0, "Arial Black" )
Last edited by ljac on 2010-10-21 19:19, edited 1 time in total.
Re: Changing the Connection ID text color and background?
Sorry about that, I forgot that the color wasn't in those variables.
You'll want to add this line below GUICtrlSetFont....
Change the color based on the second variable (hex value).
Here is the first hex based color wheel I found on google: http://www.allprofitallfree.com/color-wheel2.html
You'll want to add this line below GUICtrlSetFont....
Code: Select all
GUICtrlSetColor(-1, 0xff0000) ; Red
Here is the first hex based color wheel I found on google: http://www.allprofitallfree.com/color-wheel2.html
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Re: Changing the Connection ID text color and background?
Thanks! works great!