| Mirage Source http://web.miragesource.net/forums/ |
|
| Game Name In tray http://web.miragesource.net/forums/viewtopic.php?f=201&t=3873 |
Page 1 of 1 |
| Author: | jefery [ Sat Jun 21, 2008 10:11 pm ] |
| Post subject: | Game Name In tray |
Hi all! First Post XD Well i've just had mirage working and i have started put my game info in it. But when i change the game name the server icon down in the system tray keep saying "Mirage Source" .How can i change that to put my game name? Couldn't find it in server source. Give me some help Thanks |
|
| Author: | Robin [ Sat Jun 21, 2008 10:32 pm ] |
| Post subject: | Re: Game Name In tray |
Ctrl+F in VB6, do a search for 'Mirage' then replace all the 'Mirage Source' you see with your game name. |
|
| Author: | James [ Sun Jun 22, 2008 8:37 am ] |
| Post subject: | Re: Game Name In tray |
Code: Sub InitTray(ByVal Name As String) nid.cbSize = Len(nid) nid.hWnd = frmServer.hWnd nid.uId = vbNull nid.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE nid.uCallBackMessage = WM_MOUSEMOVE nid.hIcon = frmServer.Icon nid.szTip = GAME_NAME & " Server" & vbNullChar 'RIGHT HERE IS WHERE YOUR NAME IS ' Add to the sys tray Call Shell_NotifyIcon(NIM_ADD, nid) End Sub In case you couldn't find it. |
|
| Author: | Robin [ Sun Jun 22, 2008 1:51 pm ] |
| Post subject: | Re: Game Name In tray |
Oh, in that case do a search for 'GAME_NAME' and change it to your game's name. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|