Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_GETTEXT and GetWindowText Pin
Stephen Hewitt31-May-06 13:39
Stephen Hewitt31-May-06 13:39 
AnswerRe: WM_GETTEXT and GetWindowText [modified] Pin
NiceNaidu30-May-06 20:27
NiceNaidu30-May-06 20:27 
AnswerRe: WM_GETTEXT and GetWindowText [modified] Pin
Hamid_RT30-May-06 20:49
Hamid_RT30-May-06 20:49 
GeneralRe: WM_GETTEXT and GetWindowText [modified] Pin
HakunaMatada30-May-06 20:33
HakunaMatada30-May-06 20:33 
GeneralRe: WM_GETTEXT and GetWindowText [modified] Pin
Hamid_RT30-May-06 20:52
Hamid_RT30-May-06 20:52 
GeneralRe: WM_GETTEXT and GetWindowText Pin
ThatsAlok30-May-06 23:50
ThatsAlok30-May-06 23:50 
QuestionSetWaitableTimer on IA64 Pin
joshiparsu30-May-06 20:10
joshiparsu30-May-06 20:10 
AnswerRe: SetWaitableTimer on IA64 Pin
NiceNaidu30-May-06 20:18
NiceNaidu30-May-06 20:18 
Check this Sample from MSDN

#define _WIN32_WINNT 0x0500<br />
<br />
#include <windows.h><br />
#include <stdio.h><br />
<br />
int main()<br />
{<br />
    HANDLE hTimer = NULL;<br />
    LARGE_INTEGER liDueTime;<br />
<br />
    liDueTime.QuadPart=-100000000;<br />
<br />
    // Create a waitable timer.<br />
    hTimer = CreateWaitableTimer(NULL, TRUE, "WaitableTimer");<br />
    if (!hTimer)<br />
    {<br />
        printf("CreateWaitableTimer failed (%d)\n", GetLastError());<br />
        return 1;<br />
    }<br />
<br />
    printf("Waiting for 10 seconds...\n");<br />
<br />
    // Set a timer to wait for 10 seconds.<br />
    if (!SetWaitableTimer(hTimer, &liDueTime, 0, NULL, NULL, 0))<br />
    {<br />
        printf("SetWaitableTimer failed (%d)\n", GetLastError());<br />
        return 2;<br />
    }<br />
<br />
    // Wait for the timer.<br />
<br />
    if (WaitForSingleObject(hTimer, INFINITE) != WAIT_OBJECT_0)<br />
        printf("WaitForSingleObject failed (%d)\n", GetLastError());<br />
    else printf("Timer was signaled.\n");<br />
<br />
    return 0;<br />
}


Appu..
"If you judge people, you have no time to love them."
QuestionSet Icon for application Pin
kkkkkkkkkkkkkkkkkkk30-May-06 20:07
kkkkkkkkkkkkkkkkkkk30-May-06 20:07 
AnswerRe: Set Icon for application Pin
NiceNaidu30-May-06 20:13
NiceNaidu30-May-06 20:13 
AnswerRe: Set Icon for application Pin
Hamid_RT30-May-06 20:16
Hamid_RT30-May-06 20:16 
QuestionRegNotifyChangeKeyValue Pin
simonchen.net30-May-06 20:01
simonchen.net30-May-06 20:01 
AnswerRe: RegNotifyChangeKeyValue Pin
Hamid_RT30-May-06 20:19
Hamid_RT30-May-06 20:19 
AnswerRe: RegNotifyChangeKeyValue Pin
Hamid_RT30-May-06 20:25
Hamid_RT30-May-06 20:25 
GeneralRe: RegNotifyChangeKeyValue Pin
simonchen.net30-May-06 20:53
simonchen.net30-May-06 20:53 
Questiondirectx question Pin
shaderx30-May-06 20:01
shaderx30-May-06 20:01 
AnswerRe: directx question [modified] Pin
_anil_30-May-06 20:21
_anil_30-May-06 20:21 
AnswerRe: directx question Pin
Sarath C30-May-06 20:45
Sarath C30-May-06 20:45 
QuestionCompiler settings from CommandLine Pin
NiceNaidu30-May-06 19:45
NiceNaidu30-May-06 19:45 
Questiondoubt in vc++regarding system queue Pin
Javagal Srinath30-May-06 19:28
Javagal Srinath30-May-06 19:28 
AnswerRe: doubt in vc++regarding system queue Pin
NiceNaidu30-May-06 19:58
NiceNaidu30-May-06 19:58 
GeneralRe: doubt in vc++regarding system queue Pin
NiceNaidu30-May-06 20:09
NiceNaidu30-May-06 20:09 
QuestionFlexGrid Control in DLL Pin
anu_8830-May-06 19:18
anu_8830-May-06 19:18 
QuestionAfxBeginThread- Error Pin
satsumatable30-May-06 18:01
satsumatable30-May-06 18:01 
AnswerRe: AfxBeginThread- Error Pin
_AnsHUMAN_ 30-May-06 18:13
_AnsHUMAN_ 30-May-06 18:13 

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.