Click here to Skip to main content
15,888,401 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to provent text selection in CComboBox ? Pin
mesajflaviu6-Feb-11 20:20
mesajflaviu6-Feb-11 20:20 
QuestionRe: How to provent text selection in CComboBox ? Pin
David Crow7-Feb-11 3:27
David Crow7-Feb-11 3:27 
AnswerRe: How to provent text selection in CComboBox ? Pin
mesajflaviu7-Feb-11 5:06
mesajflaviu7-Feb-11 5:06 
QuestionReading the file that create from "Print to file" option Pin
Max++6-Feb-11 16:09
Max++6-Feb-11 16:09 
AnswerRe: Reading the file that create from "Print to file" option Pin
Andrew Brock6-Feb-11 18:38
Andrew Brock6-Feb-11 18:38 
Questionhello, anyone have an idea of a code in MFC to shut down with time the pc ? in Vs 2008 ? Pin
leech4ever6-Feb-11 13:49
leech4ever6-Feb-11 13:49 
AnswerRe: hello, anyone have an idea of a code in MFC to shut down with time the pc ? in Vs 2008 ? Pin
«_Superman_»6-Feb-11 15:13
professional«_Superman_»6-Feb-11 15:13 
AnswerRe: hello, anyone have an idea of a code in MFC to shut down with time the pc ? in Vs 2008 ? Pin
Andrew Brock6-Feb-11 15:23
Andrew Brock6-Feb-11 15:23 
the function ExitWindowsEx[^] can be used to shut down the computer.

To do it after a specific period you could use something like Sleep(1000); (wait 1 second) or a WM_TIMER event in a GUI application.
To do it at a specific time you need to figure out how long to wait. Use either GetSystemTime[^] or GetSystemTimeAsFileTime[^] to get the current time, then calculate how long you need to wait. After that you can used 1 of the previously mentioned ways of delaying.
QuestionHow to make a book provision for multiple authors Pin
Horace Cheng6-Feb-11 11:49
Horace Cheng6-Feb-11 11:49 
AnswerRe: How to make a book provision for multiple authors Pin
Maximilien6-Feb-11 17:11
Maximilien6-Feb-11 17:11 
AnswerRe: How to make a book provision for multiple authors Pin
Richard MacCutchan6-Feb-11 22:08
mveRichard MacCutchan6-Feb-11 22:08 
QuestionBluetooth socket programming Pin
Pranit Kothari6-Feb-11 7:05
Pranit Kothari6-Feb-11 7:05 
AnswerRe: Bluetooth socket programming Pin
Cool_Dev6-Feb-11 18:12
Cool_Dev6-Feb-11 18:12 
GeneralRe: Bluetooth socket programming Pin
Pranit Kothari6-Feb-11 18:29
Pranit Kothari6-Feb-11 18:29 
AnswerRe: Bluetooth socket programming Pin
Andrew Brock6-Feb-11 18:43
Andrew Brock6-Feb-11 18:43 
RantRe: Bluetooth socket programming Pin
Pranit Kothari6-Feb-11 18:49
Pranit Kothari6-Feb-11 18:49 
AnswerRe: Bluetooth socket programming Pin
8140320-Apr-11 1:40
8140320-Apr-11 1:40 
QuestionHow to block URL Pin
Pranit Kothari6-Feb-11 6:57
Pranit Kothari6-Feb-11 6:57 
AnswerRe: How to block URL Pin
csrss6-Feb-11 8:24
csrss6-Feb-11 8:24 
QuestionRe: How to block URL Pin
Pranit Kothari6-Feb-11 17:13
Pranit Kothari6-Feb-11 17:13 
AnswerRe: How to block URL Pin
David Crow7-Feb-11 3:31
David Crow7-Feb-11 3:31 
AnswerRe: How to block URL Pin
Rolf Kristensen6-Feb-11 9:11
Rolf Kristensen6-Feb-11 9:11 
GeneralRe: How to block URL Pin
Pranit Kothari6-Feb-11 17:15
Pranit Kothari6-Feb-11 17:15 
GeneralRe: How to block URL Pin
Rolf Kristensen6-Feb-11 20:11
Rolf Kristensen6-Feb-11 20:11 
GeneralRe: How to block URL Pin
Emilio Garavaglia6-Feb-11 20:14
Emilio Garavaglia6-Feb-11 20:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.