After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome

2025-12-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134

2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page

2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome

Changing the Connection ID text color and background?

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
ljac
8
8
Posts: 9
Joined: 2010-08-16 04:27

Changing the Connection ID text color and background?

Post by ljac »

On the current release (3.1) is there a way to change the Connection ID text background?

Thanks in advance.

L!ac.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

Re: Changing the Connection ID text color and background?

Post by supercoe »

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

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 )
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
ljac
8
8
Posts: 9
Joined: 2010-08-16 04:27

Re: Changing the Connection ID text color and background?

Post by ljac »

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" )
Last edited by ljac on 2010-10-21 19:19, edited 1 time in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

Re: Changing the Connection ID text color and background?

Post by supercoe »

Sorry about that, I forgot that the color wasn't in those variables.

You'll want to add this line below GUICtrlSetFont....

Code: Select all

GUICtrlSetColor(-1, 0xff0000)   ; Red
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
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
ljac
8
8
Posts: 9
Joined: 2010-08-16 04:27

Re: Changing the Connection ID text color and background?

Post by ljac »

Thanks! works great!
Post Reply