Click here to Skip to main content
15,394,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_GETTEXT and GetWindowText Pin
Stephen Hewitt31-May-06 13:39
MemberStephen Hewitt31-May-06 13:39 
AnswerRe: WM_GETTEXT and GetWindowText [modified] Pin
NiceNaidu30-May-06 20:27
MemberNiceNaidu30-May-06 20:27 
AnswerRe: WM_GETTEXT and GetWindowText [modified] Pin
Hamid_RT30-May-06 20:49
MemberHamid_RT30-May-06 20:49 
GeneralRe: WM_GETTEXT and GetWindowText [modified] Pin
HakunaMatada30-May-06 20:33
MemberHakunaMatada30-May-06 20:33 
GeneralRe: WM_GETTEXT and GetWindowText [modified] Pin
Hamid_RT30-May-06 20:52
MemberHamid_RT30-May-06 20:52 
GeneralRe: WM_GETTEXT and GetWindowText Pin
ThatsAlok30-May-06 23:50
MemberThatsAlok30-May-06 23:50 
QuestionSetWaitableTimer on IA64 Pin
joshiparsu30-May-06 20:10
Memberjoshiparsu30-May-06 20:10 
AnswerRe: SetWaitableTimer on IA64 Pin
NiceNaidu30-May-06 20:18
MemberNiceNaidu30-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
Memberkkkkkkkkkkkkkkkkkkk30-May-06 20:07 
AnswerRe: Set Icon for application Pin
NiceNaidu30-May-06 20:13
MemberNiceNaidu30-May-06 20:13 
AnswerRe: Set Icon for application Pin
Hamid_RT30-May-06 20:16
MemberHamid_RT30-May-06 20:16 
QuestionRegNotifyChangeKeyValue Pin
simonchen.net30-May-06 20:01
Membersimonchen.net30-May-06 20:01 
AnswerRe: RegNotifyChangeKeyValue Pin
Hamid_RT30-May-06 20:19
MemberHamid_RT30-May-06 20:19 
AnswerRe: RegNotifyChangeKeyValue Pin
Hamid_RT30-May-06 20:25
MemberHamid_RT30-May-06 20:25 
GeneralRe: RegNotifyChangeKeyValue Pin
simonchen.net30-May-06 20:53
Membersimonchen.net30-May-06 20:53 
Questiondirectx question Pin
shaderx30-May-06 20:01
Membershaderx30-May-06 20:01 
AnswerRe: directx question [modified] Pin
_anil_30-May-06 20:21
Member_anil_30-May-06 20:21 
AnswerRe: directx question Pin
Sarath C30-May-06 20:45
MemberSarath C30-May-06 20:45 
QuestionCompiler settings from CommandLine Pin
NiceNaidu30-May-06 19:45
MemberNiceNaidu30-May-06 19:45 
Questiondoubt in vc++regarding system queue Pin
Javagal Srinath30-May-06 19:28
MemberJavagal Srinath30-May-06 19:28 
AnswerRe: doubt in vc++regarding system queue Pin
NiceNaidu30-May-06 19:58
MemberNiceNaidu30-May-06 19:58 
GeneralRe: doubt in vc++regarding system queue Pin
NiceNaidu30-May-06 20:09
MemberNiceNaidu30-May-06 20:09 
QuestionFlexGrid Control in DLL Pin
anu_8830-May-06 19:18
Memberanu_8830-May-06 19:18 
QuestionAfxBeginThread- Error Pin
satsumatable30-May-06 18:01
Membersatsumatable30-May-06 18:01 
AnswerRe: AfxBeginThread- Error Pin
_AnsHUMAN_ 30-May-06 18:13
Member_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.