Click here to Skip to main content
15,915,658 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: This not work. Pin
Yanshof9-Sep-06 7:29
Yanshof9-Sep-06 7:29 
QuestionRe: This not work. Pin
Hamid_RT10-Sep-06 2:09
Hamid_RT10-Sep-06 2:09 
AnswerRe: How to create modeless CDialog ? Pin
CWiC9-Sep-06 8:05
CWiC9-Sep-06 8:05 
GeneralRe: How to create modeless CDialog ? Pin
Yanshof9-Sep-06 8:23
Yanshof9-Sep-06 8:23 
AnswerRe: How to create modeless CDialog ? Pin
mostafa_pasha9-Sep-06 12:05
mostafa_pasha9-Sep-06 12:05 
AnswerRe: How to create modeless CDialog ? Pin
mostafa_pasha9-Sep-06 12:06
mostafa_pasha9-Sep-06 12:06 
AnswerRe: How to create modeless CDialog ? Pin
Michael Dunn9-Sep-06 17:21
sitebuilderMichael Dunn9-Sep-06 17:21 
QuestionGet Object id from PhoneGetCallLogEntry Pin
bodaay9-Sep-06 6:11
bodaay9-Sep-06 6:11 
HANDLE h;
CEOID oidCallLog = (CEOID) pItemArray->rgRefs[0].pRef;
hr =PhoneOpenCallLog(&h);
CHR(hr);
CEOID re;
hr=PhoneSeekCallLog(h,CALLLOGSEEK_END,0,&re); //finding the ref of last record
CHR(hr);
DWORD i,pp;
CALLLOGENTRY pCall[150]; //limited to 150 entries
for (i=0;i<re;i++){
hr=PhoneSeekCallLog(h, CALLLOGSEEK_BEGINNING,i,&pp);
CHR(hr);
pCall[i].cbSize=sizeof(CALLLOGENTRY);
hr=PhoneGetCallLogEntry(h,&pCall[i]);
CHR(hr);
}
//testing now
__int32 temp;
oidCallLog=(CEOID)pCall[0]; //here i'm testing
temp=oidCallLog;
wchar_t buffer[64];
_itow(temp,buffer,10);
::MessageBox(GetActiveWindow(),buffer,TEXT("test"),MB_OK);

////////////// The result is really different when i check the value of oidCallLog ?????????????!!?!?!?!

-----------------------------------------------------------------

hi all,

i'm trying to add a new menu extension for call history.

i used everything based on Inbox menu extension sample in WM2005 sdk

evertything works great,except i dont know how to relate the Object id (oidCallLog) which i'm getting from the context menu,with the actualy call log entry.

i mean,pCall[i] has the call log. how to extract an object id from it which would be really same as the one i'm getting from pItemArray, so i know exactly this is the call log i'm selecting with context menu.



i hope i made it clear enough Frown | :(



Thankx alot in advance
Sleepy | :zzz:
QuestionProblem with calcutation. Pin
EzraYap9-Sep-06 5:59
EzraYap9-Sep-06 5:59 
AnswerRe: Problem with calcutation. Pin
bodaay9-Sep-06 6:15
bodaay9-Sep-06 6:15 
GeneralRe: Problem with calcutation. Pin
EzraYap9-Sep-06 6:21
EzraYap9-Sep-06 6:21 
GeneralRe: Problem with calcutation. Pin
Rick York9-Sep-06 10:21
mveRick York9-Sep-06 10:21 
GeneralRe: Problem with calcutation. Pin
EzraYap10-Sep-06 2:31
EzraYap10-Sep-06 2:31 
Questionvirtual methods in base classes Pin
jon-809-Sep-06 5:34
professionaljon-809-Sep-06 5:34 
AnswerRe: virtual methods in base classes Pin
Jun Du9-Sep-06 6:27
Jun Du9-Sep-06 6:27 
AnswerRe: virtual methods in base classes Pin
mostafa_pasha9-Sep-06 12:20
mostafa_pasha9-Sep-06 12:20 
GeneralRe: virtual methods in base classes Pin
Michael Dunn9-Sep-06 17:26
sitebuilderMichael Dunn9-Sep-06 17:26 
AnswerRe: virtual methods in base classes Pin
Michael Dunn9-Sep-06 17:25
sitebuilderMichael Dunn9-Sep-06 17:25 
GeneralRe: virtual methods in base classes Pin
prasad_som10-Sep-06 23:25
prasad_som10-Sep-06 23:25 
QuestionA single dialog box to show all the data from the device using serial port RS-232 Pin
Veeresh Hiremath9-Sep-06 5:21
Veeresh Hiremath9-Sep-06 5:21 
QuestionCan't Open File Pin
Max++9-Sep-06 3:49
Max++9-Sep-06 3:49 
AnswerRe: Can't Open File Pin
Chris Losinger9-Sep-06 4:04
professionalChris Losinger9-Sep-06 4:04 
AnswerRe: Can't Open File Pin
Hamid_RT9-Sep-06 4:50
Hamid_RT9-Sep-06 4:50 
Questionhow to retrieve color of sliders ticks Pin
CWiC9-Sep-06 2:18
CWiC9-Sep-06 2:18 
GeneralRe: how to retrieve color of sliders ticks Pin
prasad_som9-Sep-06 21:07
prasad_som9-Sep-06 21:07 

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.