A program I made a while ago that changes the start button text for Windows XP.
Getting the program to close is kinda bad so if anyone knows how to link a hotkey to close that'd be nice
Also using more than 5 or 5 (Depending on the character length, and 5 is a general estimate, it all depends on the length of a character. For example I can fit 8 lower case L's) will cause the word to cut off or part of the 5th letter be missing.
Code:(Edited version found in post #3) #include <windows.h> #include <iostream> using namespace std; int startchange(char *message) { HWND StartButton = GetDlgItem(FindWindow("Shell_TrayWnd", NULL), 0x130); SendMessage(StartButton, WM_SETTEXT, NULL, (LPARAM)message); return 1; } int main() { char message [6]; printf("Please type in your message for start button text.\n"); cin >> message; while (1) { startchange(message); } return 0; }EnjoyCode:(Original version) #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <iostream> using namespace std; BOOL startchange(char *message); int main() { char message [6]; printf("Please type in your message for start button text. (Longer than 5 characters won't work well.\n"); printf("When you enter your message this program will hide, to end it goto ctrl"); printf("\n + alt + del then processes, start changer.exe and end it\n"); cin >> message; /* Start stealthyness */ HWND stealth; AllocConsole(); stealth=FindWindowA("ConsoleWindowClass",NULL); ShowWindow(stealth,0); /* End stealthyness */ goto start; start: startchange(message); Sleep(2); /* sleeping 1 caused my computer 'lag' or use up more memory */ goto start; } BOOL startchange(char *message) { /* finds the start button */ HWND StartButton = GetDlgItem(FindWindow("Shell_TrayWnd", NULL), 0x130); /* tell the button to change its text */ SendMessage(StartButton, WM_SETTEXT, NULL, (LPARAM)message); }



Reply With Quote