Skip to main content
GameDev.net gamedev.net
🔒 Locked

sending messages using dialogs

Started by CodeWeasil Mar 16, 2005 at 12:39 AM 0 replies 650+ views
Original Post
CodeWeasil
CodeWeasil
Im making an application sort of like cpu-z which would give the user information about his/her computer. I have the commands setup that gets the users processor information. Now, what i need to do is input a message unique to the users CPU. So, if he had an intel p4 2.4ghz it would display that. i need to use it sort of like in console programming where you would do cout<<GetSpeedMhz()<<" "<<endl; but, this is of course more advanced since its win32. oh yeah, the command can use any means of submitting the message on the dialog but i dont want to use a messagebox. thanks.
Endurion
Endurion
Assuming you already created a dialog resource:

You need to have a static (or edit if you want), give it an unique ID and when the dialog is created, use SetDlgItemText.
Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.