|
Hello, the codegurus around the world.;)
Well, I missed your word - "Please write the code".
You're lucky since I have my time to have some experiment and
I have my own code for the formview project.
However, if I don't have this project, I have to spend my time - maybe a couple of hours
to create the same enviroment project.
Since I am done this test about 20 minutes, it wasn't tough for me.
(However, the first approach did't work, I'm so )
(Or someone may have the better answer.)
My point is that if we have the same project which someone asks us, we can answer
the question or make some test easily. Otherwise, we have to spend a least couple of hours
since we have some responsibilty to our answers.
(Or, the other super-programmers can answer these easily.? )
So, I often told the people at the codegurus or codeproject, show your code or
narrow your question more.
Have a nice day!
-Masaaki Onishi-
|
|
|
|
|
Hi,
Wondering if anyone knows (if its possible) how access the dialog that displays the list of recipients from an Outlook address book. More specifically, its the "Select Names" dialog you get when you click the "To" button on a new message. Can I also select the recipients and put their email addresses in variables?
Thanks in advance,
Matt
|
|
|
|
|
I'm sure you should use Outlook Object Model to get a names from address book. Please refer to MSDN how to get it work.
Best regards,
-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor_soukhov@yahoo.com | ICQ:57404554 | http://siv.da.ru
|
|
|
|
|
Actually, I did refer to MSDN, as well as several other places. The problem was, I just didn't know what to look for. Thanks for the suggestion, Igor.
Regards,
Matt
|
|
|
|
|
Ok, a simple question.
I am using SendMessage to send a WM_NOTIFY message.
LRESULT test = GetParent()->SendMessage(WM_NOTIFY, ... );
If the parent window handles the WM_NOTIFY message the return value is set to whatever. My question is, if the parent window does not handle the message, is the returned value always zero (as my tests seem to indicate) or is it undefined
---
Multitasking: Screwing up several things at once.
|
|
|
|
|
The return value is whatever DefWindowProc() returns. From skimming a few WM_NOTIFY pages, it looks like the default behavior is always indicated by a return of FALSE (0).
--Mike--
http://home.inreach.com/mdunn/
#include "buffy_sig"
|
|
|
|
|
I am unable to set any Hot keys in my SDI MFC application.
Accelerators like alt+_... works fine, but none of the custom added ones.
If anyone met this problem before, please let me know.
Thanks,
Dimitri.
|
|
|
|
|
Hi all.
I want to use WM_CHAR message in Dialog based program in MFC.
But it didn't work !!!
I know i must use PreTranslateMessage, but how ???
Please write example.
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
|
Thanks Igor, and please see my next question in codeguru.
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
I want to write a program that can retrive data from access file, and keep those data to some variable.I had tried on MFC AppWizard but I can only display data from access on text box. Any one have suggestion or source code? please tell me how can I do it.
Thank you very much
Kasuga Kyousuke
|
|
|
|
|
How to create a vertical toolbar?
|
|
|
|
|
In MFC, try:
DockControlBar ( pVertToolBar, AFX_IDW_DOCKBAR_LEFT );
-Ben
"Its funny when you stop doing things not because they’re wrong, but because you might get caught." - Unknown
|
|
|
|
|
If you are able to give me some details about the problem I will try to help you. I am using the lineGetID function with success. Perheps give me a return value, compiler error or so. Please, be careful when using the LPVARSTRING argument. You must allocate enough space using the "new BYTE[ dwEnoughSpace ]".
|
|
|
|
|
I used this function in visual basic. There is no difference in the way the TAPI function is used in Visual Basic.
lineGetID(hLine,0,hCall,LINECALLSELECT_CALL,varString,deviceClass)
where :
1) 'hline' is the handle to the line. This parameter is obtained while opening line (m_hLine parameter of lineOpen function).
2) 'hCall' is the handle to the call. This parameter is obtained by dwparam2 parameter of LINE_APPNEWCALL message.
3) 2000 bytes were allocated to the VARSTRING structure.
4) deviceClass is "wave/out"
The function returned a negative value -2147483576
eagrly waiting for your reply
pareek
|
|
|
|
|
hi friends,
i am facing problem in using lineGetId function (containing in tapi32.dll) of Telephony API. if somebody have its answer please reply me.
have a nice day !!!!!!!!!!!!!!!!!
pareek
|
|
|
|
|
When debug, it is difficult to watch the values of large array of class,
Is there any Add-in that can show Array of classes when debug?
histimes
|
|
|
|
|
When debug, it is dificult to watch the values of large array of class,
Is there any Add-in that can show Array of classes when debug?
histimes
|
|
|
|
|
Hi all.
How can i define callback function ?
Is it same as other function for defining ?
It mean, i must define my function in header file then in cpp file ???
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
A callback function tends to be global, so is defined above the function that calls it in the cpp file.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
For example i want to define callback function for using in the dialog.
So, i must define first in TestDlg.h ????
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
No, that is in fact the opposite of what I said. It will be a global, not part of the class, and therefore at the top of the .cpp file so that it is defined before the function that calls it.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
Ahhh, OK.
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
a call back function is simply a function that just retreives data inside another function so you dont have to just edit the function all the time to sort out of stuff etc.. crap like that
typedef BOOL(WINAPI *tMyCallBack)(LPCSTR lpszStuff);
BOOL ExampleCallBack(LPCSTR lpszStuff)
{
if(!lstrcmp(lpszStuff, "Stuff"))
return TRUE;
return FALSE;
}
VOID TestingCallBack(tMyCallBack *tCb)
{
...code here
//Data is passed through the callback
while(!bDone)
{
bDone=tCb(lpszStuff);
}
}
Um this is a example of a callback really.. it just to get u started if you was asking on how to make a actual callback function etc??
|
|
|
|
|
I just wanted to know how can i disable a button.
Thank you for ur help
(Im a newbie)
|
|
|
|